Hello Wolfgang,

thanks for the solution.

Two more questions:

- How to specify indenting to be equal to the normal paragraph indenting?

Here's my trial:

----
\setupindenting[yes,first,medium]

\define[1]\TestHeadCommand{\offset[x=-\parindent]{#1}} % This doesn't work

\starttext
  \definedescription
    [test]
    [alternative=top,
     margin=\parindent,
     headcommand=\TestHeadCommand,
    ]

  \input knuth

  \starttest{Knuth}
    \input knuth
  \stoptest

  \input knuth
\stoptext
----

- Is it possible to reduce (or specify) the distance between the label and the 
next text?

XXXXXXX             _____
                        ^
                    ____V - this distance to be specified.
  blablabla blabla
  blabla blabla bl
  a bla.


Best regards,

Lukas


On Mon, 09 Apr 2012 22:31:11 +0200, Wolfgang Schuster 
<schuster.wolfg...@googlemail.com> wrote:

You can indent the text with the margin parameter, the indenting of the head 
can be corrected with the \offset command.

\define[1]\TestHeadCommand
  {\offset[x=-1em]{#1}}

\definedescription
  [test]
  [alternative=top,
   margin=1em,
  %headcommand={\offset[x=-1em]},
   headcommand=\TestHeadCommand]

\starttext

\input knuth

\starttest{Knuth}
\input knuth
\stoptest

\input knuth

\stoptext

Wolfgang


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.      [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to