Difference between revisions of "Command/setupheadertexts"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
m (cleanup)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=setupheadertexts
 
|name=setupheadertexts

Revision as of 11:26, 13 April 2010

\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