]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/serial_letter3.lyx
Amend and extend 9f3518bc
[lyx.git] / lib / examples / serial_letter3.lyx
index a7c0e5f304d6ece4a05923e92f0aa1a8c6ea1f9d..8c11d2ffe71e87457bb4b9c2add9d54787160bd2 100644 (file)
@@ -1,7 +1,9 @@
-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 314
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 508
 \begin_document
 \begin_header
+\save_transient_properties true
+\origin /systemlyxdir/examples/
 \textclass scrlttr2
 \begin_preamble
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -60,27 +62,64 @@ 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
-\font_roman palatino
-\font_sans default
-\font_typewriter default
+\fontencoding global
+\font_roman "palatino" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
 \font_default_family default
+\use_non_tex_fonts false
 \font_sc false
 \font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 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_package amsmath 0
+\use_package amssymb 0
+\use_package cancel 0
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
 \cite_engine basic
+\cite_engine_type default
+\biblio_style plain
 \use_bibtopic false
+\use_indices false
 \paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\index Index
+\shortcut idx
+\color #008000
+\end_index
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation skip
@@ -91,24 +130,31 @@ 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
 
 \begin_layout Name
-The LyX Developers Team
+The \SpecialChar LyX
+ Developers Team
 \end_layout
 
 \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
 
@@ -121,15 +167,21 @@ www.lyx.org
 \end_layout
 
 \begin_layout Backaddress
-The LyX Developers Team
-\newline
+The \SpecialChar LyX
+ Developers Team
+\begin_inset Newline newline
+\end_inset
+
 140 Map Road
-\newline
+\begin_inset Newline newline
+\end_inset
+
 SVN City
 \end_layout
 
 \begin_layout Signature
-The LyX Team
+The \SpecialChar LyX
+ Team
 \end_layout
 
 \begin_layout Subject
@@ -144,7 +196,7 @@ The Internet
 \begin_inset ERT
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 
 \backslash
@@ -160,7 +212,7 @@ today
 \begin_inset ERT
 status open
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 
 \backslash
@@ -178,11 +230,11 @@ adrentry}[8]{
 \begin_inset ERT
 status open
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 
 \backslash
-if #5w
+if #5f
 \end_layout
 
 \end_inset
@@ -191,8 +243,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
@@ -202,14 +254,19 @@ when person is female
 
 \begin_layout Address
 \begin_inset ERT
-status collapsed
+status open
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 #2 #1
 \backslash
 
 \backslash
+
+\end_layout
+
+\begin_layout Plain Layout
+
 #3
 \end_layout
 
@@ -219,12 +276,15 @@ 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
@@ -251,8 +311,8 @@ This template illustrates the use of the new scrlttr2 class (introduced
  This letter class is very flexible.
  Have a look at 
 \family sans
-Layout\SpecialChar \menuseparator
-Document\SpecialChar \menuseparator
+Layout\SpecialChar menuseparator
+Document\SpecialChar menuseparator
 Preamble
 \family default
  for the most common parameters.
@@ -260,9 +320,14 @@ Preamble
 \begin_inset Foot
 status collapsed
 
-\begin_layout Standard
-http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguie
-n.pdf
+\begin_layout Plain Layout
+\begin_inset CommandInset href
+LatexCommand href
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
+
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -275,20 +340,24 @@ 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
 
 \begin_layout CC
-The LyX Users
+The \SpecialChar LyX
+ Users
 \end_layout
 
 \begin_layout EndLetter
 \begin_inset Note Note
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 keep this environment empty
 \end_layout
 
@@ -301,7 +370,7 @@ keep this environment empty
 \begin_inset ERT
 status open
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 
 \backslash
@@ -314,7 +383,7 @@ fi
 \begin_inset Note Note
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 Schließt obigen 
 \series bold
 
@@ -333,7 +402,7 @@ if
 \begin_inset ERT
 status open
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 }
 \end_layout
@@ -344,7 +413,7 @@ status open
 \begin_inset Note Note
 status collapsed
 
-\begin_layout Standard
+\begin_layout Plain Layout
 Schließt obigen 
 \series bold