Difference between revisions of "Command/defineindenting"

From Wiki
Jump to navigation Jump to search
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Mailinglist/Forum ==")
(6 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>defineindenting</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 21: Line 24:
  
 
== Description ==  
 
== Description ==  
 +
Define a way to start a paragraph with an indent, and some text inside the indent. MkII only (works with MkIV since beta from 2014.03.07 11:42).
  
 +
== Example ==
 +
<context source=yes>
 +
\defineindenting
 +
  [test]
 +
  [text=Test]
  
 +
\starttext
  
== Example ==
+
\test The Earth, as a habitat for animal life, is in old age and
<!-- Please fill in an example if you can -->
+
has a fatal illness. Several, in fact. It would be happening
 +
whether humans had ever evolved or not. But our presence is
 +
like the effect of an old|-|age patient who smokes many packs
 +
of cigarettes per day |=| and we humans are the cigarettes.
 +
 
 +
\subtest The Earth, as a habitat for animal life, is in old age and
 +
has a fatal illness. Several, in fact. It would be happening
 +
whether humans had ever evolved or not. But our presence is
 +
like the effect of an old|-|age patient who smokes many packs
 +
of cigarettes per day |=| and we humans are the cigarettes.
 +
 
 +
\stoptext
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==
Line 34: Line 56:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Paragraphs|defineindenting]]
+
[[Category:Command/Paragraphs|defineindenting]]
 +
[[Category:Command/Mkii only|defineindenting]]

Revision as of 14:49, 15 November 2019

\defineindenting

Syntax (autogenerated)

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


Syntax

\defineindenting[...][...,...=...,...]
[...] name
[...,...=...,...] see \setupindentations


Description

Define a way to start a paragraph with an indent, and some text inside the indent. MkII only (works with MkIV since beta from 2014.03.07 11:42).

Example

\defineindenting
   [test]
   [text=Test]

\starttext

\test The Earth, as a habitat for animal life, is in old age and
has a fatal illness. Several, in fact. It would be happening
whether humans had ever evolved or not. But our presence is
like the effect of an old|-|age patient who smokes many packs
of cigarettes per day |=| and we humans are the cigarettes.

\subtest The Earth, as a habitat for animal life, is in old age and
has a fatal illness. Several, in fact. It would be happening
whether humans had ever evolved or not. But our presence is
like the effect of an old|-|age patient who smokes many packs
of cigarettes per day |=| and we humans are the cigarettes.

\stoptext

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: