summaryrefslogtreecommitdiff
path: root/macros/text1/cms_help_files/pf.helpmark
blob: a49a225f25182b03671b762889986d8c0e925cbc (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
+-----------------------------------------------------------------------------+
|                                 pageformat                                  |
+-----------------------------------------------------------------------------+
 
\pageformat{\pagelength{11in}
            \pagewidth{8.5in}
            \topmargin{1in}
            \bottommargin{1in}
            \leftmargin{1.2in}
            \rightmargin{1in}
            \bindingadjust{0pt}
            }
 
Abbreviation:  ã|\pfã%
 
Parameters:    ã|submarkupã%
 
Submarkup:     ã|\pagelength, \pagewidth, \topmargin,
\bottommargin, \leftmargin, \rightmargin, \bindingadjust,
\galleywidthã%
 
    ã|Description:ã%
The \pageformat markup specifies the  page size and margins.  The dimensions
and margins for the pages of a document are set with page formatting markup.
These submarkup  are valid only  within the \pageformat  markup.   Its seven
submarkup are described below.
 
ã|pagelengthã% specifies  the length of  the page to  be used.   The default
page length, 11 inches is maximum for most printers.
 
ã|pagewidthã% specifies  the width  of the  page to  be used.    The default
page  width, 8.5  inches,  is maximum  for most  printers.    The \pagewidth
and \rightmargin submarkup may  optionally be replaced with the \galleywidth
submarkup.
 
ã|topmarginã% sets the distance from the  top of the paper to the first line
of text, excluding the top title(s).  The default value is 1 inch.
 
ã|bottommarginã% sets the distance from  the bottom of the paper to the last
line of  the text, excluding  the bottom title(s).   The default  value is 1
inch.
 
ã|leftmarginã% sets the distance from the  left edge of the page to the left
edge of the text.  The default value is 1.2 inches.
 
ã|rightmarginã% sets  the distance from  the right edge  of the  page to the
right edge  of the  text.   The  default value  is 1 inch.    The \pagewidth
and \rightmargin submarkup may  optionally be replaced with the \galleywidth
submarkup.
 
ã|bindingadjustã% is used to offset  left and right margins, which is useful
for duplex  printing (on both  sides).   The value  given the \bindingadjust
submarkup will increase  the left margin on odd  pages and decrease the left
margin  on even  pages.   The  page text  width is  not shortened,  only the
margin.  The default value is {0pt}.
 
ã|galleywidthã%  may  be  substituted  for  \pagewidth and  \rightmargin  to
determine the  width of the text.   The \galleywidth  has the same dimension
as \hsize.   You  cannot use \galleywidth  in the same fashion,  however, as
\hsize.
 
    ã|Example:ã%
This custom source has 90 point (1 1/4inch) left and right margins.
 
\pageformat{\leftmargin{90pt}
            \rightmargin{90pt}}
 
    ã|Example:ã%
This custom source sets  up a 9 inch by 6 inch page  size.  The margins have
been decreased accordingly.  A binding adjust value has been added.
 
\pageformat{\pagelength{9in}
            \topmargin{.5in}
            \bottommargin{.5in}
 
            \leftmargin{.6in}
            \galleywidth{4.9in}
            \bindingadjust{.2in}
            }
 
    ã|Notes:ã%
Do note include \pagewidth and \rightmargin in the \pageformat markup if you
use the \galleywidth submarkup.