Difference between revisions of "Command/setupsection"

From ConTeXt wiki
(Create reference page)
 
m (cleanup)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=setupsection
 
|name=setupsection
Line 36: Line 34:
 
== Example ==
 
== Example ==
  
<pre class="example">
 
 
Suppose you want section numbers to appear as A, B, etc, then do
 
Suppose you want section numbers to appear as A, B, etc, then do
  
 +
<texcode>
 
\setuphead[section-3][bodypartconversion=Characters]
 
\setuphead[section-3][bodypartconversion=Characters]
 +
</texcode >
  
section-1 corresponds to \part
+
section-1 corresponds to [[cmd:part|\part]] <br />
section-2 corresponds to \chapter
+
section-2 corresponds to [[cmd:chapter|chapter]]<br />
section-3 corresponds to \section,
+
section-3 corresponds to [[cmd:section|\section]],<br />
 
and so on
 
and so on
</pre>
 
  
  

Revision as of 07:25, 14 April 2010

\setupsection

Syntax

\setupsection[...][...][...,...=...,...]
[...] name
[...] name
conversion numbers characters Characters romannumerals Romannumerals
previousnumber yes no


Description

Example

Suppose you want section numbers to appear as A, B, etc, then do

\setuphead[section-3][bodypartconversion=Characters]

section-1 corresponds to \part
section-2 corresponds to chapter
section-3 corresponds to \section,
and so on


See also