diff options
author | Paul Cochrane <paul@liekut.de> | 2015-09-12 20:57:41 +0200 |
---|---|---|
committer | Paul Cochrane <paul@liekut.de> | 2015-09-12 20:57:41 +0200 |
commit | 69c6c35694a40ad1f30595c01747180a9a65b8f2 (patch) | |
tree | 83f458988dc120a0140d1bed63c78388ea85f1d1 | |
parent | de18bd01aa0b0c43c8cc848e9116fc7393f84118 (diff) |
Use the \currencysym variable to control the currency symbol
Also add commented-out example versions of the documentclass options which
then control the currency symbol.
-rw-r--r-- | example.tex | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/example.tex b/example.tex index 682f303..f38fc3c 100644 --- a/example.tex +++ b/example.tex @@ -1,4 +1,7 @@ \documentclass[letterpaper]{dapper-invoice} +%\documentclass[letterpaper,currency=dollar]{dapper-invoice} +%\documentclass[letterpaper,currency=euro]{dapper-invoice} +%\documentclass[letterpaper,currency=pound]{dapper-invoice} \def\invoiceNo{101} \def\balance{137.50} @@ -27,7 +30,7 @@ \infoSub{\faMobilePhone}{\small\slshape +1~(555)~555-5555} \noalign{\addvspace{8ex}} \infoBox{}{ - {\large\raisebox{.55\height}\$\huge\formatdollars{\balance} \arrowbase} \\ + {\large\raisebox{.55\height}\currencysym\huge\formatdollars{\balance} \arrowbase} \\ {\small\color{subduedColor} due \duedate{\duein}} } \end{infoSection} @@ -60,10 +63,10 @@ \beginsummary - \summaryline{Total}{\$\formatdollars{\InvoiceTotal}} + \summaryline{Total}{\currencysym\formatdollars{\InvoiceTotal}} - \summaryline{Paid}{\$\formatdollars{50}} - \summaryline{Balance Due}{\$\formatdollars{\balance}} % not really any math support (yet) + \summaryline{Paid}{\currencysym\formatdollars{50}} + \summaryline{Balance Due}{\currencysym\formatdollars{\balance}} % not really any math support (yet) \end{hoursItemizationWithProject} |