chapter subtitle in thesis

7 041 zobrazení
Přeskočit na první nepřečtenou zprávu

rupai

nepřečteno,
19. 1. 2011 5:59:2419.01.11
komu: LaTeX Users Group
Hi all,
I want to add subtitle to some of the chapters of my
thesis. I would appreciate if you kindly share your ideas to add a
subtitle below the title of a chapter.

Regards,
rupai

Bongani Ngwenya

nepřečteno,
19. 1. 2011 6:45:5719.01.11
komu: latexus...@googlegroups.com
You add \section{NAME} below your \chapter{}, as many as you'd like.


--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.




--
Bongani Ngwenya
Cell: 0027 84 429 5399
Office: 0027 12 420 3114
Fax: 0027 86 517 6293
bongani...@gmail.com
mab...@yahoo.co.uk

Peter Flynn

nepřečteno,
19. 1. 2011 10:35:4119.01.11
komu: latexus...@googlegroups.com
On Wed, Jan 19, 2011 at 11:45 AM, Bongani Ngwenya <bongani...@gmail.com> wrote:
You add \section{NAME} below your \chapter{}, as many as you'd like.

Certainly possible, but it may have unwanted side-effects. If you settle on a convention like the colon in a title, you can add a \Chapter command (capital C) which splits off the implicit subtitle and reformats it in the title, keeping it out of the ToC:
 
\documentclass{book}
\makeatletter
\newcommand{\Chapter}[1]{\split@chapter#1:}
\def\split@chapter#1:#2:{\chapter[#1]{#1\\[1ex]\huge#2}}
\makeatother
\begin{document}
\tableofcontents
\Chapter{Adding Subtitles: An Extra \LaTeX\ Interpretation to Separate
a Subtitle After a Colon}
Stuff
\end{document}

///Peter

Peter Flynn

nepřečteno,
19. 1. 2011 10:37:1219.01.11
komu: latexus...@googlegroups.com
On Wed, Jan 19, 2011 at 11:45 AM, Bongani Ngwenya <bongani...@gmail.com> wrote:
You add \section{NAME} below your \chapter{}, as many as you'd like.

Certainly possible, but it may have unwanted side-effects. If you settle on a convention like the colon in a title, you can add a \Chapter command (capital C) which splits off the implicit subtitle and reformats it in the title, keeping it out of the ToC:
 
\documentclass{book}

Sorry, it's better to use report for a thesis than book, because it lets you use an abstract. The rest of it still works.

///Peter

Bruno Le Floch

nepřečteno,
20. 1. 2011 6:17:2120.01.11
komu: LaTeX Users Group
> Certainly possible, but it may have unwanted side-effects. If you settle on
> a convention like the colon in a title, you can add a \Chapter command
> (capital C) which splits off the implicit subtitle and reformats it in the
> title, keeping it out of the ToC:
>
> \documentclass{report}
> \makeatletter
> \newcommand{\Chapter}[1]{\split@chapter#1:}
> \def\split@chapter#1:#2:{\chapter[#1]{#1\\[1ex]\huge#2}}
> \makeatother
> \begin{document}
> \tableofcontents
> \Chapter{Adding Subtitles: An Extra \LaTeX\ Interpretation to Separate
> a Subtitle After a Colon}
> Stuff
> \end{document}

Why not simply use the syntax \Chapter{Title}{Subtitle}? This can be
obtained by replacing Peter's definition by

\newcommand{\Chapter}[2]{\chapter[#1]{#1\\[1ex]\huge#2}}

A full MWE heavily based on his:

\documentclass{report}
\newcommand{\Chapter}[2]{\chapter[#1]{#1\\[1ex]\huge#2}}
\begin{document}
\tableofcontents
\Chapter{Adding Subtitles}{An Extra \LaTeX\ Interpretation to Separate
a Subtitle using two arguments}
Stuff
\end{document}

///Bruno

rupai

nepřečteno,
23. 1. 2011 13:18:0523.01.11
komu: LaTeX Users Group
hi,
Thank you all for the suggestions. Both way, it worked.

regards,
rupai
Odpovědět všem
Odpověď autorovi
Přeposlat
0 nových zpráv