diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-20 00:36:41 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-20 00:36:41 +0200 |
commit | 137c5ab18d8447945b8997e6ddfe4dc80a6680b4 (patch) | |
tree | 42ff23842a9fd604c4b7d15b676fff160a414d9a | |
parent | 01492d472aae4588036a6f140b336cbb032f46e8 (diff) | |
download | mk-137c5ab18d8447945b8997e6ddfe4dc80a6680b4.tar.gz |
Add tt, tb strings (top, bottom margin text)
Also, enable no-space mode after header.
-rw-r--r-- | g.tmac | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -23,8 +23,10 @@ .de _a . . \" configure initial options -. _nr mt 1i \" margin top -. _nr mb 1i \" margin bottom +. _nr mt 1i \" top margin +. _nr mb 1i \" bottom margin +. _ds tt '''' \" text in top margin +. _ds tb ''%'' \" text in bottom margin . . \" initialize document . wh 0 _ht @@ -169,9 +171,10 @@ . . \" print footer . _E _m -. sp 2v -. tl ''%'' +. sp \n(mbu-2v-24p +. tl \*(tb . bp +. ns . . \" print overflowed text on next page . _rest @@ -180,7 +183,11 @@ .\" _ht -- header trap .de _ht . _E _m -' sp \n(mtu +. rt 0 +. sp 24p +. tl \*(tt +. rt 0 +. sp \n(mtu .. . .\" _nt -- footnote trap |