General ⇒ Euro currency symbol in math environment
Euro currency symbol in math environment
as the subject indicates: How to get an Euro currency symbol into a math environment (equation etc.)
I use the eurosym package, but it does not seem to work when I put \euro or \EUR in a math environment. Any ideas?
thanks - as always - in advance
cheers
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Euro currency symbol in math environment
presumably it is a textsymbol, those cannot be used inside math
Re: Euro currency symbol in math environment
If you load amsmath, it is preferable $\text{\euro}$
Re: Euro currency symbol in math environment
I assume that \euro is used here as a unit, those should always be typeset upright, but \text uses the surrounding text, \textit{blah $blah \text{blah} blah$ blah}
use \textup instead
Re: Euro currency symbol in math environment
as far as I can see, \textup and \text produce similar output - both of them suit my needs.
Thank you daleif and Juanjo for your replies!
cheers