Directory macros/latex/contrib/cooking-units
cooking-units
Overview
While writing a cookery book, units and their format can be quite troublesome. This contains not only the question of how to print those units, but also the question of the conversion of units. A cookery book doesn't contain only SI units, it contains a much more colorful range of units (kg, dag, g, oz, ... for example) and it may cause some confusion if too many different units are used, but if you just write a cookery book for fun you don't think about this ... until someone (my mother in my case) tells you that it's too confusing.
This package solves both problems: It formats your input and you have the option to convert the units globally or locally using an easy to use key-value system.
Please note that this package is not intended to be used to print units (and numbers) physically correct. It should be used for more light-hearted stuff (like a cookery book for example).
Requirements
- expl3 & xparse
- translations
- xfrac
- l3keys2e
- fmtcount (optional)
This file contains
- README
- cooking-units.pdf
- cooking-units.dtx
- cooking-units.ins
Changes
See section 'Change History' in the documentation.
Supported Languages
- German
- English
- French
License
This material is subject to the LaTeX Project Public License 1.3c or later. See
https://www.latex-project.org/lppl/
for the details of that license.
Download the contents of this package in one zip archive (790.4k).
cooking-units – Typeset and convert units for cookery books and recipes
The package provides commands to typeset amounts and units consistently and offers an easy-to-use key-value syntax to convert one unit into another (for example ‘dag’ to ‘g’; see the documentation for more examples).
This packages requires expl3 and xparse, translations, xfrac, l3keys2e, and, optionally, fmtcount.
Package | cooking-units |
Repository | https://github.com/Vidabe/cooking-units |
Version | 3.00 2022-12-10 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2016–2022 Ben Vitecek |
Maintainer | Ben Vitecek |
Contained in | TeX Live as cooking-units MiKTeX as cooking-units |
Topics | Experimental LaTeX3 Cooking Units |