docs/master

view style @ 0:dc2bfef4cda7

Initial commit: Basic structure, macros and fonts.
author markus schnalke <meillo@marmaro.de>
date Sat, 03 Mar 2012 12:55:57 +0100
parents
children 8fea9ed7c298
line source
1 .do xflag 3
2 .de __
3 ..
4 .blm __ \" ignore empty lines in input
5 .lc_ctype en_US.utf8
6 .mediasize a4
8 .fp 1 R LinLibertine_R otf
9 .feature R +onum
10 .fp 2 I LinLibertine_RI otf
11 .feature I +onum
12 .fp 3 B LinLibertine_RB otf
13 .feature B +onum
14 .fp 4 BI LinLibertine_RBI otf
15 .feature BI +onum
16 .fp 5 CW TerminusMedium-4.36 ttf
17 .fp 0 CI TerminusMediumItalic-4.36 ttf
18 .fp 0 CB TerminusBold-4.36 ttf
19 .fp 0 L TerminusMedium-4.36 ttf
20 .fp 0 RC LinLibertine_R otf
21 .feature RC +onum +smcp
22 .fp 0 BC LinLibertine_RB otf
23 .feature BC +onum +smcp
25 .ig
26 . nr PS 10
27 . nr VS 12
28 ..
30 .nr PI 3n
31 .nr PD .5v
32 .nr lu 0
33 .af PN i
35 .ds _E '\\\\n(PN''\f(RCMarkus Schnalke: The Modern Mail Handler\fP' \" left
36 .ds _O '\f(RCChapter \\\\n(H1\ \ \\\\*(_C\fP''\\\\n(PN' \" right
37 .ds CH "
39 .nr HM 3.3c
40 .nr FM 6.6c
41 .nr LL 14c
42 .ll 14c
43 .nr LT \n(LL
44 .nr PO 2.3c
45 .de _X
46 \&
47 ..
48 .wh 2.8c _X
50 .de _M \" change margins for text block on next page
51 .if e .nr PO -2.3c
52 .if o .nr PO +2.3c
53 .ds CF "
54 ..
55 .wh -1u _M
57 .de CW
58 .nr PQ \\n(.f
59 .if t \{\
60 . ft CW
61 . if !^\\$1^^ \&\\$1\f\\n(PQ\\$2
62 .\}
63 .if n \{\
64 . ie ^\\$1^^ .ul 999
65 . el .ul 1
66 . if \\n(.$=1 \&\\$1
67 . if \\n(.$>1 \&\\$1\c
68 . if \\n(.$>1 \&\\$2
69 .\}
70 ..
72 .ds [. [
73 .ds .] ]
74 .rm ]<
75 .de ]<
76 . LP
77 . de FP
78 . IP \\\\$1.
79 \\..
80 . rm FS FE
81 ..
83 .am PT
84 . rs
85 ..
87 .rm NH
88 .de NH
89 .SH
90 .nr NS \\$1
91 .if !\\n(.$ .nr NS 1
92 .if !\\n(NS .nr NS 1
93 .nr H\\n(NS +1
94 .if !\\n(NS-4 .nr H5 0
95 .if !\\n(NS-3 .nr H4 0
96 .if !\\n(NS-2 .nr H3 0
97 .if !\\n(NS-1 .nr H2 0
98 .if !\\$1 .if \\n(.$ .nr H1 1
99 .if ,\\$1,S, \{\
100 . nr NS \\n(.$-1
101 . nr H1 \\$2 0
102 . nr H2 \\$3 0
103 . nr H3 \\$4 0
104 . nr H4 \\$5 0
105 . nr H5 \\$6 0
106 .\}
107 .ds SN \\n(H1
108 .if \\n(NS-1 .as SN \&.\\n(H2
109 .if \\n(NS-2 .as SN \&.\\n(H3
110 .if \\n(NS-3 .as SN \&.\\n(H4
111 .if \\n(NS-4 .as SN \&.\\n(H5
112 ..
114 .de H0
115 .EH "
116 .OH "
117 .bp
118 .if e .bp
119 .EH "\\\\*(_E
120 .OH "\\\\*(_O
121 .ds CF \\n(PN
122 \
123 . lg 0
124 . nr PS +6
125 . nr VS +6
126 .if \\n(.$=2 .if ,\\$2,no, .SH
127 .if \\n(.$=1 \{\
128 . NH 1
129 . ce 1
130 Chapter \\*(SN
131 . sp .5
132 .\}
133 . ce 1
134 . tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
135 \&\\$1
136 . br
137 . tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
138 . nr PS -6
139 . nr VS -6
140 . lg
141 .ds _C "\\$1
142 . RT
143 . XS
144 . sp .5v
145 . B
146 .if ''\\*(SN' \&\\$1
147 .if \\*(SN \{\
148 Chapter \\*(SN \\$1
149 .\}
150 . XE
151 .sp 4
152 .nr PP 0
153 ..
155 .de H1
156 .br
157 .ne 7
158 .sp 2
159 . nr PS +2
160 . nr VS +2
161 . NH 2
162 . lg 0
163 . tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
164 \&\\*(SN \\$1
165 . br
166 . tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
167 . nr PS -2
168 . nr VS -2
169 . lg
170 . RT
171 .ds _S "\\$1
172 . XS
173 \\*(SN \\$1
174 . XE
175 .nr PP 0
176 ..
178 .de P
179 .ie \\n(PP .PP
180 .el .LP
181 .nr PP 1
182 ..
184 .am IP
185 .nr PP 0
186 ..
188 .am QP
189 .ps -1
190 ..
192 .am DS
193 .ft CW
194 .ps -1
195 .ta T 8n
196 .nr PP 0
197 ..
199 .am FA
200 .ps 8
201 .vs 9
202 ..