blob: e10d568d6031374d1f7567942e577866fad4405f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
+-----------------------------------------------------------------------------+
| line |
+-----------------------------------------------------------------------------+
Abbreviation: ã|noneã%
Parameters: ã|noneã%
ã|Description:ã%
The \line markup is used most often in the \runningheadformat and \running-
footformat running title markup.
ã|Example:ã%
If you wanted to left justify "Chapter 1" and right justify "page 2" (where
"2" is actually the page number, \pagenumber), enter:
\rhf{\bothpages{
\line{\lft{Chapter 1}\rt{page \pagenumber}}}}
+-----------------------------------------------------------------------------+
| |
| Chapter 1 page 1 |
| |
+-----------------------------------------------------------------------------+
ã|Notes:ã%
A construct such as,
\rhf{\bothpages{
\line{\lft{page \pn}\ctr{\today}
\rt{PNW Waterfalls}}}}
will not print the date centered on the page:
+-----------------------------------------------------------------------------+
| |
| page 2 January 13, 1987 PNW Waterfalls |
| |
+-----------------------------------------------------------------------------+
To accomplish this, you should print the left and right justified text with
\line, then space backwards one line (\verticalspace{-\bl}), then center the
date:
\rhf{\bothpages{\line{\lft{page \pn}
\rt{PNW Waterfalls}}}
\vs{-\bl}
\line{\ctr{\today}}
+-----------------------------------------------------------------------------+
| |
| page 3 January 13, 1987 PNW Waterfalls |
| |
+-----------------------------------------------------------------------------+
Refer to The TEXbook for more on this markup.
|