如何摆脱定理列表中的寡妇

如何摆脱定理列表中的寡妇

在我的博士论文中,我的定义列表中有 31 个定义。最后一个定义在这一页上放不下,在下一页就成了孤儿。

我怎样才能将一个或多个定义移动到下一页?

在以下 MWE Bernard 的建议\enlargethispage*{\baselineskip}作品中,放置在 之后\listoftheorems。然而,在我的论文中,寡妇仍然在下一页。

\documentclass[10pt,twoside,openright]{book}
\usepackage{geometry}
\geometry{
    vmarginratio=7:5,
    hmarginratio=1:1,
    papersize={170mm,240mm},
    total={130mm,190mm}
}

% twee packages voor betere fonts
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern,textcomp}

% package voor de laatste versie van het standaard lettertype
\renewcommand{\familydefault}{\sfdefault}

\usepackage{amsmath,amsthm,thmtools,thm-restate}

\newtheoremstyle{mydef}
{\topsep}{\topsep}%
{\itshape}{}%
{\bfseries}{}
{\newline}
{%
 \rule{\textwidth}{0.4pt}\\*%
 \thmname{#1}~\thmnumber{#2}\thmnote{\ -\ #3}\\*[-1.5ex]%
 \rule{\textwidth}{0.4pt}}%

\theoremstyle{mydef}

\newtheorem{definition}{Definition}[chapter]

\declaretheorem[name=Definition,numberwithin=chapter]{thm} 

\renewcommand\listtheoremname{List of Definitions}

% \usepackage[defaultlines=3,all]{nowidow}


\begin{document}

\frontmatter

\listoftheorems[ignoreall,show={thm}]
\enlargethispage*{\baselineskip}

\mainmatter
\chapter{Some definitions}

\begin{restatable}[One]{thm}{one}
This is a definition.
\end{restatable}

\begin{restatable}[Two]{thm}{two}
This is a definition.
\end{restatable}

\begin{restatable}[Three]{thm}{three}
This is a definition.
\end{restatable}

\chapter{Some more definitions}

\begin{restatable}[Four]{thm}{four}
This is a definition.
\end{restatable}

\begin{restatable}[Five]{thm}{five}
This is a definition.
\end{restatable}

\begin{restatable}[Six]{thm}{six}
This is a definition.
\end{restatable}

\begin{restatable}[Seven]{thm}{seven}
This is a definition.
\end{restatable}

\begin{restatable}[Eight]{thm}{eight}
This is a definition.
\end{restatable}

\begin{restatable}[Nine]{thm}{nine}
This is a definition.
\end{restatable}

\begin{restatable}[Ten]{thm}{ten}
This is a definition.
\end{restatable}

\begin{restatable}[Eleven]{thm}{eleven}
This is a definition.
\end{restatable}

\begin{restatable}[Twelve]{thm}{twelve}
This is a definition.
\end{restatable}

\begin{restatable}[Thirteen]{thm}{thirteen}
This is a definition.
\end{restatable}

\begin{restatable}[Fourteen]{thm}{fourteen}
This is a definition.
\end{restatable}

\begin{restatable}[Fifteen]{thm}{fifteen}
This is a definition.
\end{restatable}

\begin{restatable}[Sixteen]{thm}{sixteen}
This is a definition.
\end{restatable}

\chapter{And more definitions}

\begin{restatable}[Seventeen]{thm}{seventeen}
This is two.
\end{restatable}

\begin{restatable}[Eighteen]{thm}{eighteen}
This is a definition.
\end{restatable}

\begin{restatable}[Nineteen]{thm}{nineteen}
This is a definition.
\end{restatable}

\begin{restatable}[Twenty]{thm}{twenty}
This is a definition.
\end{restatable}

\begin{restatable}[Twenty-one]{thm}{twentyone}
This is a definition.
\end{restatable}

\begin{restatable}[Twenty-two]{thm}{twentytwo}
This is a definition.
\end{restatable}

\begin{restatable}[Twenty-three]{thm}{twentythree}
This is a definition.
\end{restatable}

\chapter{Even more definitions}

\begin{restatable}[Twenty-four]{thm}{twentyfour}
This is a definition.
\end{restatable}

\begin{restatable}[Twenty-five]{thm}{twentyfive}
This is a definition.
\end{restatable}

\begin{restatable}[Twenty-six]{thm}{twentysix}
This is a definition.
\end{restatable}

\begin{restatable}[Twenty-seven]{thm}{twentyseven}
This is a definition.
\end{restatable}

\begin{restatable}[Twenty-eight]{thm}{twentyeight}
This is a definition.
\end{restatable}

\begin{restatable}[Twenty-nine]{thm}{twentynine}
This is a definition.
\end{restatable}

\begin{restatable}[Thirty]{thm}{thirty}
This is a definition.
\end{restatable}

\begin{restatable}[Thirty-one]{thm}{thirtyone}
This is a definition.
\end{restatable}

\end{document}

在此处输入图片描述

相关内容