summaryrefslogtreecommitdiff
path: root/macros/text1/cms_help_files/rff.helpmark
blob: 22999b573adf833d98055d6218c7c70a51928329 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
+-----------------------------------------------------------------------------+
|                              runningheadformat                              |
+-----------------------------------------------------------------------------+
 
\runningfootformat{
  \bothpages{\vs{1\bl}
               \line{\twelvept\rm\lft{}
                         \ctr{}\rt{}}}
  }
 
Abbreviation:  ã|\rffã%
 
Parameters:    ã|submarkupã%
 
Submarkup:     ã|\bothpages, \evenpages, \oddpagesã%
 
    ã|Description:ã%
The \runningfootformat markup  provides running titles at  the bottom of all
pages except the title page.   The default running bottom title for TEXT1 is
blank.
 
\bothpages  is used to place the same running foot at the bottom of both the
even and odd pages.   The \line markup defines a  single title line.  Within
it, you  may center, left  align, or  right align text,  using the submarkup
\ctr, \lft, or  \rt.  Besides \line, you may  also use markup such as \hrule
and \verticalspace.
 
\evenpages   is used to  place the same running  foot at the  bottom of each
even page.    The \line  markup defines  a single  title line.    Within it,
you may center,  left align, or right align  text, using the submarkup \ctr,
\lft, or  \rt.  Besides  \line, you may  also use markup such  as \hrule and
\verticalspace.
 
\oddpages   is used  to place the  same running foot  at the  bottom of each
odd page.   The \line  markup defines a single  title line.   Within it, you
may  center, left  align, or  right align  text,  using the  submarkup \ctr,
\lft, or  \rt.  Besides  \line, you may  also use markup such  as \hrule and
\verticalspace.
 
    ã|Example:ã%
This example  prints the date  and author's initials  at the  bottom of each
page.
 
\runningfootformat{
   \bothpages{\vs{18pt}
              \line{\rm\lft{\today}\ctr{}\rt{JNP}}
               }
   }
 
which produces a running foot as illustrated on the next page.
 
+-----------------------------------------------------------------------------+
|                                                                             |
| January 13, 1987                                                       JNP  |
|                                                                             |
+-----------------------------------------------------------------------------+
 
    ã|Example:ã%
This example illustrates the use of odd and even page layout with two lines.
The page  number alternates sides so  that it appears on  the outside of the
page.   The title appears  above the subtitle  on even pages.   The author's
name appears above the journal name on odd pages.
 
\runningfootformat{
  \evenpages{\line{\lft{\pagenumber}
                        \rt{Sociogeology}}
             \vs{2pt}}
             \line{\rt{A New Science}}
             \vs{\bl}}
  \oddpages{\line{\lft{A. Chert}
                      \rt{\pagenumber}}
 
            \vs{2pt}}
            \line{\lft{SPP---UP}}
            \vs{\bl}}
  }
 
which produces on even page numbers a running foot that looks like:
 
+-----------------------------------------------------------------------------+
|                                                                             |
| 22                                                            Sociogeology  |
|                                                              A New Science  |
|                                                                             |
+-----------------------------------------------------------------------------+
 
and produces on odd page numbers a running foot that looks like:
 
+-----------------------------------------------------------------------------+
|                                                                             |
| A. Chert                                                                11  |
| SPP---UP                                                                    |
|                                                                             |
+-----------------------------------------------------------------------------+
 
    ã|Notes:ã%
An empty \lft, \ctr, or \rt may be omitted as was done in the above example.
    A construct such as,
 
\rff{\bothpages{
         \line{\lft{page \pn}\ctr{\today}
            \rt{PNW Waterfalls}}}}
 
will not print the date centered on the page:
 
+-----------------------------------------------------------------------------+
|                                                                             |
| page 7                   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:
 
\rff{\bothpages{\line{\lft{page \pn}
 
             \rt{PNW Waterfalls}}}
          \vs{-\bl}
          \line{\ctr{\today}}}
 
+-----------------------------------------------------------------------------+
|                                                                             |
| page 8                       January 13, 1987               PNW Waterfalls  |
|                                                                             |
+-----------------------------------------------------------------------------+
 
    The \runningfootformat markup must  come after the \monospace markup, if
both are used.