TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a standard way of handling currencies?


  • in American, you'd say "$2 a piece"
  • in French, you'd say "2$ pièce"

I'd like to be able to write \somecommand{dollars}{2}, that would interface with babel or something like that so that my value is displayed correctly.

Is there an already existing package for that? (I quite often have troubles finding this kind of information about LaTeX on the web)

share|improve this question
You can use \iflanguage{<lang>}{<true>}{<false>} to test if a specific language is set. – clemens Oct 31 '12 at 20:00
This seems as a possible (future) feature of packages like csquotes or siunitx. – yo' Oct 31 '12 at 23:07
up vote 2 down vote accepted

I tried to grep a language name spanish through a server's local texmf tree, and none of the matching files seem to treat currency placement. This means that no language settings for quite common Spanish language are done in any package installed at this server. I cound not choose english or french because these language names appear in different contexts than simple language specification name.

share|improve this answer
Thanks for the insightful comment and answer. I'll let the question open a while to see if there's something else to it and if not I'll check your answer :) – Mog Nov 1 '12 at 18:49

Your Answer


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.