我尝试防止章节标题“过早”中断,即在它和页面边框之间留出太多空间。
像此截图,我希望“系统”和“消化”与其他标题保持一致。
我正在使用这个scrbook
课程。
这是重现该问题的一些代码:
\documentclass[%
final,
11pt,
bigheadings,
a4paper,
DIV11,
1.1headlines,
headexclude,
footexclude,
mpexclude,
pagesize,
twoside,
onecolumn,
openany,
titlepage,
halfparskip*,
headsepline,
nochapterprefix,
bibtotoc,
tocindent,
listsindent,
pointlessnumbers,
fleqn,
]{scrbook}
\begin{document}
\section{This is a long section a long section a long section title}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ultrices, lectus vel rhoncus ornare, dui neque rhoncus lectus, ut eleifend risus erat et nibh. Cras accumsan volutpat est. Nunc cursus augue non mi tincidunt pretium. Aliquam et eros mi. Curabitur eu dui est, sit amet laoreet est. Nullam libero nisl, convallis eu placerat eu, pellentesque sit amet est. Suspendisse dolor mauris, porta non venenatis nec, eleifend nec erat. Aenean hendrerit volutpat quam. Vestibulum fringilla magna pretium mi pellentesque lacinia.
\end{document}
答案1
您正在使用大量过时的类选项。导致您出现问题的具体选项是halfparskip*
;请改用parskip=half*
。我已更新您的 MWE,并删除了过时的选项:
\documentclass[%
final,
a4paper,
DIV11,
1.1headlines,
pagesize,
twoside,
onecolumn,
openany,
titlepage,
headsepline,
parskip=half*,
fleqn,
]{scrbook}% http://ctan.org/pkg/koma-script
\begin{document}
\section{This is a long section a long section a long section title that spans two lines}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ultrices, lectus ver
rhoncus ornare, dui neque rhoncus lectus, ut eleifend risus erat et nibh. Cras accumsan
volutpat est. Nunc cursus augue non mi tincidunt pretium. Aliquam et eros mi. Curabitur
eu dui est, sit amet laoreet est. Nullam libero nisl, convallis eu placerat eu,
pellentesque sit amet est. Suspendisse dolor mauris, porta non venenatis nec,
eleifend nec erat. Aenean hendrerit volutpat quam. Vestibulum fringilla magna
pretium mi pellentesque lacinia.
\end{document}