1 #LyX 1.4.0cvs 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
29 \paperpagestyle default
30 \tracking_changes false
38 Currency symbols and LyX
46 \begin_layout Standard
48 To obtain the main currency symbols with LaTeX, we need to use special packages.
49 Here we give a brief description of how to display and print the euro,
50 cent, yen and general currency symbols.
51 The dollar and the pound need no special trick, so we won't speak about
60 \begin_layout Standard
62 To print the euro symbol, you need to get the eurofont package, available
64 \begin_inset LatexCommand \url{/macros/latex/contrib/supported/eurofont}
69 You'll need therefore to add to the LaTeX preamble of your LyX document
77 See the preamble of this document to figure out.
78 Then you can always obtain the euro symbol in your printed document by
85 in TeX mode, like this :
89 \begin_layout Standard
100 \begin_layout Standard
102 The shape of the symbol in the printed version tends to be better when you
103 install the eurosym package too.
105 \begin_inset LatexCommand \url{/fonts/eurosym}
110 Then you declare eurofont with the
118 usepackage[eurosym]{eurofont}
123 \begin_layout Standard
125 As a next step, we'll configure LyX to display a WYSIWYM euro symbol.
126 First you have to select latin9 screen fonts, as the euro is not in the
127 common latin1 encoding.
130 Edit\SpecialChar \menuseparator
139 \begin_layout Standard
141 latin9 is the common name for the
145 encoding, and latin1 for
159 fonts\SpecialChar \menuseparator
162 field, and of course you'll have to choose fonts that are available on
163 your system in this encoding.
166 \begin_layout Standard
168 You should properly configure your X server if you want the euro symbol
169 directly on your keyboard.
170 You can also try the keymap files in LyX :
178 should normally support the euro symbol at its usual place.
179 Select your keymap in the
181 Language\SpecialChar \menuseparator
187 \begin_layout Standard
189 The last step is to tell LyX that the encoding of your document is latin9.
192 Format\SpecialChar \menuseparator
196 It requires your LaTeX distribution to have the appropriate
205 It is in the recent LaTeX distributions, and is available at
206 \begin_inset LatexCommand \url{/macros/latex/unpacked}
213 \begin_layout Standard
215 If you see an euro symbol here : ¤, and not some horrible glyph, that's
217 Now try to view the DVI file.
218 If LaTeX doesn't complain and the printed version seems fine, you're done.
221 \begin_layout Section
223 Other currency symbols
226 \begin_layout Standard
228 All the symbols we present here are not available with LaTeX natively.
229 But including the eurofont package gives access to all of them.
232 \begin_layout Description
236 symbol If your keyboard allows the direct display of the cent symbol
237 ¢, great, if not you'll have to type
243 in TeX mode, like this :
247 \begin_layout Standard
258 \begin_layout Description
262 symbol Same story as above, typing
272 \begin_layout Standard
283 \begin_layout Description
287 currency\InsetSpace ~
288 symbol It is a horrible mix of cross and circle.
289 You cannot obtain it on screen together with the euro symbol, because it
290 is corresponding in latin1 to the euro in latin9.
291 You have just to type
301 \begin_layout Standard
310 If your screen fonts are latin1, you'll see it here : ¤.
311 If they are latin9, you'll have a euro symbol instead.
314 \begin_layout Description
317 vertical\InsetSpace ~
319 bar Of course it is not a currency symbol, but it is one
320 that you can't obtain with plain LaTeX, but provided when you include eurofont.
331 \begin_layout Standard
340 You'll have it on your keyboard if your X configuration is real good, and
341 it will only display with latin1 screen fonts : ¦ .
342 (With latin9 it is an s with a caron.)