Changes

Jump to navigation Jump to search
Corrected the syntax (command takes four parameters not three).
<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><span class="fourth" style="background-color:yellow;" >[...]</span></td>
</tr>
<tr valign="top" class="first">
<td class="cmd">[...]</td>
<td><strong>text</strong> margin edge on the left handed side of odd pages </td>
</tr>
<tr valign="top" class="second">
<td class="cmd">[...]</td>
<td><strong>text section date mark pagenumber </strong> on the right handed side of odd pages </td>
</tr>
<tr valign="top" class="third">
<td class="cmd">[...]</td>
<td><strong>text section date mark pagenumber </strong> on the right handed side of even pages </td> </tr> <tr valign="top" class="fourth" style="background-color:yellow;"> <td class="cmd">[...]</td> <td><strong>text</strong> on the left handed side of even pages </td>
</tr>
</table>
== Description == Place headers and footers with the commands \setupheadertexts and [[cmd:setupfootertexts|\setupfootertexts]].  These commands takes take 4 arguments. The first is for the left margin handed side on odd pages, the second for the right margin handed side on odd pages, the third for the left margin right handed side on even pages, and the fourth for the right margin left handed side on even pages. == Example ==<!-- Please fill in an example if you can --> This example produces the same header on odd and even pages.
<texcode>
\setupheadertexts
[{chapter \getmarking[chapter]}] [{page \pagenumber}] [{page \pagenumber}] [{chapter \getmarking[chapter]}]\setupfootertexts [{chapter \getmarking[chapter]}] [{page \pagenumber}] [{page \pagenumber}] [{chapter \getmarkingsetuppagenumbering[chapter]}location=]
</texcode>
 '''Note:''' '''\setuppagenumbering[location== Example ==<!-- Please fill ]''' supresses the default output (i.e. centered in an example if you can -->header) of the page number on every page.
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
 
[[cmd:setupheader|\setupheader]]
[[Category:Reference/en|setupheadertexts]]
Anonymous user

Navigation menu