I have document which require me that chapter headings consist of two parts: (1) Chapter number (Chapter 1, Chapter One etc.) or any other text with similar function and (2) descriptive title below number that can be long. I was able to push descriptive title below chapter number and style it according to my needs with following macro:
\documentclass[final]{book}
\usepackage{lipsum}
\def \mylongchapter#1#2{
\chapter*{\centering{\LARGE #1} \\* \textnormal{\Large #2}}
\addcontentsline{toc}{chapter}{#1: #2}
}
\begin{document}
\mylongchapter{Chapter 1}{This Chapter Have Very Interesting and Long Title Below Chapter Number}
\lipsum[11-30]
\end{document}
Which produces this:
Questions:
- Is there any better way to typeset chapters with such descriptive title than what I did?
- How to control (or remove) spacing/gap between two or more lines of descriptive title (see picture below)?
- How to control spacing between Chapter 1 and descriptive title?
Best Answer
You could try redefining
@makechapterhead
in the book class:You can change three numeric values (
50\p@
,20\p@
and40 \p@
) to adjust margin above chapter number, space between chapter number and chapter title and space below chapter title respectively. See commens in the code for proper places to change those values.EDIT: You can use
setspace
package to alter spacing like so:And for
\chapter*
, I think redefining@makeschapterhead
(note the 's' for starred) would do the same thing. But I suspect that you would be able to make all these changes with one of the packages mentioned in the other answers, maybe even more easily!