Difference between revisions of "Command/setupheadnumber"

From Wiki
Jump to navigation Jump to search
m (cleanup)
(→‎Example: added example)
Line 25: Line 25:
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context source="yes">
 +
\starttext
 +
\section{First}
 +
 
 +
\setupheadnumber[section][+4]
 +
\section{Second?}
 +
 
 +
\setupheadnumber[section][-5]
 +
\section{Second!}
 +
 
 +
\setupheadnumber[section][41]
 +
\section{Fourty-second}
 +
\stoptext
 +
</context>
  
 
== See also ==
 
== See also ==

Revision as of 18:40, 1 November 2010

\setupheadnumber

Syntax

\setupheadnumber[...][...]
[...] section
[...] number +number -number


Description

Example

\starttext
\section{First}

\setupheadnumber[section][+4]
\section{Second?}

\setupheadnumber[section][-5]
\section{Second!}

\setupheadnumber[section][41]
\section{Fourty-second}
\stoptext

See also