Hi Michal,

>I found in ConTeXt a pretty unpleasant feature. The sectioning system adds
>a lot of material to the section title. Some of this added stuff probably
>interferes with the line-spacing mechanism.

right, context very hard tries to be consistent in spacing

>I do have this very problem: I do want multiple-line titles to be typeset
>so that distances among all title baselines are the same. I do also prefer
>to set the \baselineskip to some small amount, narrower than the amount
>necessary for lines not to touch. In the plainTeX, the solution is quite
>simple, just to set the \baselineskip to a preferred distance and the
>\lineskiplimit to minus infinity. But this doesn't work in the ConTeXt.
>(I include a funny minimal test file.)

that's a lot of plain code and definitely wrong -)

how about:

\showstruts

\starttext

\setuphead[section][style={\bfd}]

\section{bum\\bac}

\setuphead[section][style={\setupinterlinespace[line=2ex]\bfd}]

\section{bum\\bac}

\setuphead[section][style={\setupinterlinespace[line=0ex]\bfd}]

\section{bum\\bac}

\setuphead[section][style={\setupinterlinespace[line=4ex]\bfd}]

\section{bum\\bac}

\stoptext
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------

Reply via email to