ToC header appears in next chapter
Clash Royale CLAN TAG#URR8PPP
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
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
begindocument
tableofcontents
chapter*Prologue
blindtext[5]
enddocument
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
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
begindocument
tableofcontents
chapter*Prologue
blindtext[5]
enddocument
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
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
begindocument
tableofcontents
chapter*Prologue
blindtext[5]
enddocument
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
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
begindocument
tableofcontents
chapter*Prologue
blindtext[5]
enddocument
table-of-contents header-footer
table-of-contents header-footer
asked Mar 7 at 8:07
ThanosThanos
6,1461555107
6,1461555107
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 markbothPrologue
.
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
begindocument
tableofcontents
chapter*Prologue
addcontentslinetocchapterPrologue % if you want to add the Prologue to TOC
markbothPrologue % to change the header despite chapter* command
blindtext[5]
enddocument
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.
1
Thank you very much for your help!
– Thanos
Mar 7 at 10:22
@Thanos you're welcome! :) glad it helped.
– Superuser27
Mar 7 at 11:07
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 pagestyleplain
command just after frontmatter
:
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
titleTest
begindocument
maketitle
begingroup
pagestyleplain
frontmatter
tableofcontents
chapter*Prologue
blindtext[5]
endgroup
mainmatter
chapterIntroduction
blindtext[5]
backmatter
appendix
chapterApp1
blindtext[5]
enddocument
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
Mar 7 at 10:23
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 markbothPrologue
.
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
begindocument
tableofcontents
chapter*Prologue
addcontentslinetocchapterPrologue % if you want to add the Prologue to TOC
markbothPrologue % to change the header despite chapter* command
blindtext[5]
enddocument
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.
1
Thank you very much for your help!
– Thanos
Mar 7 at 10:22
@Thanos you're welcome! :) glad it helped.
– Superuser27
Mar 7 at 11:07
add a comment |
suppressing the chapter name with chapter*
causes the headers not to update. You can change that by adding markbothPrologue
.
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
begindocument
tableofcontents
chapter*Prologue
addcontentslinetocchapterPrologue % if you want to add the Prologue to TOC
markbothPrologue % to change the header despite chapter* command
blindtext[5]
enddocument
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.
1
Thank you very much for your help!
– Thanos
Mar 7 at 10:22
@Thanos you're welcome! :) glad it helped.
– Superuser27
Mar 7 at 11:07
add a comment |
suppressing the chapter name with chapter*
causes the headers not to update. You can change that by adding markbothPrologue
.
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
begindocument
tableofcontents
chapter*Prologue
addcontentslinetocchapterPrologue % if you want to add the Prologue to TOC
markbothPrologue % to change the header despite chapter* command
blindtext[5]
enddocument
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.
suppressing the chapter name with chapter*
causes the headers not to update. You can change that by adding markbothPrologue
.
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
begindocument
tableofcontents
chapter*Prologue
addcontentslinetocchapterPrologue % if you want to add the Prologue to TOC
markbothPrologue % to change the header despite chapter* command
blindtext[5]
enddocument
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.
answered Mar 7 at 8:52
Superuser27Superuser27
90316
90316
1
Thank you very much for your help!
– Thanos
Mar 7 at 10:22
@Thanos you're welcome! :) glad it helped.
– Superuser27
Mar 7 at 11:07
add a comment |
1
Thank you very much for your help!
– Thanos
Mar 7 at 10:22
@Thanos you're welcome! :) glad it helped.
– Superuser27
Mar 7 at 11:07
1
1
Thank you very much for your help!
– Thanos
Mar 7 at 10:22
Thank you very much for your help!
– Thanos
Mar 7 at 10:22
@Thanos you're welcome! :) glad it helped.
– Superuser27
Mar 7 at 11:07
@Thanos you're welcome! :) glad it helped.
– Superuser27
Mar 7 at 11:07
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 pagestyleplain
command just after frontmatter
:
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
titleTest
begindocument
maketitle
begingroup
pagestyleplain
frontmatter
tableofcontents
chapter*Prologue
blindtext[5]
endgroup
mainmatter
chapterIntroduction
blindtext[5]
backmatter
appendix
chapterApp1
blindtext[5]
enddocument
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
Mar 7 at 10:23
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 pagestyleplain
command just after frontmatter
:
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
titleTest
begindocument
maketitle
begingroup
pagestyleplain
frontmatter
tableofcontents
chapter*Prologue
blindtext[5]
endgroup
mainmatter
chapterIntroduction
blindtext[5]
backmatter
appendix
chapterApp1
blindtext[5]
enddocument
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
Mar 7 at 10:23
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 pagestyleplain
command just after frontmatter
:
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
titleTest
begindocument
maketitle
begingroup
pagestyleplain
frontmatter
tableofcontents
chapter*Prologue
blindtext[5]
endgroup
mainmatter
chapterIntroduction
blindtext[5]
backmatter
appendix
chapterApp1
blindtext[5]
enddocument
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 pagestyleplain
command just after frontmatter
:
documentclassbook
usepackage[Conny]fncychap%Options: Sonny, Lenny, Glenn, Conny, Rejne, Bjarne, Bjornstrup
UCTfalse
usepackageblindtext
titleTest
begindocument
maketitle
begingroup
pagestyleplain
frontmatter
tableofcontents
chapter*Prologue
blindtext[5]
endgroup
mainmatter
chapterIntroduction
blindtext[5]
backmatter
appendix
chapterApp1
blindtext[5]
enddocument
Check the headers and footers in the result of the above code to see if everything is as expected from you.
answered Mar 7 at 9:03
koleygrkoleygr
13.4k11039
13.4k11039
Thank you very much for your help!
– Thanos
Mar 7 at 10:23
add a comment |
Thank you very much for your help!
– Thanos
Mar 7 at 10:23
Thank you very much for your help!
– Thanos
Mar 7 at 10:23
Thank you very much for your help!
– Thanos
Mar 7 at 10:23
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