summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/context/third/letter/doc/correspondence-letter-examples.tex
blob: 39cf98d07c0f8229bae93f4dce8ea33ab01c2a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
\startcomponent correspondence-letter-examples

\environment correspondence-environment



% short example for single page layouts

\startbuffer[example:content]

\setupletter
  [fromname={John Simmons},
   fromaddress={Parkstreet 12\\8257 Green Bay}]

\setupletter
  [toname={Steve Wilson},
   toaddress={Nightstreet 4a\\9183 Cotton Village}]

\startletter
  [opening={Dear Mr Wilson,},
   subject={Brand new templates for Word},
   closing={Best regards},
   signature={John Simmons}]

\input knuth\par

\stopletter

\stopbuffer

% long example for double page examples (included in running text)

\startbuffer[example:long]

\setupletterstyle[option][backgroundcolor=,before=]

\setupletter
  [fromname={John Simmons},
   fromaddress={Parkstreet 12\\8257 Green Bay}]

\setupletter
  [toname={Steve Wilson},
   toaddress={Nightstreet 4a\\9183 Cotton Village}]

\startletter
  [opening={Dear Mr Wilson,},
   subject={Brand new templates for Word},
   closing={Best regards},
   signature={John Simmons}]

\dorecurse{4}{\input knuth\par}

\stopletter

\stopbuffer



% general text about the example

\chapter{Letter Examples}

The letter module consits not only of just the main module, it contains also a few already defined styles for different countries and each of them use slightly different position for the layers and other setups.

This section will give you a overview of all included styles you could use with the module without the need to write your own style.



% DIN 676 B

\start

\getbuffer[example:content]

\stop

\startexamplecontent[dinb]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:dinb]{DIN 676 B}\index{DIN 676 B}

The letter style \filename{dinb} is the defualt style for the module and is used if nothing else is specified by the user.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[dinb][1]}{First page}
     {\examplecontent[dinb][2]}{Second page}
   \stopcombination}



% DIN 676 A

\start

\useletterstyle[dina]

\getbuffer[example:content]

\stop

\startexamplecontent[dina]

\useletterstyle[dina]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:dina]{DIN 676 A}\index{DIN 676 A}

The second style \filename{dina} follows the same rules as the style \filename{dinb} but all fields shifted by the same value upwards to give you more space for the lettercontent.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[dina][1]}{First page}
     {\examplecontent[dina][2]}{Second page}
   \stopcombination}



% NEN 1026

\start

\useletterstyle[dutch]

\getbuffer[example:content]

\stop

\startexamplecontent[dutch]

\useletterstyle[dutch]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:dutch]{NEN 1026}\index{NEN 1026}

The third style supported by the letter module is for dutch letters, the name of the style is called \filename{dutch}. The values and examples for the style are provided by Willi Egger.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[dutch][1]}{First page}
     {\examplecontent[dutch][2]}{Second page}
   \stopcombination}



% French style

\start

\useletterstyle[french]

\setupletterstyle[indenting={yes,1cm}]

\getbuffer[example:content]

\stop

\startexamplecontent[french]

\useletterstyle[french]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:french]{French}

The french style is based on values given to me by Olivier Guéry.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[french][1]}{First page}
     {\examplecontent[french][2]}{Second page}
   \stopcombination}



% Full block

\start

\useletterstyle[fullblock]

\getbuffer[example:content]

\stop

\startexamplecontent[fullblock]

\useletterstyle[fullblock]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:fullblock]{Full-block Style}\index{Full-block}

The full-block format is the simplest of all six blockstyle formats.
Every part of the letter starts at the left margin with a blank line between
each part.

The order of the parts is date, inside address, attention line, salutation,
subject line, body, complimentary close, signature and additional information.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[fullblock][1]}{First page}
     {\examplecontent[fullblock][2]}{Second page}
   \stopcombination}



% Modified

\start

\useletterstyle[modified]

\getbuffer[example:content]

\stop

\startexamplecontent[modified]

\useletterstyle[modified]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:modified]{Modified Block Style}\index{Modified}

The modified style has the same layout as the full-block style but the date,
signature and closing moved to the right, which allows them to stand.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[modified][1]}{First page}
     {\examplecontent[modified][2]}{Second page}
   \stopcombination}



% Semiblock

\start

\useletterstyle[semiblock]

\getbuffer[example:content]

\stop

\startexamplecontent[semiblock]

\useletterstyle[semiblock]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:semiblock]{Semiblock Style}\index{Semiblock}

The semiblock style is the format most people recognize as business letter.

The layout is the same as in the modified style. Paragraphs are intended
by five spaces\footnote{The semiblock letter style use the \type{medium}
value for \type{\setupindenting} to indent the paragraphs.}.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[semiblock][1]}{First page}
     {\examplecontent[semiblock][2]}{Second page}
   \stopcombination}



% Simplified

\start

\useletterstyle[simplified]

\getbuffer[example:content]

\stop

\startexamplecontent[simplified]

\useletterstyle[simplified]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:simplified]{Simplified Style}\index{Simplified}

The simplified style is used when you don't know the name of the person
you're writing to or when you write to a company.

It contains no title, salutation or complimentary closing. The main focus
is the body of the letter.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[simplified][1]}{First page}
     {\examplecontent[simplified][2]}{Second page}
   \stopcombination}



% Hanging style

\start

\useletterstyle[hanging]

\getbuffer[example:content]

\stop

\startexamplecontent[hanging]

\useletterstyle[hanging]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:hanging]{Hanging indented Style}\index{Hanging}

The hanging indented format is seldom used. It's main advantage
is that it calls attention to the body and each paragraph.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[hanging][1]}{First page}
     {\examplecontent[hanging][2]}{Second page}
   \stopcombination}



% Memorandum

\start

\useletterstyle[memo]

\getbuffer[example:content]

\stop

\startexamplecontent[memo]

\useletterstyle[memo]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:memo]{Memo Style}\index{Memo}

The memo style used primarily for interoffice communication. The top of
the memo indicates the date, the name of the recipient, the name of the
sender and the subject.

The abbreviation \quotation{RE} is sometimes used instead of \quotation{Subject}.

A signature and additional information are optional. The signature is placed
near the center with the additional information at the left margin.

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[memo][1]}{First page}
     {\examplecontent[memo][2]}{Second page}
   \stopcombination}



% English style

\starthiding

\start

\useletterstyle[english]

\getbuffer[example:content]

\stop

\startexamplecontent[english]

\useletterstyle[english]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:english]{English Style}

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[english][1]}{First page}
     {\examplecontent[english][2]}{Second page}
   \stopcombination}

\stophiding



% Swiss style

\start

\useletterstyle[swiss]

\getbuffer[example:content]

\stop

\startexamplecontent[swiss]

\useletterstyle[swiss]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:swiss]{Swiss Style A}

\startframedtext[width=\textwidth,framecolor=red,align=middle,corner=00]
The layout of this style is not finished, if you want to use it give
me information about the correct margins and position of the elements.
\stopframedtext

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[swiss][1]}{First page}
     {\examplecontent[swiss][2]}{Second page}
   \stopcombination}



% Swiss left style

\start

\useletterstyle[swissleft]

\getbuffer[example:content]

\stop

\startexamplecontent[swissleft]

\useletterstyle[swissleft]

\getbuffer[example:long]

\stopexamplecontent

\section[letter:example:swissleft]{Swiss Style B}

\startframedtext[width=\textwidth,framecolor=red,align=middle,corner=00]
The layout of this style is not finished, if you want to use it give
me information about the correct margins and position of the elements.
\stopframedtext

\placefigure
  [force,none]
  {}
  {\startcombination
     {\examplecontent[swissleft][1]}{First page}
     {\examplecontent[swissleft][2]}{Second page}
   \stopcombination}

\stopcomponent