Search code examples
latexxelatex

Changing currency in Latex that's not Dollar, Pound or Euro


How do I change a currency in a Latex template? Something that's text based, like South African Rand (symbol > 'R'). Latex doesn't recognize ZAR etc.

FYI: I'm currently using an invoice template.


Solution

  • Within invoices, or any template containing a currency you'll want to change, simply write the next:

    \documentclass[letterpaper]{dapper-invoice}
    
    \renewcommand{\$}{\text{R}}
    

    In the above instance, I'm changing $ to ZAR (South African Rand). It's a simple way of changing the currency to a text-like currency (eg. 'R').