[texhax] \par\nobreak vs. \vskip...\nobreak

Rodolfo Medina rodolfo.medina at gmail.com
Tue Jul 10 19:00:08 CEST 2018

Hi all TeXperts.

If, in a plain TeX document, I put `\par\nobreak', I'm quite sure that no page
break will occur at that place.  Instead, if I do i.e. `\smallskip\nobreak',
TeX will break the page just there.  As an example, I'm attaching a file to be
processed with simply `tex file'...  In it there's a `\smallskip\nobreak' that
breaks the page.  Replacing it with \par\nobreak prevents the break...  How can
I tell TeX to apply a certain \vskip - different from \parskip - without
breaking the page there...?

Thanks for any help,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.tex
Type: text/x-tex
Size: 12273 bytes
Desc: not available
URL: <https://tug.org/pipermail/texhax/attachments/20180710/49fdc126/attachment.bin>

More information about the texhax mailing list