+-----------------------------------------------------------------------------+ | 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.