Directory macros/latex/contrib/decimalcomma
The decimalcomma package
Presentation
Many countries use a comma instead of a period as the decimal separator. This small package offers a new definition of the comma ,
as an active character. It ensures the correct spacing in mathematical mode when using the comma either as decimal separator or as list separator.
What's the difference compared to the well-known icomma or ncccomma packages? With decimalcomma, the comma behaves similarly to ncccomma, but the code is lighter, and several compatibility issues have been fixed.
Installation
- run LaTeX on decimalcomma.ins, you obtain the file decimalcomma.sty,
- if then you run pdfLaTeX on decimalcomma.dtx you get the file decimalcomma.pdf which is also in the archive,
- put the files decimalcomma.sty and decimalcomma.pdf in your TeX Directory Structure.
Author
Antoine Missier
Email: antoine.missier@ac-toulouse.fr
License
Released under the LaTeX Project Public License v1.3 or later. See http://www.latex-project.org/lppl.txt
Download the contents of this package in one zip archive (87.9k).
decimalcomma – Comma for decimal numbers
This small package offers a new definition of the comma ‘,’ as an active character. It ensures the correct spacing in mathematical mode when using the comma either as a decimal separator or as a list separator.
With this package, the comma behaves similarly to ncccomma, but the code is lighter, and several compatibility issues have been fixed.
Package | decimalcomma |
Version | 1.4 2023-12-30 |
Licenses | The LaTeX Project Public License 1.3 |
Copyright | 2023 Antoine Missier |
Maintainer | Antoine Missier |
Contained in | TeX Live as decimalcomma MiKTeX as decimalcomma |
Topics | Maths Typesetting Numbers |