Difference between revisions of "Command/setupsection"

From Wiki
Jump to navigation Jump to search
m
(9 intermediate revisions by 2 users not shown)
Line 18: 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 30: Line 30:
 
== Description ==  
 
== Description ==  
  
 
+
See {{cmd|setuphead}} for details.
  
 
== Example ==
 
== Example ==
Line 40: Line 40:
 
</texcode >
 
</texcode >
  
section-1 corresponds to [[cmd:part|\part]] <br />
+
section-1 corresponds to {{cmd|part}} <br />
section-2 corresponds to [[cmd:chapter|\chapter]]<br />
+
section-2 corresponds to {{cmd|chapter}}<br />
section-3 corresponds to [[cmd:section|\section]],<br />
+
section-3 corresponds to {{cmd|section}},<br />
 
and so on
 
and so on
  
  
 
== 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: