eurosym: The Euro Symbol Package for LaTeX |
|
[ Introduction | Usage | Download ]
This is the Euro symbol package eurosym that I created. It provides a new symbol to be used for the European currency, the Euro. The specifications were taken from a picture in the c't magazine 11/98 p.211 and from Encyclopaedia Britannica, Book of the Year 2002 (thanks to Dr. Werner Gans). eurosym's Euro symbol is implemented in MetaFont, and thus fits smoothly into a LaTeX installation. It is now part of major Linux distributions, including Debian, Suse, Mandrake and probably others. Apart from the official form, the eurosym package provides some generalisations that fit non-roman font faces better.
|
Usage |
※ |
\usepackage{eurosym} ... The book is 10 \euro. The book is \euro 10. The book is \EUR{10}. \textbf{The book is \EUR{10}.} \textit{The book is \EUR{10}.} |
\euro generates the symbol. \EUR{x} shows an amount with the symbol and has the correct unbreakable thin space in between. The symbol adjusts to the font attributes. |
|
\usepackage{german} \usepackage{eurosym} ... Das Buch kostet \EUR{10}. |
In German, \EUR{x} puts the symbol on the right side. |
|
\usepackage{eurosym} \usepackage[latin9]{inputenc} \let € = \euro ... Das Buch kostet 10 €. |
\euro can easily be made the default with ISO-8859-15 (=Latin9). |
|
\usepackage{eurosym} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{20AC}{\euro} ... Das Buch kostet 10 €. |
\euro can easily be made the default with UTF-8. |
The eurosym package has options left and right to override the behaviour of the \EUR{x} macro.
The package also provides generic Euro symbol shapes by overlaying the two center bars of the official Euro symbol with the font's capital C. This is a hack but may be useful.
The font provides \char{0} showing the construction of the symbol. (See the image at the beginning of this page).
Download eurosym |
※ |
In case your distribution does not already include it, you can download the package from this server.
The eurosym package is distributed as free open source software.