Difference between revisions of "Command/indentation"

From Wiki
Jump to navigation Jump to search
 
Line 7: Line 7:
 
<cd:description>Force indentation on one paragraph. (Not to be confused with the deprecated command <tt>\indenting</tt>, which was the predecessor of {{cmd|setupindenting}}).
 
<cd:description>Force indentation on one paragraph. (Not to be confused with the deprecated command <tt>\indenting</tt>, which was the predecessor of {{cmd|setupindenting}}).
  
This is relevant if the setting <code>indentnext=yes</code> is used in {{cmd|setupheads}}, {{cmd|setupitemgroup}}, etc. </cd:description>
+
Besides when indentation is not 100% enforced due to {{cmd|setupindenting}} settings, this command is also relevant if the <code>indentnext=yes</code> is used in {{cmd|setupheads}}, {{cmd|setupitemgroup}}, etc. </cd:description>
 
<cd:examples><cd:example title=""><context source="yes">
 
<cd:examples><cd:example title=""><context source="yes">
 
\setupindenting[yes, 1em, first]
 
\setupindenting[yes, 1em, first]

Latest revision as of 14:25, 17 November 2021


\indentation

Summary

The command \indentation forces indentation of a paragraph

Description

Force indentation on one paragraph. (Not to be confused with the deprecated command \indenting, which was the predecessor of \setupindenting).

Besides when indentation is not 100% enforced due to \setupindenting settings, this command is also relevant if the indentnext=yes is used in \setupheads, \setupitemgroup, etc.

Examples

Example 1

\setupindenting[yes, 1em, first]
\section{First section}
\type{\setupindenting[first]} is overridden by the \type{[indentnext=no]}
    property of section heads. \par
two\par
three\par

\section{Second section}
\indentation \type{\indentation} overrides the \type{[indentnext=no]}
    property of section heads. \par
two\par
three\par

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: