Hi,
The last entry in TOC is getting printed on a new page. How do I make sure that only entry does not go on new page, but it stays with earlier entries?
I tried "page enlarging", but I guess that's not a good option.
Regards,
Omkar
General ⇒ TOC adjustment
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
TOC adjustment
I don't know what you consider as the process of enlarging a page. To me there seem to be two possible solutions.omkardpd wrote:[...] I tried "page enlarging", but I guess that's not a good option. [...]
The first one is the enlargement of the page right before the ToC is printed.
Code: Select all
\enlargethispage{\baselineskip}
\tableofcontents
Code: Select all
\addtocontents{toc}{\protect\enlargethispage{\baselineskip}}
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10