问题描述
我正在用乳胶写一篇论文,其中一章的标题很长,我无法改写或缩减。因此,在论文中,它扩展了文本宽度。我该如何解决,标题可以扩展到多行吗?
\documentclass[a4paper,12pt,upper,crosshair,sfbold,chapterbib]{thesis}
\usepackage{lipsum}
\begin{document}
\chapter{The title of the chapter: long long long long long long long long long long long long long long long}
\lipsum
\end{document}
解决方法
不确定文档类 thesis
,但请尝试以下语法:
\chapter[Short title for table of contents]{Long long long long long long long title}
\chaptermark{Short title for header}
无法将标题适当地分成两行:一个建议是使用
\chapter{Long long long long long long long title}
\chaptermark{Long long...}
一件事是恢复或改写标题,这里的概念是截断它,而不是将其一分为二线。这并不令人愉快,但有时会发生。
,使用 \chaptermark
命令缩短文本区域,自动添加换行符。
\documentclass[a4paper,12pt,upper,crosshair,sfbold,chapterbib]{thesis}
\usepackage{lipsum}
\begin{document}
\chapter{The title of the chapter: long long long long long long long long long long long long long long long}
\chaptermark{\protect\parbox{0.9\linewidth}{The title of the chapter: long long long long long long long long long long long long long long long}}
\lipsum
\end{document}
,
使用换行符 \\
。
来源:https://tex.stackexchange.com/questions/56222/how-to-make-a-title-of-two-or-more-lines/56224