Command/setupindenting

Unofficial ConTeXt Wiki mirror

Last modified: 2025-01-05

Syntax (autogenerated)

\setupindenting[...,...]
[...,...] [+-]small [+-]medium [+-]big none no not first next yes always never odd even normal reset toggle dimension name

Syntax

\setupindenting[...,...,...]
[...,...,...] no yes: turn indentation on/off'
[...,...,...] none small medium big dimension: size of indents
[...,...,...] first next: turn indentation of first paragraph on/off
[...,...,...] odd even: indent odd/even lines in \obeylines scopes
[...,...,...] normal: what does this do?

Description

Specify indentation settings. By default, indentation is both turned off and set to zero, so it must be turned on with \setupindenting[yes, small].

To get indentation after section numbers, use

\setupheads[indentnext=yes]

If you place a figure with \placefigure[auto], the auto keyword prevents the next paragraph from indenting. You can manually mark the paragraph to be indented with the \indentation command, or you can use another specifier instead of auto (top or bottom, for instance).

See also

Help from ConTeXt-Mailinglist/Forum

All issues with:

Examples

first and next

first turns on indentation of the first paragraph; next turns it off. first is on by default.

odd and even

odd and even affect raw newlines when \obeylines is in effect. \crlf is not considered a raw newline, and \startlines is not affected because \setuplines has its own odd and even keywords.