Usage
Command | Rendering |
---|---|
\cEUR{} | € |
\cUSD{} | $ |
\cJPY{} | ¥ |
\cGBP{} | £ |
\dEUR{1.5} | 1.50 € |
\dUSD{1.5} | $ 1.50 |
\dJPY{1.5} | 2 ¥ |
\dGBP{1.5} | £ 1.50 |
Setup
Dependency
The currency package provide a convenient, standardized way to print monetary units and values. It ensures consistency and global style changes.
Use package in the preamble
Define currencies
Define currencies in the preamble
Format monetary quantities
Format money using key-value pairs in the preamble
- First option is the default value.
- Supports all siunitx key-value pairs.
Inherit decimal marker from siunitx’s configuration
Sources:
Related:
LaTeX Symbols - Lookup mathematical symbols, operations, relations, and arrows
Tags:
Values - Standardize math, numbers, symbols, quantities, money