]> git.lyx.org Git - lyx.git/blob - lib/templates/koma-letter2.lyx
add Comment layout to scrlttr2 textclass
[lyx.git] / lib / templates / koma-letter2.lyx
1 #LyX 1.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 221
3 \textclass scrlettr2
4 \begin_preamble
5 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6 %% Here you can modify the layout of your letter
7 %% Have a look at the KOMA script documentation
8 %% for details. Most commands are commented out
9 %% here (i.e. we use default settings)
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12 %% Load an *.lco style file (see KOMA documentation)
13 \LoadLetterOption{DIN}%                          
14
15 %% THE CLASS OPTIONS
16 %% Remove preceeding '%' to uncomment an item
17 \KOMAoptions{%
18 %,headsepline=true%            separate the header with a line on page >1
19 %,footsepline=true%             separate the footer with a line on page >1
20 %pagenumber=botcenter%   position of the page number (see docu)
21 %,parskip=false%          Use indent instead of skip (more options cf. docu)
22 ,fromalign=center%        alignment of the address
23 ,fromrule=aftername%    separate the address with a line?
24 ,fromphone=true%         print sender phone number
25 %,fromfax=true%          print sender fax number
26 ,fromemail=true%           print sender e-mail address
27 ,fromurl=true%               print sender URL
28 %,fromlogo=true%         print a logo (position depends on fromalign)
29 %,addrfield=false%        print an address field?
30 %,backaddress=false%  print the back address?
31 %,subject=afteropening,titled% alternative subject layout and position
32 %,locfield=narrow%      width of the (extra) location field
33 %,foldmarks=false%      print foldmarks?
34 %,numericaldate=true%  date layout
35 %,refline=wide%             layout of the refline
36 }
37
38 %% Customize Separators
39 %\setkomavar{placeseparator}{ -- }
40 \setkomavar{backaddressseparator}{ $\cdot$ }
41 %\setkomavar{emailseparator}{ --> }
42 %\setkomavar{enclseparator}{ > }
43 %\setkomavar{faxseparator}{ --> }
44 %\setkomavar{phoneseparator}{ --> }
45 %\setkomavar{subjectseparator}{ >>> }
46
47 %% Customize fonts
48 %% Use LaTeX's standard font commands
49 %% Modify with \setkomafont or \addtokomafont
50 %% (see KOMA documentation)
51 \setkomafont{backaddress}{\rmfamily}
52 %\setkomafont{descriptionlabel}{}
53 \setkomafont{fromaddress}{\small}
54 \setkomafont{fromname}{\scshape}
55 %\setkomafont{pagefoot}{}
56 %\setkomafont{pagehead}{}
57 %\setkomafont{pagenumber}{}
58 %\setkomafont{subject}{}
59 %\setkomafont{title}{}
60 \end_preamble
61 \language english
62 \inputencoding auto
63 \fontscheme palatino
64 \graphics default
65 \paperfontsize 11
66 \spacing other 1.15 
67 \papersize Default
68 \paperpackage a4
69 \use_geometry 0
70 \use_amsmath 0
71 \use_natbib 0
72 \use_numerical_citations 0
73 \paperorientation portrait
74 \secnumdepth 3
75 \tocdepth 3
76 \paragraph_separation indent
77 \defskip medskip
78 \quotes_language danish
79 \quotes_times 2
80 \papercolumns 1
81 \papersides 1
82 \paperpagestyle default
83
84 \layout Name
85
86 The LyX Developers Team
87 \layout SenderAddress
88
89 140 Map Road
90 \newline 
91 CVS City
92 \layout Telephone
93
94 0011/222
95 \begin_inset ERT
96 status Collapsed
97
98 \layout Standard
99
100 \backslash 
101 ,
102 \end_inset 
103
104 333
105 \layout E-Mail
106
107 lyx-users@lists.lyx.org
108 \layout URL
109
110 www.lyx.org
111 \layout Backaddress
112
113 The LyX Developers Team
114 \newline 
115 140 Map Road
116 \newline 
117 CVS City
118 \layout Signature
119
120 The LyX Team
121 \layout Subject
122
123 New KOMA letter layout 
124 \layout Place
125
126 The Internet
127 \layout Date
128
129
130 \begin_inset ERT
131 status Collapsed
132
133 \layout Standard
134
135 \backslash 
136 today
137 \end_inset 
138
139
140 \layout Address
141
142 Mr X.
143  Ample
144 \newline 
145 666 Sesame Street
146 \newline 
147 12345 Nowhere
148 \layout Opening
149
150 Dear Mr.
151  Ample,
152 \layout Standard
153
154 This template illustrates the use of the new scrlttr2 class (introduced
155  with KOMA-script v.
156  2.9).
157  This letter class is very flexible.
158  Have a look at 
159 \family sans 
160 Layout\SpecialChar \menuseparator
161 Document\SpecialChar \menuseparator
162 Preamble
163 \family default 
164  for the most common parameters.
165  Please consult the KOMA Script documentation
166 \begin_inset Foot
167 collapsed true
168
169 \layout Standard
170
171
172 \begin_inset LatexCommand \url{http://www.ctan.org/tex-archive/macros/latex/contrib/supported/koma-script/scrguien.pdf}
173
174 \end_inset 
175
176
177 \end_inset 
178
179  for a detailed description.
180 \layout Closing
181
182 Have fun with it,
183 \layout PS
184
185 P.
186 \begin_inset ERT
187 status Collapsed
188
189 \layout Standard
190
191 \backslash 
192 ,
193 \end_inset 
194
195 S.: The blue colored items have to be before the address, the magenta colored
196  after it.
197 \layout CC
198
199 The LyX Users
200 \the_end