blob: 8a307320eeeebb54da9bd004eda4e9d974639c90 (
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
|
\startcomponent correspondence-letter-header
\environment correspondence-environment
\startbuffer[firsthead]
\switchtobodyfont[6pt]
\setlettervalue[fromname] {Max Mustermann}
\setlettervalue[fromaddress]{Musterweg 12\\12345 Musterstadt}
\setlettervalue[fromphone] {1234/567890}
\setlettervalue[fromfax] {1234/567891}
\setlettervalue[fromemail] {max.mustermann@muster.com}
\setlettervalue[fromurl] {max.mustermann.com}
\stopbuffer
\chapter{Header and Footer}
\section{Header}
\placefigure
[fixed]
{none}
{\setupcombinations[before=]
\startcombination[3*3]
{\startsmallelement
\getbuffer[firsthead]
\setupletterstyle[head][fromrule=no]
\letterelement[head][left]
\stopsmallelement}
{\starttable[s1|r|c|l|]
\NC alternative \NC = \NC left \NC\AR
\NC fromrule \NC = \NC no \NC\AR
\stoptable}
{\startsmallelement
\getbuffer[firsthead]
\setupletterstyle[head][fromrule=no]
\letterelement[head][middle]
\stopsmallelement}
{\starttable[s1|r|c|l|]
\NC alternative \NC = \NC middle \NC\AR
\NC fromrule \NC = \NC no \NC\AR
\stoptable}
{\startsmallelement
\getbuffer[firsthead]
\setupletterstyle[head][fromrule=no]
\letterelement[head][right]
\stopsmallelement}
{\starttable[s1|r|c|l|]
\NC alternative \NC = \NC right \NC\AR
\NC fromrule \NC = \NC no \NC\AR
\stoptable}
{\startsmallelement
\getbuffer[firsthead]
\setupletterstyle[head][fromrule=top]
\letterelement[head][left]
\stopsmallelement}
{\starttable[s1|r|c|l|]
\NC alternative \NC = \NC left \NC\AR
\NC fromrule \NC = \NC top \NC\AR
\stoptable}
{\startsmallelement
\getbuffer[firsthead]
\setupletterstyle[head][fromrule=top]
\letterelement[head][middle]
\stopsmallelement}
{\starttable[s1|r|c|l|]
\NC alternative \NC = \NC middle \NC\AR
\NC fromrule \NC = \NC top \NC\AR
\stoptable}
{\startsmallelement
\getbuffer[firsthead]
\setupletterstyle[head][fromrule=top]
\letterelement[head][right]
\stopsmallelement}
{\starttable[s1|r|c|l|]
\NC alternative \NC = \NC right \NC\AR
\NC fromrule \NC = \NC top \NC\AR
\stoptable}
{\startsmallelement
\getbuffer[firsthead]
\setupletterstyle[head][fromrule=bottom]
\letterelement[head][left]
\stopsmallelement}
{\starttable[s1|r|c|l|]
\NC alternative \NC = \NC left \NC\AR
\NC fromrule \NC = \NC bottom \NC\AR
\stoptable}
{\startsmallelement
\getbuffer[firsthead]
\setupletterstyle[head][fromrule=bottom]
\letterelement[head][middle]
\stopsmallelement}
{\starttable[s1|r|c|l|]
\NC alternative \NC = \NC middle \NC\AR
\NC fromrule \NC = \NC bottom \NC\AR
\stoptable}
{\startsmallelement
\getbuffer[firsthead]
\setupletterstyle[head][fromrule=bottom]
\letterelement[head][right]
\stopsmallelement}
{\starttable[s1|r|c|l|]
\NC alternative \NC = \NC right \NC\AR
\NC fromrule \NC = \NC bottom \NC\AR
\stoptable}
\stopcombination}
\stopcomponent
|