\texteuro euro sign (€) in LaTeX
| Command | \texteuro |
|---|---|
| Mode | text |
| Package | none since LaTeX 2020; before that textcomp |
| Unicode | € U+20AC |
| Kind | Text symbols and special characters |
| Also called | EUR |
\texteuro typesets the symbol “euro sign” (€). It is a text symbol.
Example
\documentclass{article}
\usepackage{textcomp}
\begin{document}
20\,\texteuro
\end{document}Compiled with pdfLaTeX from TeX Live 2023.
How to use it
\texteuro is a command for normal text. Since the 2020 release, LaTeX defines this command itself. An older installation needs \usepackage{textcomp} in the preamble.
In a UTF-8 file you can also type € directly. For amounts with units, siunitx keeps number and sign together.
About text symbols and special characters
Ten characters have a job in LaTeX source and do not print when typed alone: # $ % & _ { } ~ ^ \. Seven of them print with a backslash in front; tilde, caret and backslash need a longer command. Most other characters, such as €, § or ß, can be typed directly in a UTF-8 file.