lyx_mirror/lib/examples/Letters/Serial_Letter_3.lyx

462 lines
7.9 KiB
Plaintext
Raw Permalink Normal View History

2020-12-29 17:03:05 +00:00
#LyX 2.4 created this file. For more info see https://www.lyx.org/
2024-01-11 16:06:40 +00:00
\lyxformat 620
\begin_document
\begin_header
2016-01-12 21:30:37 +00:00
\save_transient_properties true
2019-03-25 15:32:27 +00:00
\origin /systemlyxdir/examples/Letters/
\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}{}
2020-12-29 17:03:05 +00:00
% Added by lyx2lyx
\setlength{\parskip}{\medskipamount}
\setlength{\parindent}{0pt}
\end_preamble
\use_default_options false
2020-12-29 17:03:05 +00:00
\maintain_unincluded_children no
\language english
\language_package default
\inputencoding utf8
2020-12-29 17:03:05 +00:00
\fontencoding auto
\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_roman_osf false
2020-12-29 17:03:05 +00:00
\font_sans_osf false
\font_typewriter_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
2017-04-24 04:03:19 +00:00
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize 11
\spacing other 1.15
\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_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
2014-03-23 16:31:51 +00:00
\use_package mathdots 1
\use_package mathtools 1
2014-03-23 16:31:51 +00:00
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine basic
2014-03-23 16:31:51 +00:00
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
2014-03-23 16:31:51 +00:00
\justification true
\use_refstyle 0
\use_minted 0
2020-12-29 17:03:05 +00:00
\use_lineno 0
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
2020-12-29 17:03:05 +00:00
\paragraph_separation indent
\paragraph_indentation default
2017-04-24 04:03:19 +00:00
\is_math_indent 0
2017-08-14 06:31:24 +00:00
\math_numbering_side default
2017-04-24 04:03:19 +00:00
\quotes_style danish
\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\tablestyle default
\tracking_changes false
\output_changes false
\change_bars false
\postpone_fragile_content false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\docbook_table_output 0
\docbook_mathml_prefix 1
\end_header
\begin_body
\begin_layout Name
The \SpecialChar LyX
Developers Team
\end_layout
\begin_layout SenderAddress
140 Map Road
\begin_inset Newline newline
\end_inset
SVN City
\end_layout
\begin_layout Telephone
0011/222
\begin_inset space \thinspace{}
\end_inset
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
The \SpecialChar LyX
Developers Team
\begin_inset Newline newline
\end_inset
140 Map Road
\begin_inset Newline newline
\end_inset
SVN City
\end_layout
\begin_layout Signature
The \SpecialChar LyX
Team
\end_layout
\begin_layout Subject
New KOMA letter layout
\end_layout
\begin_layout Place
The Internet
\end_layout
\begin_layout Date
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
\backslash
today
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
renewcommand*{
\backslash
adrentry}[8]{
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
if #5f
\end_layout
\end_inset
\begin_inset Note Note
status open
\begin_layout Plain Layout
condition for this letter:
gender [#5] must be female [f]
\end_layout
\end_inset
\end_layout
\begin_layout Address
\begin_inset ERT
status open
\begin_layout Plain Layout
#2 #1
\backslash
\backslash
\end_layout
\begin_layout Plain Layout
#3
\end_layout
\end_inset
\end_layout
\begin_layout Opening
Dear Mrs.
\begin_inset space ~
\end_inset
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
#1
\end_layout
\end_inset
,
\end_layout
\begin_layout Standard
this example is a serial letter to
\series bold
all female persons
\series default
in an address database.
The design of address databases is described in the documentation listed below.
\end_layout
\begin_layout Standard
This template illustrates the use of the new scrlttr2 class (introduced with KOMA-script v.
2.9).
This letter class is very flexible.
Have a look at
\family sans
Layout\SpecialChar menuseparator
Document\SpecialChar menuseparator
Preamble
\family default
for the most common parameters.
Please consult the KOMA Script documentation
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset href
LatexCommand href
2016-01-04 11:45:41 +00:00
target "http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
2017-04-24 04:03:19 +00:00
literal "false"
\end_inset
\end_layout
\end_inset
for a detailed description.
\end_layout
\begin_layout Closing
Have fun with it,
\end_layout
\begin_layout PS
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 \SpecialChar LyX
Users
\end_layout
\begin_layout EndLetter
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
keep this environment empty
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
fi
\end_layout
\end_inset
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
Schließt obigen
\series bold
\backslash
if
\series default
Befehl ab.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
}
\end_layout
\end_inset
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
Schließt obigen
\series bold
\backslash
renewcommand*
\series default
Befehl ab.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
\begin_inset CommandInset include
LatexCommand input
filename "addressExample.adr"
2020-12-29 17:03:05 +00:00
literal "true"
\end_inset
\end_layout
\end_body
\end_document