ToC header appears in next chapterHow can I display a short chapter name in the header and a long chapter...
Learning to quickly identify valid fingering for piano?
What is the meaning of "producing negative zeroes" in a system that doesn't support it?
What can I do if someone tampers with my SSH public key?
Deal the cards to the players
In the world of The Matrix, what is "popping"?
How to roleplay my character's ethics according to the DM when I don't understand those ethics?
Giving a talk in my old university, how prominently should I tell students my salary?
Split a number into equal parts given the number of parts
What is better: yes / no radio, or simple checkbox?
How do you write a macro that takes arguments containing paragraphs?
Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?
Why aren't there more gauls like Obelix?
If nine coins are tossed, what is the probability that the number of heads is even?
Naming Characters after Friends/Family
Is divide-by-zero a security vulnerability?
Can a space-faring robot still function over a billion years?
Are Wave equations equivalent to Maxwell equations in free space?
Can a Tiny Servant be used as a messenger?
Is there a way to find out the age of climbing ropes?
Why would the IRS ask for birth certificates or even audit a small tax return?
How can I handle a player who pre-plans arguments about my rulings on RAW?
Convert an array of objects to array of the objects' values
The (Easy) Road to Code
Quitting employee has privileged access to critical information
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 8 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
6 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
5 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
6 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
6 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
5 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
6 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
5 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 7 hours ago
Superuser27Superuser27
15710
15710
New contributor
New contributor
1
Thank you very much for your help!
– Thanos
6 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
5 hours ago
add a comment |
1
Thank you very much for your help!
– Thanos
6 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
5 hours ago
1
1
Thank you very much for your help!
– Thanos
6 hours ago
Thank you very much for your help!
– Thanos
6 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
5 hours ago
@Thanos you're welcome! :) glad it helped.
– Superuser27
5 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
6 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
6 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 7 hours ago
koleygrkoleygr
11.9k11038
11.9k11038
Thank you very much for your help!
– Thanos
6 hours ago
add a comment |
Thank you very much for your help!
– Thanos
6 hours ago
Thank you very much for your help!
– Thanos
6 hours ago
Thank you very much for your help!
– Thanos
6 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