Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Writing a letter to Americans, I have wondered how to properly typeset amounts of money. As far as I know, the $-sign is supposed to precede the number, but I am clueless of the rest.

Here are some combinations I can think of:

\documentclass{article}
\begin{document}
  \$1250.50 

  \$1,250.50 

  \$\,1250.50 

  \$\,1,250.50 

  \$\,1\,250.50 
\end{document}

I can't say any of them actually pleases the eye:

enter image description here

Are there any conventions as to how to typeset amounts of (American) money?

share|improve this question
8  
According to the European Commission Style Guide, "the [currency] symbol (...) precedes the amount and is followed by a thin space" (p. 75). For grouping of thousands, "Do not use either commas or points but insert thin spaces" (p. 24). –  Jake Nov 6 '12 at 16:56
3  
There are different styles it seems, New Hart's Rules say "Where symbols or abbreviations, are used, such as [...] $ (dollar sign) [...], they precede the figures. There is no space after symbols, but some styles use a space after abbreviations;" –  Torbjørn T. Nov 6 '12 at 18:59
1  
FWIW, Wikipedia's style is also unspaced: en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Currencies –  Torbjørn T. Nov 6 '12 at 19:26

1 Answer 1

up vote 13 down vote accepted

It is probably overkill, but I usually use siunitx. Here is an example

\documentclass{article}
\usepackage{siunitx}

\sisetup{
  group-four-digits = true,
  group-separator = {,}
}

\begin{document}

I looked in my bank account and saw  \SI{15}[\$]{M}!
But then I woke up, and there was only \SI{457.34}[\$]{}.
I cried a little, but then I got paid and there was \SI{2456.23}[\$]{}.

\end{document}

Output produced from the above example

This shows a compact way of writing large numbers (the $15M), the typesetting of normal amounts ($457.34) and the way siunitx will sort out where to put the commas (in the $2,456.23).

Depending on the font you use, you might want to put in the $\,$, if it looks too cramped to you. In the above example, I probably would. But it is easy to define a macro to wrap that in:

\newcommand{\usd}[1]{\SI{#1}[\$\ensuremath{\,}]{}}

UPDATE: I based on the comments, I should add that in the US, the SI standard of using a thin space to group triplets is not well followed. For me, it is certainly preferable to follow the standard, but consider your audience. If you can get away with it, use group-separator = {\,}.

share|improve this answer
2  
Your macro with group-separator = {\,} would fit the recommendation Jake found, correct? –  Raphael Nov 6 '12 at 18:13
1  
@Raphael : That is correct. I should add that the SI standard isn't well followed in the US. As a scientist, I prefer thin spaces as separators, since this is what we use in journals. But my business parters are never very comfortable when I use the SI standard. –  Timtro Nov 6 '12 at 19:21
    
Just for completeness, how would the syntax be, if one wanted to use US$ (as opposed to C$?) –  sdaau Nov 14 at 11:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.