Difference between revisions of "Command/defineindenting"
< Command
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
== Description == | == Description == | ||
− | Define a | + | Define a way to start a paragraph with an indent, and some text inside the indent. Mkii only. |
+ | == Example == | ||
+ | <context source=yes> | ||
+ | \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 | ||
+ | </context> | ||
== See also == | == See also == |
Revision as of 13:27, 28 October 2012
\defineindenting
Syntax
\defineindenting[...][...,...=...,...] | |
[...] | name |
[...,...=...,...] | see \setupindentations |
Description
Define a way to start a paragraph with an indent, and some text inside the indent. Mkii only.
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: