General\nopagebreak

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
biff
Posts: 2
Joined: Sat Mar 10, 2007 1:06 am

\nopagebreak

Post by biff »

What is the exact functioning of \nopagebreak? I need to be able to control very precisely where page breaks occur in my document. In particular, when \nopagebreak occurs by itself on a line, does this constitute a paragraph break that cannot also be a page break? If not, how do I produce a paragraph break (blank line of output) that cannot also be a page break?

Biff

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Paulo
Posts: 7
Joined: Fri Feb 16, 2007 1:28 pm

\nopagebreak

Post by Paulo »

You can produce blank spaces (lines) using \vspace command
biff
Posts: 2
Joined: Sat Mar 10, 2007 1:06 am

Re: \nopagebreak

Post by biff »

Thank you! I will keep that in mind. When a \nopagebreak is inserted before or after a blank line (in the source code), does its effect extend to the adjacent blank line(s)? Or, is each blank line a potential page break, despite the \nopagebreak?

Biff
Post Reply