]> git.lyx.org Git - wiki-uploads.git/blob - Examples/Letters/Koma_letter2_by_Jean-Marie/ksl2pro.lyx
Import uploads from wiki
[wiki-uploads.git] / Examples / Letters / Koma_letter2_by_Jean-Marie / ksl2pro.lyx
1 #LyX 1.4.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 245
3 \begin_document
4 \begin_header
5 \textclass scrlttr2
6 \begin_preamble
7 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8 %% Here you can modify the layout of your letter
9 %% Have a look at the KOMA script documentation
10 %% for details. Most commands are commented out
11 %% here (i.e. we use default settings)
12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13
14 %% Load an *.lco style file (see KOMA documentation)
15 \LoadLetterOption{NFpro}%                          
16
17 %% THE CLASS OPTIONS
18 %% Remove preceeding '%' to uncomment an item
19 \KOMAoptions{%
20 footsepline=true%             separate the footer with a line on page >1
21 %,headsepline=true%            separate the header with a line on page >1
22 %,pagenumber=botcenter%   position of the page number (see docu)
23 %,parskip=false%          Use indent instead of skip (more options cf. docu)
24 %,fromalign=left%        alignment of the address
25 %,fromrule=aftername%    separate the address with a line?
26 %,fromphone=true%         print sender phone number
27 %,fromfax=true%          print sender fax number
28 %,fromemail=true%           print sender e-mail address
29 %,fromurl=true%               print sender URL
30 ,fromlogo=true%         print a logo (position depends on fromalign)
31 %,addrfield=false%        print an address field?
32 ,backaddress=false%  print the back address?
33 %,subject=afteropening,titled% alternative subject layout and position
34 %,locfield=narrow%      width of the (extra) location field
35 %,foldmarks=false%      print foldmarks?
36 %,numericaldate=true%  date layout
37 %,refline=wide%             layout of the refline
38 }
39
40 %% Customize Separators
41 %\setkomavar{placeseparator}{ -- }
42 \setkomavar{backaddressseparator}{ $\cdot$ }
43 \setkomavar{emailseparator}{ ~:~ }
44 \setkomavar{faxseparator}{ ~:~ }
45 \setkomavar{phoneseparator}{ ~:~ }
46 \setkomavar{urlseparator}{ ~:~ }
47 \setkomavar{subjectseparator}{ ~:~ }
48 %\setkomavar{enclseparator}{ > }
49
50 %% Customize fonts
51 %% Use LaTeX's standard font commands
52 %% Modify with \setkomafont or \addtokomafont
53 %% (see KOMA documentation)
54 \setkomafont{backaddress}{\rmfamily}
55 %\setkomafont{descriptionlabel}{}
56 \setkomafont{fromaddress}{\small}
57 \setkomafont{fromname}{\scshape}
58 %\setkomafont{pagefoot}{}
59 %\setkomafont{pagehead}{}
60 %\setkomafont{pagenumber}{}
61 %\setkomafont{subject}{}
62 %\setkomafont{title}{}
63 \end_preamble
64 \language french
65 \inputencoding auto
66 \fontscheme palatino
67 \graphics default
68 \paperfontsize 11
69 \spacing other 1.15
70 \papersize a4paper
71 \use_geometry true
72 \use_amsmath 0
73 \cite_engine basic
74 \use_bibtopic false
75 \paperorientation portrait
76 \leftmargin 3cm
77 \rightmargin 3cm
78 \secnumdepth 3
79 \tocdepth 3
80 \paragraph_separation skip
81 \defskip smallskip
82 \quotes_language french
83 \papercolumns 1
84 \papersides 2
85 \paperpagestyle default
86 \tracking_changes false
87 \output_changes true
88 \end_header
89
90 \begin_body
91
92 \begin_layout Logo
93 \begin_inset Graphics
94         filename prologo.eps
95         lyxscale 20
96         width 5cm
97         keepAspectRatio
98
99 \end_inset
100
101
102 \end_layout
103
104 \begin_layout Name
105 Maboite
106 \end_layout
107
108 \begin_layout SenderAddress
109 22 rue Tabaga
110 \newline
111 54321 ICI EN FRANCE
112 \end_layout
113
114 \begin_layout Telephone
115 01\InsetSpace \thinspace{}
116 23\InsetSpace \thinspace{}
117 45\InsetSpace \thinspace{}
118 67\InsetSpace \thinspace{}
119 89
120 \end_layout
121
122 \begin_layout Fax
123 01\InsetSpace \thinspace{}
124 23\InsetSpace \thinspace{}
125 45\InsetSpace \thinspace{}
126 67\InsetSpace \thinspace{}
127 80
128 \end_layout
129
130 \begin_layout E-Mail
131 info@maboite.fr
132 \end_layout
133
134 \begin_layout URL
135 www.maboite.fr
136 \end_layout
137
138 \begin_layout Backaddress
139 Maboite
140 \newline
141 22 rue Tabaga
142 \newline
143 54321 Ici en France
144 \end_layout
145
146 \begin_layout Signature
147 Jean Aibavet
148 \end_layout
149
150 \begin_layout Customer
151 411DUPONT
152 \end_layout
153
154 \begin_layout Myref
155 JA098
156 \end_layout
157
158 \begin_layout Yourref
159 RD1234
160 \end_layout
161
162 \begin_layout Invoice
163 FA070123
164 \end_layout
165
166 \begin_layout Subject
167 Nouveau format de lettre KOMA
168 \end_layout
169
170 \begin_layout Place
171 Ici en France
172 \end_layout
173
174 \begin_layout Date
175 le 
176 \begin_inset ERT
177 status collapsed
178
179 \begin_layout Standard
180
181
182 \backslash
183 today
184 \end_layout
185
186 \end_inset
187
188
189 \end_layout
190
191 \begin_layout Address
192 Monsieur Robert Dupont
193 \newline
194 Maître imprimeur
195 \newline
196 Escalier 2 Bâtiment A
197 \newline
198 666 place Tique
199 \newline
200 12345
201  NULLEPART
202 \newline
203 FRANCE
204 \end_layout
205
206 \begin_layout Opening
207 Cher Monsieur Dupont,
208 \end_layout
209
210 \begin_layout Standard
211 Voici un exemple d'utilisation de la nouvelle classe scrlttr2 (qui a été
212  introduite avec la version 2.9 de KOMA-script).
213  Cette classe de lettre est très souple.
214  Regardez dans 
215 \family sans
216 Document\SpecialChar \menuseparator
217 Paramètres...\SpecialChar \menuseparator
218 Preambule
219 \family default
220  pour les paramètres usuels.
221  Pour des informations plus détaillées, consultez la documentation KOMA
222  Script
223 \begin_inset Foot
224 status open
225
226 \begin_layout Standard
227 \begin_inset LatexCommand \url{http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf}
228
229 \end_inset
230
231
232 \end_layout
233
234 \end_inset
235
236 .
237 \end_layout
238
239 \begin_layout Standard
240 Le fichier utilisé pour la disposition des différents éléments sur la page
241  (avec le logo et le pied de page) et qui correspond le mieux aux habitudes
242  françaises est le fichier 
243 \begin_inset Quotes fld
244 \end_inset
245
246 NFpro.lco
247 \begin_inset Quotes frd
248 \end_inset
249
250 .
251 \end_layout
252
253 \begin_layout Closing
254 Ne vous en privez pas,
255 \end_layout
256
257 \end_body
258 \end_document