Difference between revisions of "Command/setupsection"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
m
(11 intermediate revisions by 4 users not shown)
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 20: Line 18:
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="third">
 
   <tr valign="top" class="third">
     <td class="cmd">[[Reference/en/keyword:conversion|conversion]]</td>
+
     <td class="cmd">[[Command/keyword:conversion|conversion]]</td>
     <td>[[Reference/en/value:numbers|numbers]] [[Reference/en/value:characters|characters]] [[Reference/en/value:Characters|Characters]] [[Reference/en/value:romannumerals|romannumerals]] [[Reference/en/value:Romannumerals|Romannumerals]] </td>
+
     <td>[[Command/value:numbers|numbers]] [[Command/value:characters|characters]] [[Command/value:Characters|Characters]] [[Command/value:romannumerals|romannumerals]] [[Command/value:Romannumerals|Romannumerals]] </td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="third">
 
   <tr valign="top" class="third">
     <td class="cmd">[[Reference/en/keyword:previousnumber|previousnumber]]</td>
+
     <td class="cmd">[[Command/keyword:previousnumber|previousnumber]]</td>
     <td>[[Reference/en/value:yes|yes]] [[Reference/en/value:no|no]] </td>
+
     <td>[[Command/value:yes|yes]] [[Command/value:no|no]] </td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>
Line 32: Line 30:
 
== Description ==  
 
== Description ==  
  
 
+
See {{cmd|setuphead}} for details.
  
 
== 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}} <br />
section-2 corresponds to \chapter
+
section-2 corresponds to {{cmd|chapter}}<br />
section-3 corresponds to \section,
+
section-3 corresponds to {{cmd|section}},<br />
 
and so on
 
and so on
</pre>
 
  
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|setupsection]]
+
[[Category:Command/Sections|setupsection]]

Revision as of 21:56, 16 February 2014

\setupsection

Syntax

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


Description

See \setuphead for details.

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

Help from ConTeXt-Mailinglist/Forum

All issues with: