Changes

Jump to navigation Jump to search
Create reference page
<!-- please remove this and the following line if you have checked this page -->
{{Reference_Cleanup}}
{{Reference
|name=setupheadertexts
|attributes=
}}

== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<tr>
<td colspan="2" class="cmd">\setupheadertexts<span class="first" style="color:red;">[...]</span><span class="second" >[...]</span><span class="third" >[...]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...]</td>
<td><strong>text</strong> margin edge </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[...]</td>
<td>text section date mark pagenumber </td>
</tr>
<tr valign="top" class="third">
<td class="cmd">[...]</td>
<td>text section date mark pagenumber </td>
</tr>
</table>


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

<texcode>
\setupheadertexts
[{chapter \getmarking[chapter]}] [{page \pagenumber}]
[{page \pagenumber}] [{chapter \getmarking[chapter]}]
\setupfootertexts
[{chapter \getmarking[chapter]}] [{page \pagenumber}]
[{page \pagenumber}] [{chapter \getmarking[chapter]}]
</texcode>


== Example ==
<!-- Please fill in an example if you can -->

== See also ==
<!-- something like [[cmd:goto|\goto]] -->

[[Category:Reference/en|setupheadertexts]]
Anonymous user

Navigation menu