On 2013-11-20 Hans Hagen wrote: > On 11/19/2013 11:48 PM, Jan Tosovsky wrote: > > > > I'd like to tweak a default TOC linespacing... > > > > I've 'invented' this: > > > > \setupcombinedlist[content][list=chapter, alternative=c] > > > > \starttext > > > > \title{Table of Contents} > > \setupinterlinespace[line=0.8ex] % too small, just for testing > > \placecontent > > \setupinterlinespace[line=2.75ex] > > %\setupinterlinespace[reset] > > > > \startfrontmatter > > \chapter{Intro}text > > > > text > > > > text > > \startfrontmatter > > \startbodymatter > > \chapter{Chapter}text > > \stopbodymatter > > \startbackmatter > > \chapter{Appendix}text > > \stopbackmatter > > \stoptext > > > > I cannot use simply the \completecontent command as the linespacing > > is effective already between the title and the first entry line... > > so I am splitting the title and the rest and set the linespacing > > just before list rendering. Finally I am resetting the value manually. > > > > Are there better ways to tweak linespacing in TOC ? > > \title{Table of Contents} > > \start > \setupinterlinespace[line=0.8ex] % too small, just for testing > \placecontent > \stop
Thanks for the hint. But as I found, any value below 2.8ex causes interline inconsistencies when special cases appears, see the extreme below: \starttext \start \setupinterlinespace[line=1.0ex] \placecontent \stop \chapter{aaaaaaaa}. % line without descenders precedes a line without ascenders \chapter{pppppppp}. % line with descenders is followed with a line with ascenders \chapter{ŠŠŠŠŠŠŠŠ}. % the result is an inconsistent baseline distance \stoptext Is there any remedy for this? Can I fix the baseline distance somehow? I have such cases in my TOC :-( (but not so extreme as here) Thanks, Jan ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________