Difference between revisions of "Command/setupheader"

From Wiki
Jump to navigation Jump to search
m
Line 68: Line 68:
 
|-
 
|-
 
|<tt>high</tt>
 
|<tt>high</tt>
|no heading on the first chapter page + expand textarea about space occupied by heading
+
|no heading on the first chapter page + expand textarea about space occupied by heading.  Strangely this also affects the footer in that it allows the text to lap into the footer area as well.  I don't quite understand why this happens.
 
|-
 
|-
 
|<tt>text</tt>
 
|<tt>text</tt>
Line 82: Line 82:
 
|}
 
|}
  
== Description ==
 
  
 
== Example ==
 
== Example ==

Revision as of 15:22, 22 November 2013

\setupheader

Syntax

\setupheader[...][...,...=...,...]
[...] text margin edge
state normal stop start empty high none nomarking name
strut yes no
style normal bold slanted boldslanted type cap small... command
leftstyle normal bold slanted boldslanted type cap small... command
rightstyle normal bold slanted boldslanted type cap small... command
leftwidth dimension
Limit the text inside the header to a certain dimension. Setting this value may interfere with any additional \delimitatetext or \doboundtext performed inside the headers
rightwidth dimension
before command
after command


Description

The different states and their effects:

start, stop switch headings on and off
none switch off for whole chapter
empty no heading on the first chapter page
high no heading on the first chapter page + expand textarea about space occupied by heading. Strangely this also affects the footer in that it allows the text to lap into the footer area as well. I don't quite understand why this happens.
text some 'text' defined by
\definetext[text][footer][pagenumber]

or

\definetext[text][footer][left][right]

which is valid on the first chapter page


Example

See also

\setupheadertexts

Help from ConTeXt-Mailinglist/Forum

All issues with: