# \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]}]
```