Difference between revisions of "Command/defineindenting"
< Command
Jump to navigation
Jump to search
(Create reference page) |
|||
(15 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
{{Reference | {{Reference | ||
|name=defineindenting | |name=defineindenting | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>defineindenting</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 17: | Line 18: | ||
<tr valign="top" class="second"> | <tr valign="top" class="second"> | ||
<td class="cmd">[...,...=...,...]</td> | <td class="cmd">[...,...=...,...]</td> | ||
− | <td>see [[ | + | <td>see [[Command/setupindentations|\setupindentations]] </td> |
</tr> | </tr> | ||
</table> | </table> | ||
Line 23: | 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 | ||
+ | \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 == | ||
+ | All issues with: | ||
+ | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[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: