General ⇒ TOC adjustment
TOC adjustment
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10