Difference between revisions of "Command/defineindenting"
< Command
Jump to navigation
Jump to search
m (Text replace - "Category:(.*)" to "Category:Command/$1") |
|||
(6 intermediate revisions by 4 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! | ||
+ | == 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 == | ||
− | <!-- something like | + | <!-- something like {{cmd|goto}} --> |
== Help from ConTeXt-Mailinglist/Forum == | == Help from ConTeXt-Mailinglist/Forum == | ||
Line 35: | Line 57: | ||
[[Category:Command/Paragraphs|defineindenting]] | [[Category:Command/Paragraphs|defineindenting]] | ||
+ | [[Category:Command/Mkii only|defineindenting]] |
Latest revision as of 08:08, 12 October 2023
\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!
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: