Official euro (€) symbol in LaTeX

Many packages provide commands to get the euro symbol in LaTeX. But if you want an accurate euro symbol as official, you have to load the eurosym
package with the [official]
option in the preamble. Like this.
\usepackage[official]{eurosym}
Now you can use the \euro{}
command to get the euro symbol, and you can put any number inside the {}
to get the euro with the amount. Or you can use the \officialeuro
command with eurosym
package, without using [official]
option.
\documentclass{article} \usepackage[official]{eurosym} \begin{document} \underline{Official euro (\euro{}) symbol} \verb|\euro{}|$\rightarrow$ \euro{} \verb|\euro{25}|$\rightarrow$ \euro{25} \euro{100} \quad \euro{50} \end{document}
Output:
Also, you can use the marvosym
package and \EUR{}
command to get the official euro symbol.
\documentclass{article} \usepackage{marvosym} \begin{document} \underline{Official euro (\EUR{}) symbol with \texttt{marvosym}} \verb|\EUR{}|$\rightarrow$ \EUR{} \verb|\EUR{25}|$\rightarrow$ \EUR{25} \EUR{100} \quad \EUR{50} \end{document}
Output:
Slightly different style of euro symbol
In order to get a slightly different style of euro symbol you can use the eurosym
package with [gen]
option. Now you will get a different style of euro symbol with \euro{}
command.
\documentclass{article} \usepackage[gen]{eurosym} \begin{document} \underline{Slightly different style of euro (\euro{}) symbol} \verb|\euro{}|$\rightarrow$ \euro{} \verb|\euro{25}|$\rightarrow$ \euro{25} \euro{100} \quad \euro{50} \end{document}
Output:
More styles of euro symbol with eurosym
package.
\documentclass{article} \usepackage{eurosym} \begin{document} \verb|\geneuro| $\rightarrow$ \geneuro \verb|\geneuronarrow| $\rightarrow$ \geneuronarrow \verb|\geneurowide| $\rightarrow$ \geneurowide \verb|\officialeuro| $\rightarrow$ \officialeuro \end{document}
Output:
Leave a Reply