[NTG-context] Baseline and framed

Fabrice Couvreur fabrice1.couvreur at gmail.com
Wed Jul 6 13:37:42 CEST 2016


Hello,
In the manual, there is the macro below.
Why the word "Matrice" is not on the same baseline as the number "1" ?
thank you,
Fabrice

\unexpanded\def\HeadTitle#1#2%
  {\hbox to \hsize \bgroup
   \setupframed[height=1cm,offset=0.5em,frame=on]
   \framed[width=fit,align=left]{\darkred#1}%

\framed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
    \egroup}

\setuphead
   [chapter]
   [command=\HeadTitle]

\starttext

\startchapter
  [title={Matrice}]


\stopchapter

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


More information about the ntg-context mailing list