On 22-5-2010 9:53, Vianney le Clément wrote:
Hello,
\vskip-\baselineskip behaves strangely when put after a section header. Here is a minimal example.
\setuphead[subject][after=] \starttext \subject{Header} \vskip-\baselineskip Text \stoptext
One would expect to have "Header" overprinted by "Text". This is the case in mkII, but not in mkIV where we get "Header" followed by "Text" on the same line. Is this a bug or a feature? Also interesting is when you add \setuphead[subject][style=] in the preample, then the behavior is like mkII.
BTW, if you wonder why I'm using this, I want to put some additional info on the right side of the title when there is room left. Otherwise it should be put just below.
weird indeed ... \setuphead[subject][after=] \starttext \subject{Header} \vskip-\the\baselineskip \par Text \subject{Header} \vskip-\the\dimexpr\baselineskip+10sp\relax \par Text \subject{Header} \vskip-\the\dimexpr\baselineskip+1sp\relax \par Text \subject{Header} \vskip-2\baselineskip \par Text \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------