aboutsummaryrefslogtreecommitdiff
path: root/g.tmac
diff options
context:
space:
mode:
Diffstat (limited to 'g.tmac')
-rw-r--r--g.tmac10
1 files changed, 4 insertions, 6 deletions
diff --git a/g.tmac b/g.tmac
index 69e39b2..b751607 100644
--- a/g.tmac
+++ b/g.tmac
@@ -34,10 +34,9 @@
.
. \" set header/footer traps
. wh 0 @th
-. if \n(.t=\n(.p .wh -1i @tf
-.
-. \" trigger header
-. if \n(nl=0 .@th
+. if \n(nl<=0 .@th
+. nr _ \n(.p-\n(nl
+. if \n(.t=\n_ .wh -1i @tf
.
. \" configure environments
. @e d \" date
@@ -348,9 +347,8 @@ ___________________
.
. \" switch environment and capture footnote
. (e @f
-. ti 9p
. boxa @n
-\v'-.3m'\s'\En(.s*80/100'\n(@n\s0\v'.3m'\h'2p'\c
+\h'9p'\v'-.3m'\s'\En(.s*80/100'\n(@n\s0\v'.3m'\h'2p'\c
..
.
.\" ) -- end footnote