Changes

Jump to navigation Jump to search
478 bytes added ,  14:43, 8 June 2012
m
Clarified first.
Indentation involves two things: when to indent, and how much to indent. In
ConTeXt, these can be specified using <cmd>setupindenting[...]</cmd>. There
are two three types of keys for this command:
* '''To specify ''when to indentenable indenting'':''' <code>never</code> or <code>always</code>, (equivalently, <code>no</code> or <code>yes</code>), The default is '''<code>oddnever</code> or <code>even</code>, and <code>first</code> or <code>next</code>.'''
* '''To specify ''when to indent'':''': <code>odd</code> or <code>even</code>, and <code>first</code> or <code>next</code>. The default is '''<code>first</code>''' * '''To specify ''how much to indent'':''' <code>none</code>, <code>small</code>, <code>medium</code>, <code>big</code>, or a specific dimension. <code>small</code> corresponds to 1em, <code>medium</code> to 1.5em, and <code>big</code> to 2em. The default is '''0pt''.
<texcode>
\setupindenting[20pt, yes]</texcode>
 
which is equivalent ot
 
<texcode>\setupindenting[20pt, yes, first]</texcode>
This is what one typically uses in a document. The other keys are needed only
* <code>odd</code> indents every odd paragraph
* <code>even</code> indents every even paragraph
* <code>first</code> indents all paragraphs, including the first paragraph* <code>next</code> ''does not'' indent the first paragraph, but indents every subsequent paragrahparagraph* <code>reset</code> reset all settings to their default values. This disable indenting, sets the indenting amount to 0pt, disables <code>odd</code> or <code>even</code> indenting, and sets indenting method to <code>first</code>.
== Setting up indentation after an environment ==

Navigation menu