From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5178 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Baselineskip in sections Date: Tue, 31 Jul 2001 14:45:23 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010731144350.022b16f8@server-1> References: <20010731104748.A19800@merkur.econ.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035395784 31878 80.91.224.250 (23 Oct 2002 17:56:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:56:24 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: AlterEgo Qasars In-Reply-To: <20010731104748.A19800@merkur.econ.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:5178 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5178 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------