CTAN update: ionumbers
This release is a bugfix release. Robert N\"{u}rnberg reported two problems in ionumbers v0.2.1-alpha: 1. compilation of code like $a^0$ or $\sqrt 2$ will fail, if the digit (or sign/point/comma) is not grouped in curly braces 2. the \operatorname macro of amsmath/amsopn leads to an error in combination with ionumbers In the current release (v0.2.3-alpha) the following fixes are included: 1. by adding a special handling of the first character of a number an ungrouped single digit or sign will no longer lead to a failure (similar to the ziffer.sty package, point and comma will still lead to a failure in these (rare) cases from the examples above; this is documented) 2. a warning message is added for the case that amsmath/amsopn is loaded; as a workaround the ionumbers package should be loaded as last package (as already suggested) and the \operatorname macro should be used in \ionumbersoff (this is documented); this problem is a result of amsopn's strategy of saving the standard mathcode of "-" and can hardly be fixed in ionumbers (amsopn together with ziffer.sty leads to the same error) 3. the ionumbers_test file contains a lot of different input with the output and expected output of ionumbers for different package options; this makes it easier to test ionumbers especially after changes Thanks a lot to Robert for his bug reports!
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/ionumbers . More information is at http://tug.ctan.org/pkg/ionumbers (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
ionumbers – Restyle numbers in maths mode
‘ionumbers’ stands for ‘input/output numbers’.
The package restyles numbers in maths mode. If a number in the input file is written, e.g., as $3,231.44$ as commonly used in English texts, the package is able to restyle it to be output as $3\,231{,}44$ as commonly used in German texts (and vice versa). This may be useful, for example, if you have a large table and want to include it in texts with different output conventions without the need to change the table.
The package can also automatically group digits left of the decimal separator (thousands) and right of the decimal separator (thousandths) in triplets without the need of specifing commas (English) or points (German) as separators. E.g., the input $1234.567890$ can be output as $1\,234.\,567\,890$.
Finally, an e starts the exponent of the number. For example, $21e6$ may be output as $26\times10\,^{6}$.
Package | ionumbers |
Version | 0.3.3 2014-04-06 |
Copyright | 2007–2009, 2011, 2012, 2014 Christian Schneider |
Maintainer | Christian Schneider |