[NTG-context] \definedescription[...][inbetween=...] ?

luigi scarso luigi.scarso at gmail.com
Wed Mar 21 06:26:48 CET 2007


On 3/20/07, Peter Münster <pmlists at free.fr> wrote:
> Hello,
>
> what is the meaning of the "inbetween" option to \definedescription ?
> In the following example, there seems to be no effect:
>
> \definedescription[Test][inbetween={\blank[5*big]}]
> \starttext
> \startTest{bla}
>   bla
> \stopTest
> \startTest{bla}
>   bla
> \stopTest
> \stoptext
>
> Cheers, Peter
>
> --
> http://pmrb.free.fr/contact/
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

location=top is the key

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%5
\setupcolors[state=start]
\definedescription[Test][inbetween={\vrule width 0.5\textwidth
height1pt\blank},headcolor=red,location=top]
\starttext
\startTest{baa baa baa baa baa baa baa baa baa baa baa baa baa baa }
\input tufte
\stopTest
\startTest{baa baa baa baa baa baa baa baa baa baa baa baa baa baa }
\input tufte
\stopTest
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%


More information about the ntg-context mailing list