[NTG-context] About \textrule [ ]

Fabrice Couvreur fabrice1.couvreur at gmail.com
Tue Oct 1 11:09:29 CEST 2019


Hello,
The top line is in the text, how to fix this problem ?
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20191001/f47e691e/attachment.html>


More information about the ntg-context mailing list