aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--README.md2
-rw-r--r--cv.tmac8
2 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md
index 1e04ae9..c04dc39 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
8- section headings 8- section headings
9- columned lists 9- columned lists
10- timelines/dates 10- timelines/dates
11- (documentation in file!) 11- footers
12 12
13## Invocation 13## Invocation
14 14
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