Comprehensive TeX Archive Network

ionumbers – Restyle numbers in maths mode

ion­um­bers’ stands for ‘in­put/out­put num­bers’.

The pack­age restyles num­bers in maths mode. If a num­ber in the in­put file is writ­ten, e.g., as $3,231.44$ as com­monly used in English texts, the pack­age is able to restyle it to be out­put as $3\,231{,}44$ as com­monly used in Ger­man texts (and vice versa). This may be use­ful, for ex­am­ple, if you have a large ta­ble and want to in­clude it in texts with dif­fer­ent out­put con­ven­tions with­out the need to change the ta­ble.

The pack­age can also au­to­mat­i­cally group dig­its left of the dec­i­mal sep­a­ra­tor (thou­sands) and right of the dec­i­mal sep­a­ra­tor (thou­sandths) in triplets with­out the need of specif­ing com­mas (English) or points (Ger­man) as sep­a­ra­tors. E.g., the in­put $1234.567890$ can be out­put as $1\,234.\,567\,890$.

Fi­nally, an e starts the ex­po­nent of the num­ber. For ex­am­ple, $21e6$ may be out­put as $26\times10\,^{6}$.

Sources /macros/latex/contrib/ionumbers
Ver­sion 0.3.3 2014-04-06
Li­cense GNU Gen­eral Public Li­cense
Copy­right 2007–2009,2011,2012,2014 Chris­tian Sch­nei­der
Main­tainer Chris­tian Sch­nei­der
Con­tained in TeX Live as ion­um­bers
MiKTeX as ion­um­bers
Topics for­mat­ting num­bers, etc

Down­load the con­tents of this pack­age in one zip archive (485.5k).

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author