10

I have several chapter titles that I would like to combine with subtitles, typeset in italics.

For example,

Chapter Title

A very fine chapter indeed …

Now, I found an approach on how to do this here, introducing a new \Chapter command, which now looks like this:

\newcommand\Chapter[2]{
  \chapter[#1: {\itshape#2}]{#1\\[2ex]\Large\itshape#2}
}

This somewhat works (although it breaks TextMate's auto-recognition of chapters), but I would like these subtitles to also be visible in the Table of Contents.

Like so:

Chapter Title                                                                                1

A very fine chapter indeed …

Is there any way to achieve that? Note that my LaTeX fu is pretty limited, so I'm not sure where to even start.

8

This simple solution should work for you. It is not formatted as you wished, but I really cannot imagine a ToC with subtitles below some title there.

\documentclass{report}

\newcommand\Chapter[2]{
  \chapter[#1: {\itshape#2}]{#1\\[2ex]\Large\itshape#2}
}

\begin{document}

\tableofcontents

\Chapter{My chapter}{Nice subtitle}

Lorem ipsum ...

\chapter{Another chapter}

Lorem ipsum ...

\end{document}

Alternative definition of \Chapter to have the subtitle below the title in ToC:

\newcommand\Chapter[2]{\chapter
  [#1\hfil\hbox{}\protect\linebreak{\itshape#2}]%
  {#1\\[2ex]\Large\itshape#2}%
}
  • Is it possible to do this without introducing a new command? I mean, would something like this work too: \renewcommand\chapter[2]{\chapter[#1: {\itshape#2}]#1\\[2ex]\Large\itshape#2}}? – user5950 Sep 24 '13 at 21:35
  • @user5950 You have to store the old \chapter first. Therefore you need: \let\oldchapter\chapter \renewcommand\chapter[2]{\oldchapter[#1: {\itshape#2}]#1\\[2ex]\Large\itshape#2}} – yo' Sep 24 '13 at 22:28
  • However, \chapter has an optional argument by default which you remove by this. I'd stick to changing the command name. – yo' Sep 24 '13 at 22:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.