X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fserial_letter3.lyx;h=c6cba400aa6445fb5721a9d9098eb4c7c8cfe19b;hb=2a62a2c3957b89489580f59150c20e45a66e4b43;hp=0411e6680432bc6ca53737a8527fb119d5a2f0fb;hpb=886db92f822ad4b346a15204e84abd9aa8fc040b;p=lyx.git diff --git a/lib/examples/serial_letter3.lyx b/lib/examples/serial_letter3.lyx index 0411e66804..c6cba400aa 100644 --- a/lib/examples/serial_letter3.lyx +++ b/lib/examples/serial_letter3.lyx @@ -1,5 +1,5 @@ -#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ -\lyxformat 314 +#LyX 2.0 created this file. For more info see http://www.lyx.org/ +\lyxformat 413 \begin_document \begin_header \textclass scrlttr2 @@ -60,27 +60,55 @@ fromurl=true% print sender URL %\setkomafont{subject}{} %\setkomafont{title}{} \end_preamble +\use_default_options false +\maintain_unincluded_children false \language english +\language_package default \inputencoding auto +\fontencoding global \font_roman palatino \font_sans default \font_typewriter default \font_default_family default +\use_non_tex_fonts false \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 + \graphics default +\default_output_format default +\output_sync 0 +\bibtex_command default +\index_command default \paperfontsize 11 \spacing other 1.15 -\use_hyperref false +\use_hyperref true +\pdf_bookmarks false +\pdf_bookmarksnumbered false +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder true +\pdf_colorlinks false +\pdf_backref false +\pdf_pdfusetitle false \papersize default \use_geometry false \use_amsmath 0 \use_esint 0 +\use_mhchem 1 +\use_mathdots 1 \cite_engine basic \use_bibtopic false +\use_indices false \paperorientation portrait +\suppress_date false +\use_refstyle 0 +\index Index +\shortcut idx +\color #008000 +\end_index \secnumdepth 3 \tocdepth 3 \paragraph_separation skip @@ -91,8 +119,9 @@ fromurl=true% print sender URL \paperpagestyle default \tracking_changes false \output_changes false -\author "" -\author "" +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false \end_header \begin_body @@ -103,12 +132,17 @@ The LyX Developers Team \begin_layout SenderAddress 140 Map Road -\newline +\begin_inset Newline newline +\end_inset + SVN City \end_layout \begin_layout Telephone -0011/222\InsetSpace \thinspace{} +0011/222 +\begin_inset space \thinspace{} +\end_inset + 333 \end_layout @@ -122,9 +156,13 @@ www.lyx.org \begin_layout Backaddress The LyX Developers Team -\newline +\begin_inset Newline newline +\end_inset + 140 Map Road -\newline +\begin_inset Newline newline +\end_inset + SVN City \end_layout @@ -133,7 +171,7 @@ The LyX Team \end_layout \begin_layout Subject -New KOMA letter layout +New KOMA letter layout \end_layout \begin_layout Place @@ -144,7 +182,8 @@ The Internet \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout + \backslash today @@ -159,7 +198,8 @@ today \begin_inset ERT status open -\begin_layout Standard +\begin_layout Plain Layout + \backslash renewcommand*{ @@ -176,10 +216,11 @@ adrentry}[8]{ \begin_inset ERT status open -\begin_layout Standard +\begin_layout Plain Layout + \backslash -if #5w +if #5f \end_layout \end_inset @@ -188,8 +229,8 @@ if #5w \begin_inset Note Note status open -\begin_layout Standard -when person is female +\begin_layout Plain Layout +condition for this letter: gender [#5] must be female [f] \end_layout \end_inset @@ -199,13 +240,19 @@ when person is female \begin_layout Address \begin_inset ERT -status collapsed +status open + +\begin_layout Plain Layout -\begin_layout Standard #2 #1 \backslash \backslash + +\end_layout + +\begin_layout Plain Layout + #3 \end_layout @@ -215,12 +262,16 @@ status collapsed \end_layout \begin_layout Opening -Dear Mrs.\InsetSpace ~ +Dear Mrs. +\begin_inset space ~ +\end_inset + \begin_inset ERT status collapsed -\begin_layout Standard +\begin_layout Plain Layout + #1 \end_layout @@ -255,13 +306,18 @@ Preamble \begin_inset Foot status collapsed -\begin_layout Standard -http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguien.pdf -\end_layout +\begin_layout Plain Layout +\begin_inset CommandInset href +LatexCommand href +target "http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf" \end_inset +\end_layout + +\end_inset + for a detailed description. \end_layout @@ -270,7 +326,10 @@ Have fun with it, \end_layout \begin_layout PS -p.\InsetSpace \thinspace{} +p. +\begin_inset space \thinspace{} +\end_inset + s.: The blue colored items have to be before the address, the magenta colored after it. \end_layout @@ -283,7 +342,7 @@ The LyX Users \begin_inset Note Note status collapsed -\begin_layout Standard +\begin_layout Plain Layout keep this environment empty \end_layout @@ -296,7 +355,8 @@ keep this environment empty \begin_inset ERT status open -\begin_layout Standard +\begin_layout Plain Layout + \backslash fi @@ -308,7 +368,7 @@ fi \begin_inset Note Note status collapsed -\begin_layout Standard +\begin_layout Plain Layout Schließt obigen \series bold @@ -327,7 +387,8 @@ if \begin_inset ERT status open -\begin_layout Standard +\begin_layout Plain Layout + } \end_layout @@ -337,7 +398,7 @@ status open \begin_inset Note Note status collapsed -\begin_layout Standard +\begin_layout Plain Layout Schließt obigen \series bold