15 Feb
2023
15 Feb
'23
6:10 p.m.
On 2023-02-15 08:44, Alex Leray via ntg-context wrote:
\showframe \showlayout \showgrid
\setuplayout[ grid=yes, ]
\define[2]\MySection{\framed[ location=keep, frame=on, width=broad, % height=22pt, align=middle ]{{#1.\\#2}}}
\setuphead[section][ strut=no, conversion=Romannumerals, style={\bf\WORDS}, align=middle, command=\MySection, ]
\starttext \startsection[title={First section}] this is the text \stopsection \stoptext
Have you tried it with \framedtext in the place of \framed ? -- Rik