1 .\" A package for short English manuscripts
2 .\" Registers and their default values
3 .nr PS 14 \" point size
4 .nr VS \n(PS+12 \" vertical spacing
5 .nr LL 6i \" line length
6 .nr PO 1.1i \" page offset
7 .nr FP -1.2i \" footer position
9 .nr en.in 0 \" current indentation
10 .nr en.ip 2m \" IP indentation
11 .nr en.pi 2m \" RS indentation
12 .nr en.pg 1 \" page numbering (0 disables)
13 .ds en.cl "0 \" header colour
14 .\" Reset variables; when beginning a paragraph, e.g.
30 . if \\n(.d%\\n(.v 'sp \\n(.vu-(\\n(.du%\\n(.vu)
33 .de LP \" Paragraphs without temporary indentation
36 .de PP \" Ordinary paragraphs
40 .de QP \" Quoted paragraphs
45 .de IP \" Indented paragraphs
49 . if \\n(.$>1 .nr en.ip \\$2
54 .de RS \" Indented block start
56 . if \\n(.$ .nr en.pi \\$1
57 . nr en.in +\\n[en.pi]
59 .de RE \" Indented block end
61 . if \\n(.$ .nr en.pi \\$1
62 . nr en.in -\\n[en.pi]
110 .\" Preprocessor macros
129 . in (\\n(.lu-\\$2)/2u
141 .\" Header and footer macros
142 .de FT \" Page footer
145 ' sp |\\n(.pu+\\n(FPu
151 . if \\n(.t==(\\n(.p+(\\n(FP)) .HD
153 .de HD \" Page header (called by FT)
162 .de FT.pg \" Footer page number
163 . ie \\n[en.pg]=1 'tl ''\>%\<''
166 .de HD.pg \" Header page number
172 . ie \\n[en.footnum] .ne 2
174 . if !\\n[en.footnum] .nr en.footpos 0\\n(FP+\\n(VSp
182 . if \\n[en.footnum]=1 \l'3i'
183 . ds en.footsign "\\n[en.footnum]
184 . if \\n(.$>0 .ds en.footsign "\\$1
194 \s-4\u\\*[en.footsign]\d\s+4
195 . nr en.footpos -\\n(dn
196 . ch FT \\n[en.footpos]u
199 . if \\n[en.footnum] \{\
231 .\" Font setup for Computer Modern
242 . fspecial CMR S1 S CMEX CMSY
243 . ochar CMR { "\f[CMSY]{\fP
244 . ochar CMR } "\f[CMSY]}\fP
245 . ochar CMR \(<= "\f[CMSY]\(<=\fP
246 . ochar CMR < "\f[CMSY]<\fP
247 . ochar CMR > "\f[CMSY]>\fP
248 . ochar CMR \(>= "\f[CMSY]\(>=\fP
249 . ochar CMR \(mu "\f[CMSY]\(mu\fP