mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
577 lines
9.2 KiB
Plaintext
577 lines
9.2 KiB
Plaintext
|
#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
|
|||
|
\lyxformat 243
|
|||
|
\begin_document
|
|||
|
\begin_header
|
|||
|
\textclass article
|
|||
|
\begin_preamble
|
|||
|
%\usepackage[eurosym]{eurofont}
|
|||
|
\usepackage[official]{eurosym}
|
|||
|
\end_preamble
|
|||
|
\language german
|
|||
|
\inputencoding latin9
|
|||
|
\fontscheme default
|
|||
|
\graphics default
|
|||
|
\paperfontsize default
|
|||
|
\spacing single
|
|||
|
\papersize default
|
|||
|
\use_geometry false
|
|||
|
\use_amsmath 0
|
|||
|
\cite_engine basic
|
|||
|
\use_bibtopic false
|
|||
|
\paperorientation portrait
|
|||
|
\secnumdepth 3
|
|||
|
\tocdepth 3
|
|||
|
\paragraph_separation indent
|
|||
|
\defskip medskip
|
|||
|
\quotes_language german
|
|||
|
\quotes_times 2
|
|||
|
\papercolumns 1
|
|||
|
\papersides 1
|
|||
|
\paperpagestyle default
|
|||
|
\tracking_changes false
|
|||
|
\output_changes true
|
|||
|
\end_header
|
|||
|
|
|||
|
\begin_body
|
|||
|
|
|||
|
\begin_layout Title
|
|||
|
W<EFBFBD>hrungszeichen und LyX
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Author
|
|||
|
von Adrien Rebollo
|
|||
|
\newline
|
|||
|
und Hartmut Haase
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
\noindent
|
|||
|
Um die wichtigsten W<>hrungssymbole mit LaTeX darstellen zu k<>nnen, brauchen
|
|||
|
wir einige Spezialpakete.
|
|||
|
Hier ist eine kurze Beschreibung, wie man Euro, Cent, Yen und allgemeine
|
|||
|
W<>hrungszeichen anzeigt und druckt.
|
|||
|
Dollar und Pfund ben<65>tigen keine Sonderbehandlung.
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Section
|
|||
|
Das Euro-Zeichen
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
\noindent
|
|||
|
Um das Euro-Zeichen drucken zu k<>nnen, ben<65>tigen sie das
|
|||
|
\family typewriter
|
|||
|
eurofont
|
|||
|
\family default
|
|||
|
-Paket, das Sie bei
|
|||
|
\begin_inset LatexCommand \url{/macros/latex/contrib/supported/eurofont}
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
in CTAN erhalten.
|
|||
|
Deshalb m<>ssen Sie im LaTeX-Vorspann Ihres LyX-Dokuments (
|
|||
|
\family sans
|
|||
|
\bar under
|
|||
|
D
|
|||
|
\bar default
|
|||
|
okument\SpecialChar \menuseparator
|
|||
|
|
|||
|
\bar under
|
|||
|
E
|
|||
|
\bar default
|
|||
|
instellungen\SpecialChar \ldots{}
|
|||
|
\SpecialChar \menuseparator
|
|||
|
LaT
|
|||
|
\begin_inset ERT
|
|||
|
status collapsed
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\family roman
|
|||
|
\series medium
|
|||
|
\shape up
|
|||
|
\size normal
|
|||
|
\emph off
|
|||
|
\bar no
|
|||
|
\noun off
|
|||
|
\color none
|
|||
|
{}
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
eX-Vorspann
|
|||
|
\family default
|
|||
|
) den Befehl:
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
usepackage{eurofont}
|
|||
|
\family default
|
|||
|
.
|
|||
|
Anmerkung von
|
|||
|
\noun on
|
|||
|
Hartmut Haase
|
|||
|
\noun default
|
|||
|
: Weil das
|
|||
|
\family typewriter
|
|||
|
eurofont
|
|||
|
\family default
|
|||
|
-Paket nicht Standard ist, empfiehlt sich stattdessen das
|
|||
|
\family typewriter
|
|||
|
eurosym
|
|||
|
\family default
|
|||
|
-Paket.
|
|||
|
Der Befehl im LaTeX-Vorspann ist dann:
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
usepackage[official]{eurosym}
|
|||
|
\family default
|
|||
|
.
|
|||
|
Im gedruckten Doument erh<72>lt man dann das Euro-Zeichen durch
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
euro
|
|||
|
\family default
|
|||
|
als ERT:
|
|||
|
\begin_inset Tabular
|
|||
|
<lyxtabular version="3" rows="1" columns="1">
|
|||
|
<features>
|
|||
|
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
|
|||
|
<row topline="true" bottomline="true">
|
|||
|
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
|
|||
|
\begin_inset Text
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
euro
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
</cell>
|
|||
|
</row>
|
|||
|
</lyxtabular>
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
|
|||
|
\family typewriter
|
|||
|
=
|
|||
|
\family default
|
|||
|
|
|||
|
\begin_inset ERT
|
|||
|
status inlined
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\backslash
|
|||
|
euro
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
, 50
|
|||
|
\begin_inset Tabular
|
|||
|
<lyxtabular version="3" rows="1" columns="1">
|
|||
|
<features>
|
|||
|
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
|
|||
|
<row topline="true" bottomline="true">
|
|||
|
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
|
|||
|
\begin_inset Text
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
euro
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
</cell>
|
|||
|
</row>
|
|||
|
</lyxtabular>
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
= 50
|
|||
|
\begin_inset ERT
|
|||
|
status inlined
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\backslash
|
|||
|
euro
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
,
|
|||
|
\begin_inset Tabular
|
|||
|
<lyxtabular version="3" rows="1" columns="1">
|
|||
|
<features>
|
|||
|
<column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
|
|||
|
<row topline="true" bottomline="true">
|
|||
|
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
|
|||
|
\begin_inset Text
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
euro
|
|||
|
\family roman
|
|||
|
\series medium
|
|||
|
\shape up
|
|||
|
\size normal
|
|||
|
\emph off
|
|||
|
\bar no
|
|||
|
\noun off
|
|||
|
\color none
|
|||
|
|
|||
|
\backslash
|
|||
|
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
</cell>
|
|||
|
</row>
|
|||
|
</lyxtabular>
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
60 =
|
|||
|
\begin_inset ERT
|
|||
|
status inlined
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\backslash
|
|||
|
euro
|
|||
|
\backslash
|
|||
|
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
60, usw.
|
|||
|
(
|
|||
|
\noun on
|
|||
|
HHa
|
|||
|
\noun default
|
|||
|
: im letzten Beispiel sind der zweite
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
|
|||
|
\family default
|
|||
|
UND ein Leerzeichen im oder nach dem ERT n<>tig.)
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
Mit dem
|
|||
|
\family typewriter
|
|||
|
eurosym
|
|||
|
\family default
|
|||
|
-Paket sieht das gedruckte Euro-Zeichen etwas besser aus.
|
|||
|
Man bekommt es bei
|
|||
|
\begin_inset LatexCommand \url{/fonts/eurosym}
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
in CTAN.
|
|||
|
Dann deklariert man
|
|||
|
\family typewriter
|
|||
|
eurofont
|
|||
|
\family default
|
|||
|
mit der
|
|||
|
\family typewriter
|
|||
|
eurosym
|
|||
|
\family default
|
|||
|
-Option
|
|||
|
\family typewriter
|
|||
|
:
|
|||
|
\family default
|
|||
|
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
usepackage[eurosym]{eurofont}
|
|||
|
\family default
|
|||
|
.
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
Als n<>chstes k<>nnen Sie auch noch LyX so konfigureieren, da<64> das Euro-Zeichen
|
|||
|
WYSIWYM angezeigt wird.
|
|||
|
Daf<61>r m<>ssen Sie einen latin9-Bildschirmfont ausw<73>hlen, da der Euro nicht
|
|||
|
zur normalen latin1-Kodierung geh<65>rt.
|
|||
|
Das k<>nnen Sie unter
|
|||
|
\family sans
|
|||
|
???
|
|||
|
\family default
|
|||
|
machen.
|
|||
|
Und nat<61>rlich m<>ssen Sie Fonts ausw<73>hlen, die es auf Ihrem System f<>r diese
|
|||
|
Kodierung gibt.
|
|||
|
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
You should properly configure your X server if you want the euro symbol
|
|||
|
directly on your keyboard.
|
|||
|
You can also try the keymap files in LyX :
|
|||
|
\family typewriter
|
|||
|
european.kmap
|
|||
|
\family default
|
|||
|
and
|
|||
|
\family typewriter
|
|||
|
francais.kmap
|
|||
|
\family default
|
|||
|
should normally support the euro symbol at its usual place.
|
|||
|
Select your keymap in the
|
|||
|
\family sans
|
|||
|
Language\SpecialChar \menuseparator
|
|||
|
Keymap
|
|||
|
\family default
|
|||
|
fields.
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
Als letztes m<>ssen Sie unter
|
|||
|
\family sans
|
|||
|
\bar under
|
|||
|
D
|
|||
|
\bar default
|
|||
|
okument\SpecialChar \menuseparator
|
|||
|
|
|||
|
\bar under
|
|||
|
E
|
|||
|
\bar default
|
|||
|
instellungen\SpecialChar \ldots{}
|
|||
|
\SpecialChar \menuseparator
|
|||
|
Sprache\SpecialChar \menuseparator
|
|||
|
|
|||
|
\bar under
|
|||
|
K
|
|||
|
\bar default
|
|||
|
odierung
|
|||
|
\family default
|
|||
|
die Kodiereung f<>r Ihr Dokument auf latin9 einstellen.
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
Wenn Sie hier jetzt das Euro-Zeichen sehen und nicht stattdessen einen Kreis
|
|||
|
mit vier Strichen wie in diesem Hinweis:
|
|||
|
\begin_inset Note Note
|
|||
|
status open
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
AltGr+Unschalt+ 4 = <20>
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
, ist alles in Ordnung.
|
|||
|
Starten Sie jetzt die Druck-Vorschau.
|
|||
|
Wenn LaTeX keine Fehler meldet und die Vorschau gut aussieht, sind Sie
|
|||
|
fertig\SpecialChar \@.
|
|||
|
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Section
|
|||
|
Andere W<>hrungszeichen
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
\noindent
|
|||
|
Alle folgenden Zeichen sind kein LaTeX-Standard.
|
|||
|
Aber mit dem
|
|||
|
\family typewriter
|
|||
|
eurofont
|
|||
|
\family default
|
|||
|
-Paket k<>nnen sie gedruckt werden.
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Description
|
|||
|
Das\InsetSpace ~
|
|||
|
Cent-Zeichen Wenn Ihre Tastatur das Cent-Zeichen direkt darstellt
|
|||
|
\begin_inset Note Note
|
|||
|
status open
|
|||
|
|
|||
|
\begin_layout Description
|
|||
|
AltGr+C = <20>
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
, gut, sonst m<>ssen Sie
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
textcent{}
|
|||
|
\family default
|
|||
|
als ERT eingeben:
|
|||
|
\begin_inset Note Note
|
|||
|
status open
|
|||
|
|
|||
|
\begin_layout Description
|
|||
|
\begin_inset ERT
|
|||
|
status inlined
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\backslash
|
|||
|
textcent{}
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
.
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Description
|
|||
|
Das\InsetSpace ~
|
|||
|
Yen-Zeichen Wie beim Cent: entweder
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
yen{}
|
|||
|
\family default
|
|||
|
:
|
|||
|
\begin_inset Note Note
|
|||
|
status open
|
|||
|
|
|||
|
\begin_layout Description
|
|||
|
|
|||
|
\begin_inset ERT
|
|||
|
status inlined
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\backslash
|
|||
|
textyen{}
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
, oder direkt
|
|||
|
\begin_inset Note Note
|
|||
|
status open
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
AltGr+Unschalt+Z = <20>
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
.
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Description
|
|||
|
Das\InsetSpace ~
|
|||
|
allgemeine\InsetSpace ~
|
|||
|
W<EFBFBD>hrungszeichen Es sieht wie ein Kreis mit vier Strichen aus.
|
|||
|
Auf dem Bildschirm kann man es nicht zusammen mit dem Euro-Zeichen darstellen,
|
|||
|
weil es in latin1 mit dem Euro-Zeichen in latin9 korrespondiert.
|
|||
|
Deshalbe m<>ssen Sie
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
textcurrency{}
|
|||
|
\family default
|
|||
|
als ERT eingeben:
|
|||
|
\begin_inset Note Note
|
|||
|
status open
|
|||
|
|
|||
|
\begin_layout Description
|
|||
|
\begin_inset ERT
|
|||
|
status inlined
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\backslash
|
|||
|
textcurrency{}
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
.
|
|||
|
Wenn Ihr Bildschirmfont latin1 ist, sehen Sie hier
|
|||
|
\begin_inset Note Note
|
|||
|
status open
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
AltGr+Unschalt+ 4 = <20>
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
, ist er latin9, sehen Sie stattdessen das Euro-Zeichen.
|
|||
|
\end_layout
|
|||
|
|
|||
|
\begin_layout Description
|
|||
|
Der\InsetSpace ~
|
|||
|
senkrechte\InsetSpace ~
|
|||
|
unterbrochene\InsetSpace ~
|
|||
|
Strich Nat<61>rlich ist das kein W<>hrungszeichen
|
|||
|
und man bekommt es nicht mit dem Standard-LaTeX, aber mit dem
|
|||
|
\family typewriter
|
|||
|
eurofont
|
|||
|
\family default
|
|||
|
-Paket.
|
|||
|
Sie schreiben
|
|||
|
\family typewriter
|
|||
|
|
|||
|
\backslash
|
|||
|
textbrokenbar{}
|
|||
|
\family default
|
|||
|
als ERT:
|
|||
|
\begin_inset Note Note
|
|||
|
status open
|
|||
|
|
|||
|
\begin_layout Description
|
|||
|
\begin_inset ERT
|
|||
|
status inlined
|
|||
|
|
|||
|
\begin_layout Standard
|
|||
|
|
|||
|
\backslash
|
|||
|
textbrokenbar{}
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_inset
|
|||
|
|
|||
|
.
|
|||
|
Auf dem Bildschirm sieht es so aus: <20>, und so wird es auch mit latin1 gedruckt.
|
|||
|
Mit latin9 wird es wie ein gro<72>es S mit einem v dar<61>ber gedruckt.
|
|||
|
\end_layout
|
|||
|
|
|||
|
\end_body
|
|||
|
\end_document
|