Difference between revisions of "Command/defineindenting"

From Wiki
Jump to navigation Jump to search
(updated for MKIV)
Line 21: Line 21:
  
 
== Description ==  
 
== Description ==  
Define a way to start a paragraph with an indent, and some text inside the indent. Mkii only.
+
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 ==
 
== Example ==

Revision as of 18:00, 13 March 2014

\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 (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: