tags:

views:

41

answers:

3

Hi all,

I need to produce a PDF document in which I need some "chapters" (along with its sections and subsections) to be non-numbered but still included in the ToC.

This is for my master thesis. I'm using the book document class, because I don't like memoir defaults.

If I use \chapter*, then LaTeX remove the chapter from the ToC. But I'm required to have those as well in the ToC. Furthermore, the headings (fancy) are not changed with \chapter*.

The overall structure of the thesis is:

\maketitle %% A custom one
\frontmatter
\tableofcontents
\listoftables
\listoffigures

\chapter*{Abstract}
\chapter*{Introduction} %% This "chapter" presents the whole thesis

\mainmatter

%% Here the real chapters are written

\appendix
%% Appendixes here

%% bibliography

How can I make \chapter*, \section*, and \subsection* to appear in the ToC and to modify the headers?

Best regards, Manuel.

A: 

Check out the memoir class.

John Percival Hackworth
Though I like some of the features of the memoir class, using it always presupposes that the OP was using a standard class like 'article', but if it is required to use some class for formatting then this cannot be a good solution.
Joel
True, but the OP is writing a thesis the memoir is a good idea. If there is a thesis class already available for the OP then it should be correct and this question shouldn't need to be asked.
John Percival Hackworth
+2  A: 

I don't think an specialized command exists for that. But you can use

  \addcontentsline{toc}{chapter}{#1}

to add it to the TOC. BTW, I didn't have problems with \chapter* and fancy, so I used:

\newcommand\chap[1]{%
  \chapter*{#1}%
  \addcontentsline{toc}{chapter}{#1}}
smilingthax
A: 

At the bottom of this page there are links to several packages that might help. I particularly think that anonchap or fncychap packages are possibilities for you.

Joel