Difference between revisions of "Command/setupheader"

From Wiki
Jump to navigation Jump to search
(Added a link to the command \setupheadertexts.)
m (→‎Description: formatting (somebody please add a clear description for state=high))
Line 53: Line 53:
  
 
== Description ==  
 
== Description ==  
State:
+
The different <tt>state</tt>s and their effects:
* start, stop: switch headings on, off
+
{|
* none: switch off for whole chapter
+
|<tt>start</tt>, <tt>stop</tt>
* empty: no heading on the first chapter page
+
|switch headings on and off
* high: no heading on the first chapter page + expand textarea about space occupied by heading
+
|-
* text: some 'text' defined by
+
|<tt>none</tt>
        \definetext[text][footer][pagenumber]
+
|switch off for whole chapter
 +
|-
 +
|<tt>empty</tt>
 +
|no heading on the first chapter page
 +
|-
 +
|<tt>high</tt>
 +
|no heading on the first chapter page + expand textarea about space occupied by heading
 +
|-
 +
|<tt>text</tt>
 +
|some 'text' defined by
 +
<texcode>
 +
\definetext[text][footer][pagenumber]
 +
</texcode>
 
or
 
or
        \definetext[text][footer][left][right]
+
<texcode>
 +
\definetext[text][footer][left][right]
 +
</texcode>
 
which is valid on the first chapter page
 
which is valid on the first chapter page
 +
|}
  
 
== Description ==
 
== Description ==

Revision as of 00:38, 24 September 2010

\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
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
text some 'text' defined by
\definetext[text][footer][pagenumber]

or

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

which is valid on the first chapter page

Description

Example

See also

\setupheadertexts