make koma-letter2.lyx compilable (fix a preamble bug)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22765 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-02-03 12:03:20 +00:00
parent 886db92f82
commit 2dc68dad6d

View File

@ -1,5 +1,5 @@
#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
\lyxformat 276 \lyxformat 314
\begin_document \begin_document
\begin_header \begin_header
\textclass scrlttr2 \textclass scrlttr2
@ -21,7 +21,7 @@
%,footsepline=true% separate the footer 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) %pagenumber=botcenter% position of the page number (see docu)
%,parskip=false% Use indent instead of skip (more options cf. docu) %,parskip=false% Use indent instead of skip (more options cf. docu)
,fromalign=center% alignment of the address fromalign=center% alignment of the address
,fromrule=aftername% separate the address with a line? ,fromrule=aftername% separate the address with a line?
,fromphone=true% print sender phone number ,fromphone=true% print sender phone number
%,fromfax=true% print sender fax number %,fromfax=true% print sender fax number
@ -73,6 +73,7 @@
\graphics default \graphics default
\paperfontsize 11 \paperfontsize 11
\spacing other 1.15 \spacing other 1.15
\use_hyperref false
\papersize default \papersize default
\use_geometry false \use_geometry false
\use_amsmath 0 \use_amsmath 0
@ -90,76 +91,56 @@
\paperpagestyle default \paperpagestyle default
\tracking_changes false \tracking_changes false
\output_changes false \output_changes false
\author ""
\author ""
\end_header \end_header
\begin_body \begin_body
\begin_layout Name \begin_layout Name
The LyX Developers Team The LyX Developers Team
\end_layout \end_layout
\begin_layout SenderAddress \begin_layout SenderAddress
140 Map Road 140 Map Road
\newline \newline
CVS City SVN City
\end_layout \end_layout
\begin_layout Telephone \begin_layout Telephone
0011/222\InsetSpace \thinspace{}
0011/222
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
,
\end_layout
\end_inset
333 333
\end_layout \end_layout
\begin_layout E-Mail \begin_layout E-Mail
lyx-users@lists.lyx.org lyx-users@lists.lyx.org
\end_layout \end_layout
\begin_layout URL \begin_layout URL
www.lyx.org www.lyx.org
\end_layout \end_layout
\begin_layout Backaddress \begin_layout Backaddress
The LyX Developers Team The LyX Developers Team
\newline \newline
140 Map Road 140 Map Road
\newline \newline
CVS City SVN City
\end_layout \end_layout
\begin_layout Signature \begin_layout Signature
The LyX Team The LyX Team
\end_layout \end_layout
\begin_layout Subject \begin_layout Subject
New KOMA letter layout New KOMA letter layout
\end_layout \end_layout
\begin_layout Place \begin_layout Place
The Internet The Internet
\end_layout \end_layout
\begin_layout Date \begin_layout Date
\begin_inset ERT \begin_inset ERT
status collapsed status collapsed
@ -175,7 +156,6 @@ today
\end_layout \end_layout
\begin_layout Address \begin_layout Address
Mr X. Mr X.
Ample Ample
\newline \newline
@ -185,20 +165,16 @@ Mr X.
\end_layout \end_layout
\begin_layout Opening \begin_layout Opening
Dear Mr. Dear Mr.
Ample, Ample,
\end_layout \end_layout
\begin_layout Standard \begin_layout Standard
This template illustrates the use of the new scrlttr2 class (introduced This template illustrates the use of the new scrlttr2 class (introduced
with KOMA-script v. with KOMA-script v.
2.9). 2.9).
This letter class is very flexible. This letter class is very flexible.
Have a look at Have a look at
\family default
\family sans \family sans
Layout\SpecialChar \menuseparator Layout\SpecialChar \menuseparator
Document\SpecialChar \menuseparator Document\SpecialChar \menuseparator
@ -210,13 +186,7 @@ Preamble
status collapsed status collapsed
\begin_layout Standard \begin_layout Standard
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguien.pdf
\begin_inset LatexCommand url
target "http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguien.pdf"
\end_inset
\end_layout \end_layout
\end_inset \end_inset
@ -225,32 +195,31 @@ target "http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-scri
\end_layout \end_layout
\begin_layout Closing \begin_layout Closing
Have fun with it, Have fun with it,
\end_layout \end_layout
\begin_layout PS \begin_layout PS
p.\InsetSpace \thinspace{}
P. s.: The blue colored items have to be before the address, the magenta colored
\begin_inset ERT
status collapsed
\begin_layout Standard
\backslash
,
\end_layout
\end_inset
S.: The blue colored items have to be before the address, the magenta colored
after it. after it.
\end_layout \end_layout
\begin_layout CC \begin_layout CC
The LyX Users The LyX Users
\end_layout \end_layout
\begin_layout EndLetter
\begin_inset Note Note
status collapsed
\begin_layout Standard
keep this environment empty
\end_layout
\end_inset
\end_layout
\end_body \end_body
\end_document \end_document