Document Classessvmono+enumitem: how to discourage a page break between a remark head and a following list?

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
AlbertNashr
Posts: 2
Joined: Sat Mar 11, 2023 12:39 am

svmono+enumitem: how to discourage a page break between a remark head and a following list?

Post by AlbertNashr »

Feeding

Code: Select all

\documentclass{svmono}% v5.10 (2021/09/08) from http://www.springer.com/gp/authors-editors/book-authors-editors/your-publication-journey/manuscript-preparation#toc-49268 or directly from http://resource-cms.springernature.com/springer-cms/rest/v1/content/20566/data/monographs
\usepackage{enumitem}
\usepackage{lipsum}  
\begin{document}%
\vspace*{80.3ex}
\lipsum[1]
\pagebreak[1]
\begin{remark}[Words words words words words words words words words w\ldots]%\nopagebreak[1]%
  \label{someLabel}%\nopagebreak[1]%
  \begin{enumerate}[label=(\arabic*)]%\nopagebreak[1]%
  \item \lipsum[2-3]%%% a long text here
    \pagebreak[1]
  \item \lipsum[4-5]%%% another long text here
  \end{enumerate}%
\end{remark}
\end{document}
to pdflatex leads to a page break right after the heading of the remark:
Bildschirmfoto von 2023-03-14 00-47-08.png
Bildschirmfoto von 2023-03-14 00-47-08.png (60.31 KiB) Viewed 8344 times
It's interesting to see that inserting any of the commands \pagebreak[1]%, \nopagebreak[1]%, or \penalty0% right after w\ldots] prevents a page break between “ w…)” and “(1)”. As for \nopagebreak[1]%, it's expected. However, as for \pagebreak[1]% and \penalty0%, these commands have an opposite effect (which is strange because IMHO, they apparently should enable breaking or at least not prevent it)!

Why does this happen? What would be an appropriate way to slightly discourage a page break between the header end “ w…)” and the start of the list “(1)”?

Crossposts: http://topanswers.xyz/tex?q=3802 , http://golatex.de/viewtopic.php?f=4&p=121245 , http://texwelt.de/fragen/29115 and http://tex.stackexchange.com/questions/678749 .

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
Post Reply