答案1
您还没有生成一个 MWE 来展示您想要解决的问题,所以我没有对其进行测试或生成 MWE。
a) 如果您想要的只是移动标题,您可以添加 \usepackage{needspace},然后在节标题前放置 \needspace{5cm}
最好将其严格纳入您的标题设置中,例如
\usepackage{needspace}
\usepackage[explicit,pagestyles]{titlesec}
\titleformat{\section}{\needspace{10\baselineskip}\color{headcol}\large\sffamily\bfseries}{\thesection}{1em}{#1}[]
\titleformat{\subsection}{\needspace{7\baselineskip}\color{headcol}\large\sffamily\bfseries}{\thesubsection}{1em}{#1}[]
\titleformat{\subsubsection}{\needspace{4\baselineskip}\normalsize\sffamily\bfseries}{\thesubsubsection}{1em}{#1}[]
b) 如果您尝试控制列表中的孤儿和寡妇,您可以这样做。选择每个级别的惩罚。
\documentclass{book}
\usepackage{enumitem}
\newlist{myfinelist}{itemize}{7}
\setlist[myfinelist,1]{}
\setlist[myfinelist,2]{beginpenalty=5000}
\setlist[myfinelist,3]{beginpenalty=5000}
\setlist[myfinelist,4]{beginpenalty=5000}
\setlist[myfinelist,5]{beginpenalty=5000}
\setlist[myfinelist,6]{beginpenalty=5000}
\setlist[myfinelist,7]{beginpenalty=5000}
\begin{document}
\begin{myfinelist}
\item[•] Hello Hello
\item[•] Hello Hello
\begin{myfinelist}
\item[•] Hello Hello
\item[•] Hello Hello
\begin{myfinelist}
\item[•] Hello Hello
\item[•] Hello Hello
\item[•] Hello Hello
\item[•] Hello Hello
\item[•] Hello Hello
\end{myfinelist}
\item[•] Hello Hello
\item[•] Hello Hello
\item[•] Hello Hello
\end{myfinelist}
\item[•] Hello Hello
\item[•] Hello Hello
\item[•] Hello Hello
\end{myfinelist}
\end{document}