aboutsummaryrefslogtreecommitdiff
path: root/g.tmac
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-20 14:25:21 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-20 14:25:21 +0200
commitf8dbb1b989675bc4316b3422357a2aa14f1ff577 (patch)
tree962931d069a6de0857082b5852f6acde4bf0d0c5 /g.tmac
parenta713869fd69ddec3f2ff2c4df6a3d9d6d885b739 (diff)
downloadmk-f8dbb1b989675bc4316b3422357a2aa14f1ff577.tar.gz
Support custom vertical spacing in footnotes
Diffstat (limited to 'g.tmac')
-rw-r--r--g.tmac9
1 files changed, 5 insertions, 4 deletions
diff --git a/g.tmac b/g.tmac
index 5aca76d..ca6bf2c 100644
--- a/g.tmac
+++ b/g.tmac
@@ -83,7 +83,7 @@
. _E _f \" footnote
. _ec 0
. ps -2p
-. \" do not change vs!
+. vs -1p
. _E _m \" margins (header, footer)
. _ec 0
. _E
@@ -194,6 +194,8 @@
. _E _m
___________________
. br
+. sp 1p
+. _E _f
. _n
. br
.
@@ -337,14 +339,13 @@ ___________________
. br
\!.br
. boxa
-. _E
. ie !'\$1'' \&\$1
. el \&
.
. \" print footnote at bottom of page
-. nr _dn +\n(dnu
. ch _tn
-. if !'\n(dn'0' .wh -\n[_dn]u-1i-1v _tn
+. nr _dn +\n(dnu
+. if !'\n(dn'0' .wh -\n[_dn]u-\n(mbu-12p _tn
..
.
.ec \" re-enable backslash escapes