Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question

1 Answer

up vote 3 down vote accepted

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}%
}
share|improve this answer
@slhck If you had had this, why haven't you included it in your question and posted {\chapter[#1]{#1\\[1ex]\huge#2}} instead, which obviously does something different? – tohecz Apr 23 '12 at 8:46
The subtitle is visible in ToC. I have put it after the chapter title, not below it, becuase IMHO it would look strange below it. – tohecz Apr 23 '12 at 9:01
However, you can try the second verison. You can as well modify the part in [...] to get another look. – tohecz Apr 23 '12 at 9:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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