1 #LyX 1.2 created this file. For more info see http://www.lyx.org/
5 \usepackage[eurosym]{eurofont}
11 \paperfontsize default
18 \use_numerical_citations 0
19 \paperorientation portrait
22 \paragraph_separation indent
24 \quotes_language english
28 \paperpagestyle default
32 Currency symbols and LyX
38 To obtain the main currency symbols with LaTeX, we need to use special packages.
39 Here we give a brief description of how to display and print the euro,
40 cent, yen and general currency symbols.
41 The dollar and the pound need no special trick, so we won't speak about
48 To print the euro symbol, you need to get the eurofont package, available
50 \begin_inset LatexCommand \url{/macros/latex/contrib/supported/eurofont}
55 You'll need therefore to add to the LaTeX preamble of your LyX document
63 See the preamble of this document to figure out.
64 Then you can always obtain the euro symbol in your printed document by
71 in TeX mode, like this :
84 The shape of the symbol in the printed version tends to be better when you
85 install the eurosym package too.
87 \begin_inset LatexCommand \url{/fonts/eurosym}
92 Then you declare eurofont with the
100 usepackage[eurosym]{eurofont}
105 As a next step, we'll configure LyX to display a WYSIWYM euro symbol.
106 First you have to select latin9 screen fonts, as the euro is not in the
107 common latin1 encoding.
110 Edit\SpecialChar \menuseparator
121 latin9 is the common name for the
125 encoding, and latin1 for
137 fonts\SpecialChar \menuseparator
140 field, and of course you'll have to choose fonts that are available on
141 your system in this encoding.
144 You should properly configure your X server if you want the euro symbol
145 directly on your keyboard.
146 You can also try the keymap files in LyX :
154 should normally support the euro symbol at its usual place.
155 Select your keymap in the
157 Language\SpecialChar \menuseparator
163 The last step is to tell LyX that the encoding of your document is latin9.
166 Format\SpecialChar \menuseparator
170 It requires your LaTeX distribution to have the appropriate
179 It is in the recent LaTeX distributions, and is available at
180 \begin_inset LatexCommand \url{/macros/latex/unpacked}
187 If you see an euro symbol here : ¤, and not some horrible glyph, that's
189 Now try to view the DVI file.
190 If LaTeX doesn't complain and the printed version seems fine, you're done.
193 Other currency symbols
196 All the symbols we present here are not available with LaTeX natively.
197 But including the eurofont package gives access to all of them.
202 symbol If your keyboard allows the direct display of the cent symbol
203 ¢, great, if not you'll have to type
209 in TeX mode, like this :
224 symbol Same story as above, typing
244 general\SpecialChar ~
245 currency\SpecialChar ~
246 symbol It is a horrible mix of cross and circle.
247 You cannot obtain it on screen together with the euro symbol, because it
248 is corresponding in latin1 to the euro in latin9.
249 You have just to type
266 If your screen fonts are latin1, you'll see it here : ¤.
267 If they are latin9, you'll have a euro symbol instead.
271 vertical\SpecialChar ~
273 bar Of course it is not a currency symbol, but it is one
274 that you can't obtain with plain LaTeX, but provided when you include eurofont.
292 You'll have it on your keyboard if your X configuration is real good, and
293 it will only display with latin1 screen fonts : ¦ .
294 (With latin9 it is an s with a caron.)