diff options
author | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-06-02 22:11:39 +0200 |
---|---|---|
committer | John Ankarstr\xf6m <john@ankarstrom.se> | 2021-06-02 22:50:51 +0200 |
commit | a7c59ecbf5b37e8dac7e23e5056106d30b71d41c (patch) | |
tree | 7e9c3d586f0e89d89b375686fbb9b876b9ed2725 | |
parent | c4082d824547f116b03b5f9e62aa376bff1ddb1e (diff) | |
download | ref-a7c59ecbf5b37e8dac7e23e5056106d30b71d41c.tar.gz |
re.tmac: Add comments, configurable options
-rw-r--r-- | re.tmac | 35 |
1 files changed, 25 insertions, 10 deletions
@@ -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 |