Difference between revisions of "Command/indentation"

From Wiki
Jump to navigation Jump to search
 
(10 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>indentation</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
   <tr>
 
   <tr>
     <td colspan="2" class="cmd">\<i>indentation</i><span class="first" >...</span></td>
+
     <td colspan="2" class="cmd">\indentation<span class="first" >...</span></td>
 
   </tr>
 
   </tr>
 
   <tr valign="top" class="first">
 
   <tr valign="top" class="first">
 
     <td class="cmd">...</td>
 
     <td class="cmd">...</td>
     <td><i>text</i> </td>
+
     <td>''paragraph''</td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>
Line 18: Line 21:
 
== Description ==  
 
== Description ==  
  
 +
Force indentation on one paragraph. (Do not confuse with the deprecated {{cmd|indenting}}, which is a predecessor of {{cmd|setupindenting}}.
  
 +
== Example ==
 +
<context source=yes>
 +
\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
  
== Example ==
+
\section{Second section}
<!-- Please fill in an example if you can -->
+
\indentation \type{\indentation} overrides the \type{[indentnext=no]}
 +
    property of section heads. \par
 +
two\par
 +
three\par
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{cmd|setupindenting}}
 +
* {{cmd|noindentation}} to explicitly disable indenting of a paragraph.
 +
* setting <code>indentnext=yes</code> in {{cmd|setupheads}}, {{cmd|setupitemgroup}}, etc.
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|indentation]]
+
[[Category:Command/Paragraphs|indentation]]

Latest revision as of 12:08, 19 November 2019

\indentation

Syntax (autogenerated)

\indentation


Syntax

\indentation...
... paragraph


Description

Force indentation on one paragraph. (Do not confuse with the deprecated \indenting, which is a predecessor of \setupindenting.

Example

\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

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: