summaryrefslogtreecommitdiff
path: root/re.tmac
diff options
context:
space:
mode:
Diffstat (limited to 're.tmac')
-rw-r--r--re.tmac35
1 files changed, 25 insertions, 10 deletions
diff --git a/re.tmac b/re.tmac
index 08b9920..f7a04fb 100644
--- a/re.tmac
+++ b/re.tmac
@@ -1,25 +1,40 @@
+.\" configurable options
+.\" --------------------
+.ds Sf C \" font
+.nr Sp 8p \" point size
+.nr Sv 11p \" vertical spacing (leading)
+.nr St 8n \" tab width
+.
+.\" setup
+.\" -----
+.nr FM -1v \" ensure that footnotes fit
+.
+.\" macro definitions
+.\" -----------------
.eo
+.\" Sr -- source code begin
.de Sr
-. mk c
+. mk c \" vertical position where text ends
. if (\nb > \nc) .sp (\nbu - \ncu - 1v)
. if (\nb > 0) .if (\nc > \nb) .sp 0.5v
. if !(\nz = 1) .if (\np > 0) .if (\n% > \np) .sp -(\nbu - \ncu - 1.5v)
. nf
-. ft C
-. ps -2p
-. vs -1p
-. ta 8n +8n +8n +8n +8n
+. ft \*(Sf
+. ps \n(Spu
+. vs \n(Svu
+. ta \n(Stu +\n(Stu +\n(Stu +\n(Stu +\n(Stu +\n(Stu
. in 2.2i
-. mk a
-. nr p \n%
+. mk a \" vertical position where source code begins
+. nr p \n% \" current page number
..
+.\" Se -- source code end
.de Se
-. mk b
+. mk b \" vertical position where source code ends
. rt (\nau - 7p)
. nr z 0
. if (\n% > \np) \{
-. rt \n(HMu
-. nr z 1
+. rt \n(HMu \" return to top of new page
+. nr z 1 \" signal page break
. \}
. nr LL 2i
. LP