Documentation
Publicon
Reference
Preferences
Notebook Options
Printing Options
PageHeaders
• PageHeaders is an option for notebooks that determines which text will be inserted at the head of each page of a notebook when it is printed.
• PageHeaders is specified in the form of a compound list, {{ll, lc, lr},{rl, rc, rr}} where {ll, lc, lr} specifies the left, center, and right headers for the left pages and {rl, rc, rr} specifies the left, center, and right headers for the right pages.
• The default settings for the left hand page are as follows.
The left header is set to ll
Cell[TextData[{CounterBox["Page"]}],"PageNumber"]. This defines a counter that inserts the page number at the left edge of the page.
The center header is set to lc
None.
The right header is set to lr
Cell[TextData[{ValueBox["FileName"]}],"Header"]. This prints the file name on the right edge of the page.
• The default settings for the right hand page are as follows.
The left header is set to rl
Cell[TextData[{ValueBox["FileName"]}],"Header"]. This adds the file name to the left edge of the page.)
The center header is set to rc
None.
The right header is set to rr
Cell[TextData[{CounterBox["Page"]}],"PageNumber]. This defines a counter that inserts the page number at the right edge of the page.
• Headers can also be specified using the dialog box accessed from the File
Printing Settings
Headers and Footers... menu item.