Am 11.03.2010 13:05, schrieb Steffen Wolfrum: > > Am 11.03.2010 um 12:50 schrieb Peter Rolf: > >> Am 11.03.2010 12:09, schrieb Steffen Wolfrum: >>> Hi, >>> >>> controlling the lineskip in the old-fashoined way "\lineskiplimit-\maxdimen" doesn' work in mkiv anymore! >>> >>> Please have a look at the example below. Attached you may find the resulting PDFs, set with mkii resp. mkiv. >>> >>> Steffen >>> >>> --- >>> >>> \usetypescript[postscript] >>> \definetypeface[postscript][rm][serif][times][default] >>> >>> \setupbodyfont[postscript,20pt]\setupinterlinespace[line=12pt]\lineskiplimit-\maxdimen >>> >>> \setuplayout[grid=tolerant] >>> >>> \definestartstop[quotetest] >>> [before={\startnarrower\switchtobodyfont[8pt]\setupinterlinespace[line=7pt]\lineskiplimit-\maxdimen},after=\stopnarrower] >>> >> Hi Steffen, >> >> this works, but the \startlocal...\stoplocal combination is not used >> very often in 'the source' (so there must be a better way). >> >> \definestartstop[quotetest] >> [before={\startnarrower\startlocal\switchtobodyfont[8pt]\setupinterlinespace[line=16pt]\setupwhitespace[0pt]\setupindenting[0em,yes]},after=\stoplocal\stopnarrower] >> >> best wishes, >> >> Peter > > > Hi Peter, > > > it looks like you answered to thread "how to setup local interlinespace" ;o) > my attempt to make this list a little more chaotic ;) > Yes, this works now. But this ... > \setupinterlinespace[line=7pt]\lineskiplimit-\maxdimen} > > ... does not work as it worked in mkii. > > Just set line=8pt and run mkiv, next set line=7pt and run mkiv. > See the problem?! > yes, i see it. the interlineskip with line=7pt is bigger than the one with line=8pt. i looked for the definition of \lineskiplimit at http://www.tug.org/utilities/plain/cseq.html#lineskiplimit-rp [..] IF the glue specified by \baselineskip brings two adjacent boxes in a vertical list closer together than \lineskiplimit, then \lineskip glue is placed between the boxes [78]. -- \def\checkgridsnapping {\lineskip\ifgridsnapping\zeropoint\else\normallineskip\fi} so setting this value while using grid make not much sense. took me some time (also grid beginner), but i guess the attached example is a starting point. oh, and thanks to Wolfgang for his much nicer code (assimilated). Peter