Am 09.01.24 um 14:43 schrieb G.C.H.M. Verhaag via ntg-context:
Hi,
The example below works as expected, but within my product it doesn't.
% Subject example before and after!
\setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}]
\starttext
A paragraph before calling the subject.
\subject{\sc The subject}
A paragrapf after the subject was called.
\stoptext
I use the \subject command within a columnset, could that be the problem?
Yes, because text in column(sets)s is typeset on a grid.
Try \showgrid to visualize.
You can try to reduce the interlinespace for your headline font size like
\setupbodyfontenvironment[16pt][interlinespace=12pt]
That will get ugly as soon as your headlines need more than one line.
Look into details.pdf for more information on working with grids.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________