summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-euro.html
blob: 76a752be0892edb49928c43e7533a80dd3d337b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<head>
<title>UK TeX FAQ -- question label euro</title>
</head><body>
<h3>Typesetting the Euro sign</h3>
<p/>The European currency &ldquo;Euro&rdquo; is represented by a symbol of somewhat
dubious design, but it&rsquo;s an important currency and (La)TeX users
need to typeset it.
<p/>Note that the Commission of the European Community at first deemed
that the Euro symbol should always be set in a sans-serif font;
fortunately, this eccentric ruling has now been rescinded, and one may
apply best typesetting efforts to making it appear at least slightly
&ldquo;respectable&rdquo; (typographically).
<p/>The TS1-encoded TC fonts provided as part of the EC font
distribution provide Euro glyphs.  The fonts are called Text Companion
(TC) fonts, and offer the same range
of faces as do the EC fonts themselves.  The
<i>textcomp</i> package provides a <code>\</code><code>texteuro</code> command for
accessing the symbol, which selects a symbol to match the surrounding
text.  The design of the symbol in the TC fonts is not
universally loved...
Nevertheless, use the TC font version of the symbol if you are
producing documents using Knuth&rsquo;s Computer Modern Fonts.
<p/>The <i>latin9</i> input encoding defined by the <i>inputenc</i>
package has a euro character defined (character position 164, occupied
in other ISO Latin character sets by the &ldquo;currency symbol&rdquo;).
The encoding uses the command <code>\</code><code>texteuro</code> for the character; at
present that command is <em>only</em> available from the
<i>textcomp</i> package.  There is a Microsoft code page position,
too, but standardisation of such things proceeds via rather different
routes and the LaTeX project hasn&rsquo;t yet been given details of the
change.
<p/>Outline fonts which contain nothing but Euro symbols are available
(free) from
<a href="ftp://ftp.adobe.com/pub/adobe/type/win/all/eurofont.exe">Adobe</a> &mdash;
the file is packaged as a <i>Windows</i> self-extracting
executable, but it may be decoded as a <code>.zip</code> format archive
on other operating systems.
The <i>euro</i> bundle contains metrics, <i>dvips</i> map
files, and macros (for Plain TeX and LaTeX), for using these
fonts in documents.  LaTeX users will find two packages in the
bundle: <i>eurosans</i> only offers the sans-serif version (to
conform with the obsolete ruling about sans-serif-only symbols; the
package provides the
command <code>\</code><code>euro</code>), whereas <i>europs</i> matches the Euro symbol
with the surrounding text (providing the command <code>\</code><code>EUR</code>).  To use
either package
with the <i>latin9</i> encoding, you need to define <code>\</code><code>texteuro</code>
as an alias for the euro command the package defines.
<p/>The Adobe fonts are probably the best bet for use in non-Computer
Modern environments.  They are apparently designed to fit with Adobe
Times, Helvetica and Courier, but can probably fit with a wider range
of modern fonts.
<p/>The <i>eurofont</i> package provides a compendious analysis of the
&ldquo;problem of the euro symbol&rdquo; in its documentation, and offers macros
for configuring the source of the glyphs to be used; however, it seems
rather large for everyday use.
<p/>The <i>euro-ce</i> bundle is a rather pleasing Metafont-only design
providing Euro symbols in a number of shapes.  The file
<i>euro-ce.tex</i>, in the distribution, offers hints as to how a
Plain TeX user might make use of the fonts.
<p/>Euro symbols are found in several other places, which we list here for
completeness.
<p/>The <i>marvosym</i> fonts contain a Euro symbol among many other
good things.





<p/>Other Metafont-based bundles containing Euro symbols are to be found in
<i>china2e</i> (whose primary aim is Chinese dates and suchlike
matters) and the <i>eurosym</i> fonts.
<dl>
<dt><tt><i>china2e bundle</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/china2e.zip">macros/latex/contrib/china2e</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/china2e/">browse the directory</a>)
<dt><tt><i>EC fonts</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/ec.zip">fonts/ec</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/ec/">browse the directory</a>)
<dt><tt><i>euro fonts</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/euro.zip">fonts/euro</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/euro/">browse the directory</a>)
<dt><tt><i>euro-ce fonts</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/euro-ce.zip">fonts/euro-ce</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/euro-ce/">browse the directory</a>)
<dt><tt><i>eurofont.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/eurofont.zip">macros/latex/contrib/eurofont</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/eurofont/">browse the directory</a>)
<dt><tt><i>eurosym fonts</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/eurosym.zip">fonts/eurosym</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/eurosym/">browse the directory</a>)
<dt><tt><i>marvosym fonts</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/psfonts/marvosym.zip">fonts/psfonts/marvosym</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/fonts/psfonts/marvosym/">browse the directory</a>)
<dt><tt><i>textcomp.sty</i></tt><dd>Part of the LaTeX distribution.
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=euro">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=euro</a>
</body>