ToC header appears in next chapterHow can I display a short chapter name in the header and a long chapter...
Ultrafilters as a double dual
Ignoring Someone as Wrongful Speech
The need of reserving one's ability in job interviews
What is better: yes / no radio, or simple checkbox?
Can a Mimic (container form) actually hold loot?
Is there a way to find out the age of climbing ropes?
The (Easy) Road to Code
Was it really inappropriate to write a pull request for the company I interviewed with?
Giving a talk in my old university, how prominently should I tell students my salary?
Are healthy patients an appropriate control group?
3.5% Interest Student Loan or use all of my savings on Tuition?
Infinitive vs Gerund
Rationale to prefer local variables over instance variables?
Different Account page layouts, what are they?
Called into a meeting and told we are being made redundant (laid off) and "not to share outside". Can I tell my partner?
Does the US political system, in principle, allow for a no-party system?
New invention compresses matter to produce energy? or other items? (Short Story)
Iron deposits mined from under the city
Is being socially reclusive okay for a graduate student?
What is Tony Stark injecting into himself in Iron Man 3?
Why would the IRS ask for birth certificates or even audit a small tax return?
Deal the cards to the players
Align equations with text before one of them
Why do phishing e-mails use faked e-mail addresses instead of the real one?
ToC header appears in next chapter
How can I display a short chapter name in the header and a long chapter name in the ToC?tableofcontents and listoffigures — suppress header after first pagechapter title on two lines in the TOCChange title of Table of ContentsPleaseinsertintopreamble in ToC and headerPage number on the left with book classMemoir: Custom Table of Contents with “veelo” Chapter StyleHow to eliminate the word “Chapter” from the header using “book” documentclassHeader on odd pagesRemove “Contents” header on first page after TOC
I am writing a document in which I would like to include table of contents, after which I will write a prologue.
The issue is that the second page of the chapter, has the header of the ToC, as seen in the following image
Any idea on how to add the proper header?
A sample code follows
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
begin{document}
tableofcontents
chapter*{Prologue}
blindtext[5]
end{document}
table-of-contents header-footer
add a comment |
I am writing a document in which I would like to include table of contents, after which I will write a prologue.
The issue is that the second page of the chapter, has the header of the ToC, as seen in the following image
Any idea on how to add the proper header?
A sample code follows
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
begin{document}
tableofcontents
chapter*{Prologue}
blindtext[5]
end{document}
table-of-contents header-footer
add a comment |
I am writing a document in which I would like to include table of contents, after which I will write a prologue.
The issue is that the second page of the chapter, has the header of the ToC, as seen in the following image
Any idea on how to add the proper header?
A sample code follows
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
begin{document}
tableofcontents
chapter*{Prologue}
blindtext[5]
end{document}
table-of-contents header-footer
I am writing a document in which I would like to include table of contents, after which I will write a prologue.
The issue is that the second page of the chapter, has the header of the ToC, as seen in the following image
Any idea on how to add the proper header?
A sample code follows
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
begin{document}
tableofcontents
chapter*{Prologue}
blindtext[5]
end{document}
table-of-contents header-footer
table-of-contents header-footer
asked 23 hours ago
ThanosThanos
6,1041454107
6,1041454107
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
suppressing the chapter name with chapter*{}
causes the headers not to update. You can change that by adding markboth{Prologue}{}
.
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
begin{document}
tableofcontents
chapter*{Prologue}
addcontentsline{toc}{chapter}{Prologue} % if you want to add the Prologue to TOC
markboth{Prologue}{} % to change the header despite chapter*{} command
blindtext[5]
end{document}
Here's the result:
Hope this helps :)
Edit: note that you will have to do this for every chapter you suppress with *
, if you want it to change the headers, not just after the TOC.
New contributor
1
Thank you very much for your help!
– Thanos
20 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
20 hours ago
add a comment |
You can use frontmatter
, mainmatter
and backmatter
commands and place the whole frontmatter inside a "group" (begingroup
and endgroup
commands) with a pagestyle{plain}
command just after frontmatter
:
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
title{Test}
begin{document}
maketitle
begingroup
pagestyle{plain}
frontmatter
tableofcontents
chapter*{Prologue}
blindtext[5]
endgroup
mainmatter
chapter{Introduction}
blindtext[5]
backmatter
appendix
chapter{App1}
blindtext[5]
end{document}
Check the headers and footers in the result of the above code to see if everything is as expected from you.
Thank you very much for your help!
– Thanos
20 hours ago
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%2f478143%2ftoc-header-appears-in-next-chapter%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
suppressing the chapter name with chapter*{}
causes the headers not to update. You can change that by adding markboth{Prologue}{}
.
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
begin{document}
tableofcontents
chapter*{Prologue}
addcontentsline{toc}{chapter}{Prologue} % if you want to add the Prologue to TOC
markboth{Prologue}{} % to change the header despite chapter*{} command
blindtext[5]
end{document}
Here's the result:
Hope this helps :)
Edit: note that you will have to do this for every chapter you suppress with *
, if you want it to change the headers, not just after the TOC.
New contributor
1
Thank you very much for your help!
– Thanos
20 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
20 hours ago
add a comment |
suppressing the chapter name with chapter*{}
causes the headers not to update. You can change that by adding markboth{Prologue}{}
.
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
begin{document}
tableofcontents
chapter*{Prologue}
addcontentsline{toc}{chapter}{Prologue} % if you want to add the Prologue to TOC
markboth{Prologue}{} % to change the header despite chapter*{} command
blindtext[5]
end{document}
Here's the result:
Hope this helps :)
Edit: note that you will have to do this for every chapter you suppress with *
, if you want it to change the headers, not just after the TOC.
New contributor
1
Thank you very much for your help!
– Thanos
20 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
20 hours ago
add a comment |
suppressing the chapter name with chapter*{}
causes the headers not to update. You can change that by adding markboth{Prologue}{}
.
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
begin{document}
tableofcontents
chapter*{Prologue}
addcontentsline{toc}{chapter}{Prologue} % if you want to add the Prologue to TOC
markboth{Prologue}{} % to change the header despite chapter*{} command
blindtext[5]
end{document}
Here's the result:
Hope this helps :)
Edit: note that you will have to do this for every chapter you suppress with *
, if you want it to change the headers, not just after the TOC.
New contributor
suppressing the chapter name with chapter*{}
causes the headers not to update. You can change that by adding markboth{Prologue}{}
.
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
begin{document}
tableofcontents
chapter*{Prologue}
addcontentsline{toc}{chapter}{Prologue} % if you want to add the Prologue to TOC
markboth{Prologue}{} % to change the header despite chapter*{} command
blindtext[5]
end{document}
Here's the result:
Hope this helps :)
Edit: note that you will have to do this for every chapter you suppress with *
, if you want it to change the headers, not just after the TOC.
New contributor
New contributor
answered 22 hours ago
Superuser27Superuser27
15912
15912
New contributor
New contributor
1
Thank you very much for your help!
– Thanos
20 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
20 hours ago
add a comment |
1
Thank you very much for your help!
– Thanos
20 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
20 hours ago
1
1
Thank you very much for your help!
– Thanos
20 hours ago
Thank you very much for your help!
– Thanos
20 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
20 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
20 hours ago
add a comment |
You can use frontmatter
, mainmatter
and backmatter
commands and place the whole frontmatter inside a "group" (begingroup
and endgroup
commands) with a pagestyle{plain}
command just after frontmatter
:
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
title{Test}
begin{document}
maketitle
begingroup
pagestyle{plain}
frontmatter
tableofcontents
chapter*{Prologue}
blindtext[5]
endgroup
mainmatter
chapter{Introduction}
blindtext[5]
backmatter
appendix
chapter{App1}
blindtext[5]
end{document}
Check the headers and footers in the result of the above code to see if everything is as expected from you.
Thank you very much for your help!
– Thanos
20 hours ago
add a comment |
You can use frontmatter
, mainmatter
and backmatter
commands and place the whole frontmatter inside a "group" (begingroup
and endgroup
commands) with a pagestyle{plain}
command just after frontmatter
:
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
title{Test}
begin{document}
maketitle
begingroup
pagestyle{plain}
frontmatter
tableofcontents
chapter*{Prologue}
blindtext[5]
endgroup
mainmatter
chapter{Introduction}
blindtext[5]
backmatter
appendix
chapter{App1}
blindtext[5]
end{document}
Check the headers and footers in the result of the above code to see if everything is as expected from you.
Thank you very much for your help!
– Thanos
20 hours ago
add a comment |
You can use frontmatter
, mainmatter
and backmatter
commands and place the whole frontmatter inside a "group" (begingroup
and endgroup
commands) with a pagestyle{plain}
command just after frontmatter
:
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
title{Test}
begin{document}
maketitle
begingroup
pagestyle{plain}
frontmatter
tableofcontents
chapter*{Prologue}
blindtext[5]
endgroup
mainmatter
chapter{Introduction}
blindtext[5]
backmatter
appendix
chapter{App1}
blindtext[5]
end{document}
Check the headers and footers in the result of the above code to see if everything is as expected from you.
You can use frontmatter
, mainmatter
and backmatter
commands and place the whole frontmatter inside a "group" (begingroup
and endgroup
commands) with a pagestyle{plain}
command just after frontmatter
:
documentclass{book}
usepackage[Conny]{fncychap}%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackage{blindtext}
title{Test}
begin{document}
maketitle
begingroup
pagestyle{plain}
frontmatter
tableofcontents
chapter*{Prologue}
blindtext[5]
endgroup
mainmatter
chapter{Introduction}
blindtext[5]
backmatter
appendix
chapter{App1}
blindtext[5]
end{document}
Check the headers and footers in the result of the above code to see if everything is as expected from you.
answered 22 hours ago
koleygrkoleygr
12.1k11038
12.1k11038
Thank you very much for your help!
– Thanos
20 hours ago
add a comment |
Thank you very much for your help!
– Thanos
20 hours ago
Thank you very much for your help!
– Thanos
20 hours ago
Thank you very much for your help!
– Thanos
20 hours ago
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%2f478143%2ftoc-header-appears-in-next-chapter%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