Removing entries from TOC

5,708 views
Skip to first unread message

Mara

unread,
Oct 23, 2009, 8:09:08 PM10/23/09
to LaTeX Users Group
Hello,

I am writing my thesis, and now I am having a problem. The required
template should neither contain the word "Appendix", nor the the
titles of the appendices, nor the sections of the Appendices in the
Table of Contents TOC. Instead, it requires only the word "Appendices"
to appear after the bibliography. I could manage to get this word,
but I couldn't remove the entries from TOC.

What can we do if we want to remove entries from table of contents but
keeping them inside the thesis. I want to keep the numbering of the
sections but I don't want them to be
appear in TOC.

for example:

I want to keep
Appendix A.......................\chapter{Appendix title}
A.1 section title1................\section{ section title1}
A.2 section title2 ................\section{ section title2}
and so on...
Then
Appendix B.......................\chapter{Appendix title}
B.1 section title2................\section{ section title1}
B.2 section title2 ................\section{ section title2}

and so on,...

using these commends will show them in both, inside the thesis and in
TOC. I want the table of contents shows nothing of that. I want them
only
inside the thesis.

I have to use the commend, \appendix , because I want the numbering of
the
appendices. If I use \section* then I will loss the numbering of the
sections!!
There must be some commend to not let the entries included in TOC

by the way, I am using Chicago template with some modification.

Any idea?
I need help please?
Thanks beforehand
Message has been deleted

nedda

unread,
Oct 28, 2009, 9:20:32 PM10/28/09
to LaTeX Users Group
Hi,
have you tried using
\begin{appendices}

\end{appendices}
and inside you use norma \chapter, \section...
I'm not sure it would solve your problem, though.
Nedda

Rand Alfaris

unread,
Oct 28, 2009, 10:33:22 PM10/28/09
to latexus...@googlegroups.com
Hi Luis,

if I use \chapter*{} or \section*{} then yes you are right, I will get rid of them in ToC but in the same time I will lose their numbering inside the body of the thesis!

I don't want that, I need to keep the numbering inside the body of the thesis, only I want to get rid of them in ToC.

Do you get me?

Any other Idea?
Mara

On Mon, Oct 26, 2009 at 3:42 PM, Luis <luis.t...@gmail.com> wrote:

Hi Mara,

try using \chapter*{} instead of \chapter{} and \section*{} instead of
\section{} in the appendices.

HTH



--
Rand Alfaris
Ph.D student, cryptography/Number Theory.
Institute for mathematical Research,
University Putra Malaysia.

Werner Grundlingh

unread,
Oct 29, 2009, 12:25:00 AM10/29/09
to LaTeX Users Group
On Oct 28, 7:33 pm, Rand Alfaris <randalfa...@gmail.com> wrote:
> Hi Luis,
>
> if I use \chapter*{} or \section*{} then yes you are right, I will get rid
> of them in ToC but in the same time I will lose their numbering inside the
> body of the thesis!
>
> I don't want that, I need to keep the numbering inside the body of the
> thesis, only I want to get rid of them in ToC.
>
> Do you get me?
>
> Any other Idea?
> Mara

Mara,

For regular sections that you want to keep the section numbering but
remove it from the Table of Contents, you can do the following:
\refstepcounter{section}%
\section*{\thesection \quad SECTION TITLE}

If this is too clumsy, define a new command that does all of the
above:
\newcommand{\notocsection}[1]{%
\refstepcounter{section}%
\section*{\thesection \quad #1}}%

The starred version of \section{...} removes it from the Table of
Contents, obviously. \refstepcounter{section} increments the section
counter, while \thesection prints the (updated) counter. \quad just
leaves the required space between the printed counter and the SECTION
TITLE.

I guess the same should work for chapters...

Werner

Rand Alfaris

unread,
Oct 29, 2009, 12:34:29 PM10/29/09
to latexus...@googlegroups.com
Werner,

Thank you a lot.

Mara
Reply all
Reply to author
Forward
0 new messages