summaryrefslogtreecommitdiff
path: root/macros/text1/cms_help_files/line.helpmark
diff options
context:
space:
mode:
Diffstat (limited to 'macros/text1/cms_help_files/line.helpmark')
-rw-r--r--macros/text1/cms_help_files/line.helpmark56
1 files changed, 56 insertions, 0 deletions
diff --git a/macros/text1/cms_help_files/line.helpmark b/macros/text1/cms_help_files/line.helpmark
new file mode 100644
index 0000000000..e10d568d60
--- /dev/null
+++ b/macros/text1/cms_help_files/line.helpmark
@@ -0,0 +1,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.