Command/setupheadertexts

From Wiki
< Command
Revision as of 12:38, 11 April 2010 by Maintenance script (talk) (Create reference page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Reference Cleanup

\setupheadertexts

Syntax

\setupheadertexts[...][...][...]
[...] text margin edge
[...] text section date mark pagenumber
[...] text section date mark pagenumber


Description

Place headers and footers with the commands setupheadertexts and setupfootertexts. These commands takes 4 arguments. The first is for the left margin on odd pages, the second for the right margin on odd pages, the third for the left margin on even pages, and the fourth for the right margin on even pages.

\setupheadertexts
	[{chapter \getmarking[chapter]}] 	[{page \pagenumber}]
	[{page \pagenumber}]				[{chapter \getmarking[chapter]}]
\setupfootertexts
	[{chapter \getmarking[chapter]}] 	[{page \pagenumber}]
	[{page \pagenumber}]				[{chapter \getmarking[chapter]}]


Example

See also