diff options
author | Cian Bagshaw <cian@cianb.xyz> | 2022-11-01 01:13:46 +0000 |
---|---|---|
committer | Cian Bagshaw <cian@cianb.xyz> | 2022-11-01 01:13:46 +0000 |
commit | 992d4e41d5bb277c73c2346903013b736bcf90a0 (patch) | |
tree | 2203d9b8376b51eab5ede5535fcd2300c91c0843 | |
parent | 27cb5f58c2edbe56bdaacb14c4b5ab75da39b95d (diff) | |
download | cvTrf-master.tar.bz2 cvTrf-master.zip |
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.md | 2 | ||||
-rw-r--r-- | cv.tmac | 8 |
2 files changed, 9 insertions, 1 deletions
@@ -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 | ||
@@ -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 | ||