mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
method to avoid to use the end letter environment (patch by Jürgen)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22811 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
54352badaf
commit
11b34c23ff
@ -31,16 +31,24 @@ Style Labeling
|
||||
EndPreamble
|
||||
End
|
||||
|
||||
|
||||
Style List
|
||||
Obsoletedby Labeling
|
||||
End
|
||||
|
||||
|
||||
Preamble
|
||||
\newif\ifletterclosed
|
||||
EndPreamble
|
||||
|
||||
|
||||
Style Address
|
||||
LatexType Command
|
||||
LatexName begin
|
||||
LatexParam {letter}
|
||||
Preamble
|
||||
\AtEndDocument{\ifletterclosed\else\end{letter}\fi}
|
||||
EndPreamble
|
||||
KeepEmpty 1
|
||||
LeftMargin xxxxxxxxxxxx::xx
|
||||
LabelSep xx
|
||||
@ -326,6 +334,9 @@ Style EndLetter
|
||||
Margin Dynamic
|
||||
LatexType Command
|
||||
LatexName end{letter}
|
||||
Preamble
|
||||
\letterclosedtrue
|
||||
EndPreamble
|
||||
KeepEmpty 1
|
||||
TopSep 1
|
||||
ParSkip 0.4
|
||||
|
@ -146,6 +146,7 @@ status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
|
||||
|
||||
\backslash
|
||||
today
|
||||
\end_layout
|
||||
@ -186,7 +187,8 @@ Preamble
|
||||
status collapsed
|
||||
|
||||
\begin_layout Standard
|
||||
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguien.pdf
|
||||
http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguie
|
||||
n.pdf
|
||||
\end_layout
|
||||
|
||||
\end_inset
|
||||
@ -208,18 +210,5 @@ s.: The blue colored items have to be before the address, the magenta colored
|
||||
The LyX Users
|
||||
\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_document
|
||||
|
Loading…
Reference in New Issue
Block a user