33

I'd like to do this for some of my sections but not all. I'd also like to maintain the current spacing; for example, if the vspacing is 1cm from section title to body text (at 100% zoom), then I'd like it to be 1cm from the subtitle to body text.

Thanks.

User 17670
  • 4,722
  • 4
    Should this subtitle be part of the title (as in, appear in contents)? If so, why not simply use something like \section{Section Title\\Section Subtitle}? – raphink Aug 31 '12 at 10:41
  • 1
    That's a nice option. I tried it and it looks OK, but I'd like to have the subtitle in a smaller font that the title. Thing is, when I use \section{Section Title\\ \large{Section Subtitle}}, it makes the Section Subtitle into large in the TOC. – User 17670 Aug 31 '12 at 10:58
  • 5
    Then perhaps you can play with the short title argument of the \section command: would \section[Section Title\\ Section Subtitle]{Section Title\\ \large{Section Subtitle}} be what you are looking for ? – Corentin Aug 31 '12 at 11:04
  • Yes, that works excellently! And, it also gives me the option to remove the "Section Subtitle" argument from the [...]. Thanks all. – User 17670 Aug 31 '12 at 11:12

1 Answers1

30

If the section's subtitle has to show up in the TOC, then use:

\documentclass[10pt]{article}
\begin{document}
\tableofcontents
\section[Section Title. Section Subtitle]{Section 
   Title\\ {\large Section Subtitle}}
\section{Another Section}
\end{document}
User 17670
  • 4,722
Mico
  • 506,678
  • 1
    @User17670 - In my solution, I suggest not using a line break but simply a period (full stop) to separate the main title and subtitle. – Mico Aug 31 '12 at 12:15
  • Yes, I noticed. Thanks for the input(!), although I already had a solution (which IMO looks better) from Corentin Herbert.

    Also, I changed \document class to \documentclass in your post :p

    – User 17670 Aug 31 '12 at 12:54