1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
7 \usepackage[eurosym]{eurofont}
13 \paperfontsize default
20 \paperorientation portrait
23 \paragraph_separation indent
25 \quotes_language english
28 \paperpagestyle default
29 \tracking_changes false
37 Currency symbols and LyX
45 \begin_layout Standard
47 To obtain the main currency symbols with LaTeX, we need to use special packages.
48 Here we give a brief description of how to display and print the euro,
49 cent, yen and general currency symbols.
50 The dollar and the pound need no special trick, so we won't speak about
59 \begin_layout Standard
61 To print the euro symbol, you need to get the eurofont package, available
63 \begin_inset LatexCommand \url{/macros/latex/contrib/supported/eurofont}
68 You'll need therefore to add to the LaTeX preamble of your LyX document
76 See the preamble of this document to figure out.
77 Then you can always obtain the euro symbol in your printed document by
84 in TeX mode, like this :
88 \begin_layout Standard
99 \begin_layout Standard
101 The shape of the symbol in the printed version tends to be better when you
102 install the eurosym package too.
104 \begin_inset LatexCommand \url{/fonts/eurosym}
109 Then you declare eurofont with the
117 usepackage[eurosym]{eurofont}
122 \begin_layout Standard
124 As a next step, we'll configure LyX to display a WYSIWYM euro symbol.
125 First you have to select latin9 screen fonts, as the euro is not in the
126 common latin1 encoding.
129 Edit\SpecialChar \menuseparator
138 \begin_layout Standard
140 latin9 is the common name for the
144 encoding, and latin1 for
158 fonts\SpecialChar \menuseparator
161 field, and of course you'll have to choose fonts that are available on
162 your system in this encoding.
165 \begin_layout Standard
167 You should properly configure your X server if you want the euro symbol
168 directly on your keyboard.
169 You can also try the keymap files in LyX :
177 should normally support the euro symbol at its usual place.
178 Select your keymap in the
180 Language\SpecialChar \menuseparator
186 \begin_layout Standard
188 The last step is to tell LyX that the encoding of your document is latin9.
191 Format\SpecialChar \menuseparator
195 It requires your LaTeX distribution to have the appropriate
204 It is in the recent LaTeX distributions, and is available at
205 \begin_inset LatexCommand \url{/macros/latex/unpacked}
212 \begin_layout Standard
214 If you see an euro symbol here : ¤, and not some horrible glyph, that's
216 Now try to view the DVI file.
217 If LaTeX doesn't complain and the printed version seems fine, you're done.
220 \begin_layout Section
222 Other currency symbols
225 \begin_layout Standard
227 All the symbols we present here are not available with LaTeX natively.
228 But including the eurofont package gives access to all of them.
231 \begin_layout Description
235 symbol If your keyboard allows the direct display of the cent symbol
236 ¢, great, if not you'll have to type
242 in TeX mode, like this :
246 \begin_layout Standard
257 \begin_layout Description
261 symbol Same story as above, typing
271 \begin_layout Standard
282 \begin_layout Description
286 currency\InsetSpace ~
287 symbol It is a horrible mix of cross and circle.
288 You cannot obtain it on screen together with the euro symbol, because it
289 is corresponding in latin1 to the euro in latin9.
290 You have just to type
300 \begin_layout Standard
309 If your screen fonts are latin1, you'll see it here : ¤.
310 If they are latin9, you'll have a euro symbol instead.
313 \begin_layout Description
316 vertical\InsetSpace ~
318 bar Of course it is not a currency symbol, but it is one
319 that you can't obtain with plain LaTeX, but provided when you include eurofont.
330 \begin_layout Standard
339 You'll have it on your keyboard if your X configuration is real good, and
340 it will only display with latin1 screen fonts : ¦ .
341 (With latin9 it is an s with a caron.)