CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/currency


currency — Formatting currencies


currency is a package that facilitates the formatting of currencies (amounts and units). It is based on the siunitx package for printing numbers.

For instance, this code in the preamble defines a EUR monetary unit


that will be used later by

\dEUR{123} or \dEUR[kind=plural]{123}

to print 123 EUR or 123 euros. There are many ways to change to output (the symbol could be put in front of the amount as required by some typographical conventions, ...).

See the documentation for examples and installation instructions.


This work may be distributed and/or modified under the conditions of the Project Public License (LPPL), version 1.3 or later.

Please use the project's GitHub site at https://github.com/antoinelejay/currency for suggestions, feature requests, and bug reports.


pdflatex currency.ins
pdflatex currency.dtx
makeindex -s gind.ist currency.idx
makeindex -s gglo.ist -o currency.gls currency.glo
pdflatex currency.dtx

pdflatex currency_doc.tex
biber currency_doc
pdflatex currency_doc.tex


This package is available on github and on CTAN

Download the contents of this package in one zip archive (694.4k).

currency – Format currencies in a consistent way

The package facilitates the formatting of currencies (amounts and units) with various formatting capabilities.

Bug trackerhttps://github.com/antoinelejay/currency/issues
Version0.4 2018-10-22
LicensesThe Project Public License 1.3
Copyright2018 Antoine Lejay
MaintainerAntoine Lejay
Contained inTeX Live as currency
MiKTeX as currency
TopicsScientific docs
See alsosiunitx
Guest Book Sitemap Contact Contact Author