1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
7 \usepackage[eurosym]{eurofont}
13 \font_typewriter default
14 \font_default_family default
20 \paperfontsize default
28 \paperorientation portrait
31 \paragraph_separation indent
33 \quotes_language english
36 \paperpagestyle default
37 \tracking_changes false
45 Currency symbols and LyX
53 \begin_layout Standard
55 To obtain the main currency symbols with LaTeX, we need to use special packages.
56 Here we give a brief description of how to display and print the euro,
57 cent, yen and general currency symbols.
58 The dollar and the pound need no special trick, so we won't speak about
67 \begin_layout Standard
69 To print the euro symbol, you need to get the eurofont package, available
71 \begin_inset LatexCommand url
72 target "/macros/latex/contrib/supported/eurofont"
76 You'll need therefore to add to the LaTeX preamble of your LyX document
86 See the preamble of this document to figure out.
87 Then you can always obtain the euro symbol in your printed document by
96 in TeX mode, like this :
100 \begin_layout Standard
111 \begin_layout Standard
113 The shape of the symbol in the printed version tends to be better when you
114 install the eurosym package too.
116 \begin_inset LatexCommand url
117 target "/fonts/eurosym"
121 Then you declare eurofont with the
133 usepackage[eurosym]{eurofont}
138 \begin_layout Standard
140 As a next step, we'll configure LyX to display a WYSIWYM euro symbol.
141 First you have to select latin9 screen fonts, as the euro is not in the
142 common latin1 encoding.
147 Edit\SpecialChar \menuseparator
158 \begin_layout Standard
160 latin9 is the common name for the
166 encoding, and latin1 for
184 fonts\SpecialChar \menuseparator
187 field, and of course you'll have to choose fonts that are available on
188 your system in this encoding.
191 \begin_layout Standard
193 You should properly configure your X server if you want the euro symbol
194 directly on your keyboard.
195 You can also try the keymap files in LyX :
207 should normally support the euro symbol at its usual place.
208 Select your keymap in the
212 Language\SpecialChar \menuseparator
218 \begin_layout Standard
220 The last step is to tell LyX that the encoding of your document is latin9.
225 Format\SpecialChar \menuseparator
229 It requires your LaTeX distribution to have the appropriate
242 It is in the recent LaTeX distributions, and is available at
243 \begin_inset LatexCommand url
244 target "/macros/latex/unpacked"
250 \begin_layout Standard
252 If you see an euro symbol here : €, and not some horrible glyph, that's
254 Now try to view the DVI file.
255 If LaTeX doesn't complain and the printed version seems fine, you're done.
258 \begin_layout Section
260 Other currency symbols
263 \begin_layout Standard
265 All the symbols we present here are not available with LaTeX natively.
266 But including the eurofont package gives access to all of them.
269 \begin_layout Description
273 symbol If your keyboard allows the direct display of the cent symbol
274 ¢, great, if not you'll have to type
282 in TeX mode, like this :
286 \begin_layout Standard
297 \begin_layout Description
301 symbol Same story as above, typing
313 \begin_layout Standard
324 \begin_layout Description
328 currency\InsetSpace ~
329 symbol It is a horrible mix of cross and circle.
330 You cannot obtain it on screen together with the euro symbol, because it
331 is corresponding in latin1 to the euro in latin9.
332 You have just to type
344 \begin_layout Standard
353 If your screen fonts are latin1, you'll see it here : €.
354 If they are latin9, you'll have a euro symbol instead.
357 \begin_layout Description
360 vertical\InsetSpace ~
362 bar Of course it is not a currency symbol, but it is one
363 that you can't obtain with plain LaTeX, but provided when you include eurofont.
376 \begin_layout Standard
385 You'll have it on your keyboard if your X configuration is real good, and
386 it will only display with latin1 screen fonts : Š .
387 (With latin9 it is an s with a caron.)