How to remove the self-reference of the ToC in Latex book class
I want to remove the self-reference of the ToC in Latex book class as in the picture below

Can you help me?
table-of-contents formatting
add a comment |
I want to remove the self-reference of the ToC in Latex book class as in the picture below

Can you help me?
table-of-contents formatting
Please add a minimal working example (MWE) that illustrates your problem. You clearly are usinghyperrefpackage and that is not reflected in any way in your question.
– zeroth
May 19 '13 at 13:33
add a comment |
I want to remove the self-reference of the ToC in Latex book class as in the picture below

Can you help me?
table-of-contents formatting
I want to remove the self-reference of the ToC in Latex book class as in the picture below

Can you help me?
table-of-contents formatting
table-of-contents formatting
asked May 19 '13 at 8:18
Just lifeJust life
9516
9516
Please add a minimal working example (MWE) that illustrates your problem. You clearly are usinghyperrefpackage and that is not reflected in any way in your question.
– zeroth
May 19 '13 at 13:33
add a comment |
Please add a minimal working example (MWE) that illustrates your problem. You clearly are usinghyperrefpackage and that is not reflected in any way in your question.
– zeroth
May 19 '13 at 13:33
Please add a minimal working example (MWE) that illustrates your problem. You clearly are using
hyperref package and that is not reflected in any way in your question.– zeroth
May 19 '13 at 13:33
Please add a minimal working example (MWE) that illustrates your problem. You clearly are using
hyperref package and that is not reflected in any way in your question.– zeroth
May 19 '13 at 13:33
add a comment |
2 Answers
2
active
oldest
votes
The class book does not include starred chapters into the table of contents. The tableofcontents and listoffigures use a starred chapter internally, therefore I guess that you are using package tocbibind that includes both tableofcontents and listoffigures in the table of contents. The first can be disabled by option nottoc:
documentclass{book}
usepackage[nottoc]{tocbibind}
begin{document}
frontmatter
tableofcontents
listoffigures
mainmatter
chapter{Introduction}
end{document}
Class CUEDthesis
The class contains:
usepackage{tocbibind}
Thus my guess is quite correct. ☺
Since the option nottoc cannot be given after loading the class (except using an internal @dotoctocfalse), the option can be given before:
PassOptionsToPackage{nottoc}{tocbibind}
documentclass{CUEDthesisPSnPDF}
It doestn't work. I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/…
– Just life
May 19 '13 at 15:43
1
@Justlife Your question has stated classbook. That's one of the reasons people request a MWE.
– Heiko Oberdiek
May 19 '13 at 15:52
It works well for me. Heiko Oberdiek, I love your solution. Thank you so much.
– Just life
May 19 '13 at 16:42
add a comment |
I don't get a Contents line in the following MWE
documentclass{book}
usepackage{lipsum}
begin{document}
tableofcontents%
chapter{First}
lipsum%
chapter{Second}
lipsum%
end{document}
Do you have a line that is something like
addcontentsline{toc}{chapter}{Contents}
near to tableofcontents? The addcontentsline will add an entry to toc at the the chapter level called Contents.
Dear Chris, I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle
– Just life
May 19 '13 at 15:44
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f115040%2fhow-to-remove-the-self-reference-of-the-toc-in-latex-book-class%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The class book does not include starred chapters into the table of contents. The tableofcontents and listoffigures use a starred chapter internally, therefore I guess that you are using package tocbibind that includes both tableofcontents and listoffigures in the table of contents. The first can be disabled by option nottoc:
documentclass{book}
usepackage[nottoc]{tocbibind}
begin{document}
frontmatter
tableofcontents
listoffigures
mainmatter
chapter{Introduction}
end{document}
Class CUEDthesis
The class contains:
usepackage{tocbibind}
Thus my guess is quite correct. ☺
Since the option nottoc cannot be given after loading the class (except using an internal @dotoctocfalse), the option can be given before:
PassOptionsToPackage{nottoc}{tocbibind}
documentclass{CUEDthesisPSnPDF}
It doestn't work. I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/…
– Just life
May 19 '13 at 15:43
1
@Justlife Your question has stated classbook. That's one of the reasons people request a MWE.
– Heiko Oberdiek
May 19 '13 at 15:52
It works well for me. Heiko Oberdiek, I love your solution. Thank you so much.
– Just life
May 19 '13 at 16:42
add a comment |
The class book does not include starred chapters into the table of contents. The tableofcontents and listoffigures use a starred chapter internally, therefore I guess that you are using package tocbibind that includes both tableofcontents and listoffigures in the table of contents. The first can be disabled by option nottoc:
documentclass{book}
usepackage[nottoc]{tocbibind}
begin{document}
frontmatter
tableofcontents
listoffigures
mainmatter
chapter{Introduction}
end{document}
Class CUEDthesis
The class contains:
usepackage{tocbibind}
Thus my guess is quite correct. ☺
Since the option nottoc cannot be given after loading the class (except using an internal @dotoctocfalse), the option can be given before:
PassOptionsToPackage{nottoc}{tocbibind}
documentclass{CUEDthesisPSnPDF}
It doestn't work. I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/…
– Just life
May 19 '13 at 15:43
1
@Justlife Your question has stated classbook. That's one of the reasons people request a MWE.
– Heiko Oberdiek
May 19 '13 at 15:52
It works well for me. Heiko Oberdiek, I love your solution. Thank you so much.
– Just life
May 19 '13 at 16:42
add a comment |
The class book does not include starred chapters into the table of contents. The tableofcontents and listoffigures use a starred chapter internally, therefore I guess that you are using package tocbibind that includes both tableofcontents and listoffigures in the table of contents. The first can be disabled by option nottoc:
documentclass{book}
usepackage[nottoc]{tocbibind}
begin{document}
frontmatter
tableofcontents
listoffigures
mainmatter
chapter{Introduction}
end{document}
Class CUEDthesis
The class contains:
usepackage{tocbibind}
Thus my guess is quite correct. ☺
Since the option nottoc cannot be given after loading the class (except using an internal @dotoctocfalse), the option can be given before:
PassOptionsToPackage{nottoc}{tocbibind}
documentclass{CUEDthesisPSnPDF}
The class book does not include starred chapters into the table of contents. The tableofcontents and listoffigures use a starred chapter internally, therefore I guess that you are using package tocbibind that includes both tableofcontents and listoffigures in the table of contents. The first can be disabled by option nottoc:
documentclass{book}
usepackage[nottoc]{tocbibind}
begin{document}
frontmatter
tableofcontents
listoffigures
mainmatter
chapter{Introduction}
end{document}
Class CUEDthesis
The class contains:
usepackage{tocbibind}
Thus my guess is quite correct. ☺
Since the option nottoc cannot be given after loading the class (except using an internal @dotoctocfalse), the option can be given before:
PassOptionsToPackage{nottoc}{tocbibind}
documentclass{CUEDthesisPSnPDF}
edited May 19 '13 at 15:52
answered May 19 '13 at 10:58
Heiko OberdiekHeiko Oberdiek
229k17557907
229k17557907
It doestn't work. I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/…
– Just life
May 19 '13 at 15:43
1
@Justlife Your question has stated classbook. That's one of the reasons people request a MWE.
– Heiko Oberdiek
May 19 '13 at 15:52
It works well for me. Heiko Oberdiek, I love your solution. Thank you so much.
– Just life
May 19 '13 at 16:42
add a comment |
It doestn't work. I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/…
– Just life
May 19 '13 at 15:43
1
@Justlife Your question has stated classbook. That's one of the reasons people request a MWE.
– Heiko Oberdiek
May 19 '13 at 15:52
It works well for me. Heiko Oberdiek, I love your solution. Thank you so much.
– Just life
May 19 '13 at 16:42
It doestn't work. I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/…
– Just life
May 19 '13 at 15:43
It doestn't work. I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/…
– Just life
May 19 '13 at 15:43
1
1
@Justlife Your question has stated class
book. That's one of the reasons people request a MWE.– Heiko Oberdiek
May 19 '13 at 15:52
@Justlife Your question has stated class
book. That's one of the reasons people request a MWE.– Heiko Oberdiek
May 19 '13 at 15:52
It works well for me. Heiko Oberdiek, I love your solution. Thank you so much.
– Just life
May 19 '13 at 16:42
It works well for me. Heiko Oberdiek, I love your solution. Thank you so much.
– Just life
May 19 '13 at 16:42
add a comment |
I don't get a Contents line in the following MWE
documentclass{book}
usepackage{lipsum}
begin{document}
tableofcontents%
chapter{First}
lipsum%
chapter{Second}
lipsum%
end{document}
Do you have a line that is something like
addcontentsline{toc}{chapter}{Contents}
near to tableofcontents? The addcontentsline will add an entry to toc at the the chapter level called Contents.
Dear Chris, I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle
– Just life
May 19 '13 at 15:44
add a comment |
I don't get a Contents line in the following MWE
documentclass{book}
usepackage{lipsum}
begin{document}
tableofcontents%
chapter{First}
lipsum%
chapter{Second}
lipsum%
end{document}
Do you have a line that is something like
addcontentsline{toc}{chapter}{Contents}
near to tableofcontents? The addcontentsline will add an entry to toc at the the chapter level called Contents.
Dear Chris, I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle
– Just life
May 19 '13 at 15:44
add a comment |
I don't get a Contents line in the following MWE
documentclass{book}
usepackage{lipsum}
begin{document}
tableofcontents%
chapter{First}
lipsum%
chapter{Second}
lipsum%
end{document}
Do you have a line that is something like
addcontentsline{toc}{chapter}{Contents}
near to tableofcontents? The addcontentsline will add an entry to toc at the the chapter level called Contents.
I don't get a Contents line in the following MWE
documentclass{book}
usepackage{lipsum}
begin{document}
tableofcontents%
chapter{First}
lipsum%
chapter{Second}
lipsum%
end{document}
Do you have a line that is something like
addcontentsline{toc}{chapter}{Contents}
near to tableofcontents? The addcontentsline will add an entry to toc at the the chapter level called Contents.
answered May 19 '13 at 10:04
ChrisChris
895169
895169
Dear Chris, I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle
– Just life
May 19 '13 at 15:44
add a comment |
Dear Chris, I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle
– Just life
May 19 '13 at 15:44
Dear Chris, I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle
– Just life
May 19 '13 at 15:44
Dear Chris, I use the standard Cambridge University PhD/MPhil thesis latex template here www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle
– Just life
May 19 '13 at 15:44
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f115040%2fhow-to-remove-the-self-reference-of-the-toc-in-latex-book-class%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown

Please add a minimal working example (MWE) that illustrates your problem. You clearly are using
hyperrefpackage and that is not reflected in any way in your question.– zeroth
May 19 '13 at 13:33