[NTG-context] About \textrule [ ]

Taco Hoekwater taco at elvenkind.com
Tue Oct 1 11:35:01 CEST 2019



> On 1 Oct 2019, at 11:09, Fabrice Couvreur <fabrice1.couvreur at gmail.com> wrote:
> 
> Hello,
> The top line is in the text, how to fix this problem ?

  % alternative=serried,
    inbetween=,

Best wishes,
Taco

> Thank you.
> Fabrice
> 
> \setuptextrules[width=0.5cm]
> 
> \define[1]\ProprieteHeadcommand
>   {\textrule[top]{#1}}
> 
> \defineenumeration
>   [propriete]
>   [text=Propriété,
>    title=yes,
>    headstyle={bold},
>    alternative=serried,
>    style=italic,
>    number=no,
>    headcommand=\ProprieteHeadcommand,
>    numbercommand=\groupedcommand{}{\nbsp},
>    after=\textrule]
> 
> \starttext
> \startpropriete
>   \input ward
> \stoppropriete
> \stoptext
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Taco Hoekwater
Elvenkind BV






More information about the ntg-context mailing list