[NTG-context] Horizontal line after text in an environment

Fabrice Couvreur fabrice1.couvreur at gmail.com
Wed Apr 25 16:59:59 CEST 2018


Hello,
In this environment, when the text has sufficient height, the horizontal
line is well below the figure. However when the height of text is not
sufficient, the position of the line is not correct and I would like it
also below the figure.
Thanks
Fabrice


\setuptolerance[stretch,verytolerant]
\useMPlibrary[dum]


\define[1]\ProprieteHeadcommand
  {\textrule[top]{#1}}

\defineenumeration
  [propriete]
  [text=Propriété,
   title=yes,
   headstyle={bold},
   style=italic,
   headcommand=\ProprieteHeadcommand,
   numbercommand=\groupedcommand{}{\nbsp},
   after=\textrule]

\starttext

\startpropriete
\placefigure[right,none]{}{\externalfigure[dummy]}
\startitemize
\item \input ward

\item \input ward
\stopitemize
\stoppropriete
\startpropriete
\placefigure[right,none]{}{\externalfigure[dummy]}
\startitemize
\item First item

\item Second item
\stopitemize
\stoppropriete

\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180425/e8127352/attachment.html>


More information about the ntg-context mailing list