aboutsummaryrefslogtreecommitdiff
path: root/cv.tmac
diff options
context:
space:
mode:
authorCian Bagshaw <cian@cianb.xyz>2022-11-01 01:13:46 +0000
committerCian Bagshaw <cian@cianb.xyz>2022-11-01 01:13:46 +0000
commit992d4e41d5bb277c73c2346903013b736bcf90a0 (patch)
tree2203d9b8376b51eab5ede5535fcd2300c91c0843 /cv.tmac
parent27cb5f58c2edbe56bdaacb14c4b5ab75da39b95d (diff)
downloadcvTrf-master.tar.bz2
cvTrf-master.zip
Added FootersHEADmaster
Added footers, set via the FO string, which print centered at the bottom of each page. Regardless of whether it is defined or not, a trap springs the .DF, draw footer, macro, two lines from the bottom of each page, breaking it and creating two lines on the beginning of the new page, appropriately, after drawing a centered footer title, if there is one defined.
Diffstat (limited to 'cv.tmac')
-rw-r--r--cv.tmac8
1 files changed, 8 insertions, 0 deletions
diff --git a/cv.tmac b/cv.tmac
index 6f0d7bb..d245e0e 100644
--- a/cv.tmac
+++ b/cv.tmac
@@ -103,3 +103,11 @@
103.ll +1.2 \" reset line length 103.ll +1.2 \" reset line length
104.sp -1 104.sp -1
105.. 105..
106.\" .DF - draw footer and start new page
107.de DF
108'sp \" newline, no text break
109.tl ''\s-2\\*(FO\s+2'' \" draw centered footer title, from FO string
110'sp 2 \" newlines, no text break
111..
112.\" set trap for .DF macro, 2m from bottom of each page
113.wh -2m DF