aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--g.tmac14
1 files changed, 13 insertions, 1 deletions
diff --git a/g.tmac b/g.tmac
index f9707ef..2873fb8 100644
--- a/g.tmac
+++ b/g.tmac
@@ -1,7 +1,9 @@
.eo
.\" _s -- setup document (configurable)
.de _s
-. sp 1i
+. wh 0 _h
+. wh -1i _f
+. sp 1u \" trigger _h
. ns
. _e t \" title
. ps +4p
@@ -19,6 +21,16 @@
. ad b
. _e
..
+.\" _h -- page header
+.de _h
+' sp 1i
+..
+.\" _f -- page footer
+.de _f
+' sp 1v
+. tl ''%''
+' bp
+..
.\" _e -- set environment
.de _e
. br