For some of the chapters of my thesis I want to add a subtitle under the chapter title(but not in the table of content).
I have tried \chapter{Title \\ \large{subtitle}}
, which almost works, but the hyperref package doesn't like the \\
command, and as a result my subtitle shows up very close under the title. Also this adds the subtitle into the table of content, which I don't want. Making the title italic makes it look a little better, but I still don't how to suppress it in the table of contents.
I have also tried \chapter{title}{subtitle}
with
\newcommand\Chapter[2]{
\chapter[#1: {\itshape#2}]{#1\\[2ex]\Large\itshape#2}}
as discussed in How can I get extra subtitles for chapter titles that also appear in the ToC?
But that didn't seem to work for me, as the subtitle just appears as regular text in the body of the chapter in this case.
Best Answer
You can use
This is for long titles that should show up shortened in the toc.
should work fine.
\\[1ex]
creates an additional vertical space of1ex
, i.e., the height of the letterx
. Or create a macro for it:Usage:
\Chapter{title}{subtitle}
MWE:
edit: For changing the default command
\chapter
with lower casec
, one could do the following:I hope I have taken care of every case. That way, every default markup for latex should still work.