Theses, Books, Title pages ⇒ How to remove appendix, bibliography, etc from part minitoc
-
- Posts: 1
- Joined: Wed Nov 11, 2015 11:23 pm
How to remove appendix, bibliography, etc from part minitoc
Hello,
I would like to know how to exclude the appendix, bibliography and index form the part table of contents?
Thanks in advance.
Augusto Salazar
I would like to know how to exclude the appendix, bibliography and index form the part table of contents?
Thanks in advance.
Augusto Salazar
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10337
- Joined: Mon Mar 10, 2008 9:44 pm
How to remove appendix, bibliography, etc from part minitoc
Hi Augusto,
welcome to the forum!
You could insert
when the appendix starts.
Stefan
welcome to the forum!
You could insert
Code: Select all
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}
Stefan
LaTeX.org admin
How to remove appendix, bibliography, etc from part minitoc
Hi! I'm trying to use this code to hide "Table of contents" in the same Table of contents. However, while it does hide it, it also hides from the Table of contents the rest of the chapters, etc., that goes after it.Stefan Kottwitz wrote:Hi Augusto,
welcome to the forum!
You could insertwhen the appendix starts.Code: Select all
\addtocontents{toc}{\protect\setcounter{tocdepth}{-1}}
Stefan
Thanks in advance!
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
How to remove appendix, bibliography, etc from part minitoc
If your table of contents has an own entry in the table of contents, something is dodgy. It is not standard and the reason is in your code. Please prepare a minimal working example for us to reproduce your special problem.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
How to remove appendix, bibliography, etc from part minitoc
Hi Johannes, many thanks for your help. This is the first time I do this, I attach a MWE, I hope to have done it right!Johannes_B wrote:If your table of contents has an own entry in the table of contents, something is dodgy. It is not standard and the reason is in your code. Please prepare a minimal working example for us to reproduce your special problem.
- Attachments
-
- Test (Problem ToC).zip
- Test (Problem ToC)
- (44.36 KiB) Downloaded 191 times
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
How to remove appendix, bibliography, etc from part minitoc
Guys, you gotta do just a very little bit of reading. A teplate will not save you from learning LaTeX, but it adds a few blows and whistles. So you don't have to read everything.
What do you think the following line in your code is doing?
What do you think the following line in your code is doing?
Code: Select all
toctotoc, % Uncomment to add the main table of contents to the table of contents
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: How to remove appendix, bibliography, etc from part mini
Thanks... I don't know how I skipped that 
