[NTG-context] Deactivating gridsetting for TOC

Wolfgang Schuster schuster.wolfgang at gmail.com
Mon Apr 15 16:08:04 CEST 2013


Am 15.04.2013 um 14:27 schrieb H. Özoguz <h.oezoguz at mmnetz.de>:

> Hi there,
> 
> thanks for the many helps today, again!
> 
> Because I use different font sizes for the titles in the TOC (depending on the title-level), I have problems with grid-setting. It makes sometimes blank lines between two titles in the toc. I understand that behaviour, it is because of the different sizes.
> 
> Instead of involved testings with different sizes and vertical spaces, can I simply switch off the grid-setting for the toc? That would be the easiest.
> I tried
> \placeongrid{\completecontent},
> and that works, no more blank lines. But now the complete toc is set on one page only, but the toc is much to big for only one page, so it is set beyong the page buttom, and disappears in the pdf-nirvana :D
> 
> Is there a feature/option "grid" for toc in \completecontent or anything like that?

You can try to add

  \definelayout[<pagenumber>][grid=no]

to your document where you replace <pagenumber> with the number of the page where your TOC starts.

Wolfgang


More information about the ntg-context mailing list