lyx_mirror/lib/examples/de/serienbrief1.lyx
Uwe Stöhr 2c29bfefd4 - add example files how to create serial letters
- backport an improvement of scrlttr2.layout from trunk (r22811)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22875 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-08 21:15:47 +00:00

325 lines
5.8 KiB
Plaintext

#LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
\lyxformat 276
\begin_document
\begin_header
\textclass scrlttr2
\begin_preamble
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Here you can modify the layout of your letter
%% Have a look at the KOMA script documentation
%% for details. Most commands are commented out
%% here (i.e. we use default settings)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Load an *.lco style file (see KOMA documentation)
\LoadLetterOption{DIN}%
%% THE CLASS OPTIONS
%% Remove preceeding '%' to uncomment an item
\KOMAoptions{%
%headsepline=true,% separate the header with a line on page >1
%footsepline=true,% separate the footer with a line on page >1
%pagenumber=botcenter,% position of the page number (see docu)
%parskip=false,% Use indent instead of skip (more options cf. docu)
fromalign=center,% alignment of the address
fromrule=aftername,% separate the address with a line?
fromphone=true,% print sender phone number
%fromfax=true,% print sender fax number
fromemail=true,% print sender e-mail address
fromurl=true% print sender URL
%fromlogo=true,% print a logo (position depends on fromalign)
%addrfield=false,% print an address field?
%backaddress=false,% print the back address?
%subject=afteropening,titled,% alternative subject layout and position
%locfield=narrow,% width of the (extra) location field
%foldmarks=false,% print foldmarks?
%numericaldate=true,% date layout
%refline=wide% layout of the refline
}
%% Customize Separators
%\setkomavar{placeseparator}{ -- }
\setkomavar{backaddressseparator}{ $\cdot$ }
%\setkomavar{emailseparator}{ --> }
%\setkomavar{enclseparator}{ > }
%\setkomavar{faxseparator}{ --> }
%\setkomavar{phoneseparator}{ --> }
%\setkomavar{subjectseparator}{ >>> }
%% Customize fonts
%% Use LaTeX's standard font commands
%% Modify with \setkomafont or \addtokomafont
%% (see KOMA documentation)
\setkomafont{backaddress}{\rmfamily}
%\setkomafont{descriptionlabel}{}
\setkomafont{fromaddress}{\small}
\setkomafont{fromname}{\scshape}
%\setkomafont{pagefoot}{}
%\setkomafont{pagehead}{}
%\setkomafont{pagenumber}{}
%\setkomafont{subject}{}
%\setkomafont{title}{}
\end_preamble
\language ngerman
\inputencoding auto
\font_roman palatino
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\paperfontsize 11
\spacing other 1.15
\papersize default
\use_geometry false
\use_amsmath 0
\use_esint 0
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language german
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author ""
\author ""
\end_header
\begin_body
\begin_layout Name
Das LyX Entwickler Team
\end_layout
\begin_layout SenderAddress
Planstr.
140
\newline
99999 Planstadt
\end_layout
\begin_layout Telephone
0011/222\InsetSpace \thinspace{}
333
\end_layout
\begin_layout E-Mail
lyx-users@lists.lyx.org
\end_layout
\begin_layout URL
www.lyx.org
\end_layout
\begin_layout Backaddress
Das LyX Entwickler Team
\newline
Planstr.
140
\newline
99999 Planstadt
\end_layout
\begin_layout Signature
Das LyX Team
\end_layout
\begin_layout Subject
Neues KOMA letter Layout
\end_layout
\begin_layout Place
Im Internet
\end_layout
\begin_layout Date
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
today
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Standard
\backslash
renewcommand*{
\backslash
adrentry}[8]{
\end_layout
\end_inset
\end_layout
\begin_layout Address
\begin_inset ERT
status collapsed
\begin_layout Standard
#2 #1
\backslash
\backslash
#3
\end_layout
\end_inset
\end_layout
\begin_layout Opening
\begin_inset ERT
status open
\begin_layout Standard
\backslash
if #5m{Sehr geehrter Herr #1,}
\backslash
fi
\end_layout
\begin_layout Standard
\backslash
if #5w{Sehr geehrte Frau #1,}
\backslash
fi
\end_layout
\end_inset
\end_layout
\begin_layout Standard
dieses Beispiel zeigt einen Serienbrief an
\series bold
alle Personen
\series default
einer Adressdatenbank.
Der Aufbau von Adressdatenbanken ist in der unten angegebenen Dokumentation
beschrieben.
\end_layout
\begin_layout Standard
Die Vorlage beschreibt den Gebrauch der neuen scrlttr2-Klasse, die mit KOMA-Scri
pt 2.9 eingeführt wurde.
Diese, den europäischen Bedürfnissen angepasste Klasse, ist sehr flexibel.
Im LyX-Menü
\family sans
Dokument\SpecialChar \menuseparator
Einstellungen\SpecialChar \menuseparator
LaTeX-Vorspann
\family default
finden sich die Einstellmöglichkeiten der meisten gebräuchlichen Parameter.
Die KOMA Script Dokumentation
\begin_inset Foot
status collapsed
\begin_layout Standard
ftp://ftp.dante.de/tex-archive/macros/latex/contrib/koma-script/scrguide.pdf
\end_layout
\end_inset
liefert weitere Hinweise.
\end_layout
\begin_layout Closing
Viel Spaß!
\end_layout
\begin_layout PS
p.\InsetSpace \thinspace{}
s.: Blaufarbige Items sollen vor der Adresse eingefügt werden, magentafarbige
danach.
\end_layout
\begin_layout CC
Die LyX User
\end_layout
\begin_layout EndLetter
\begin_inset Note Note
status open
\begin_layout Standard
Diese Umgebung muss leer sein.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Standard
}
\end_layout
\end_inset
\begin_inset Note Note
status collapsed
\begin_layout Standard
Schließt den
\series bold
\backslash
renewcommand*
\series default
Befehl von oben ab.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset Include \input{../addressExample.adr}
preview false
\end_inset
\end_layout
\end_body
\end_document