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













4















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 imageenter image description here



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}









share|improve this question



























    4















    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 imageenter image description here



    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}









    share|improve this question

























      4












      4








      4








      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 imageenter image description here



      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}









      share|improve this question














      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 imageenter image description here



      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 23 hours ago









      ThanosThanos

      6,1041454107




      6,1041454107






















          2 Answers
          2






          active

          oldest

          votes


















          2














          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:
          preview



          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.






          share|improve this answer








          New contributor




          Superuser27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.
















          • 1





            Thank you very much for your help!

            – Thanos
            20 hours ago











          • @Thanos you're welcome! :) glad it helped.

            – Superuser27
            20 hours ago



















          3














          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.






          share|improve this answer
























          • Thank you very much for your help!

            – Thanos
            20 hours ago











          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          2














          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:
          preview



          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.






          share|improve this answer








          New contributor




          Superuser27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.
















          • 1





            Thank you very much for your help!

            – Thanos
            20 hours ago











          • @Thanos you're welcome! :) glad it helped.

            – Superuser27
            20 hours ago
















          2














          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:
          preview



          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.






          share|improve this answer








          New contributor




          Superuser27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.
















          • 1





            Thank you very much for your help!

            – Thanos
            20 hours ago











          • @Thanos you're welcome! :) glad it helped.

            – Superuser27
            20 hours ago














          2












          2








          2







          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:
          preview



          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.






          share|improve this answer








          New contributor




          Superuser27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.










          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:
          preview



          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.







          share|improve this answer








          New contributor




          Superuser27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          Superuser27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered 22 hours ago









          Superuser27Superuser27

          15912




          15912




          New contributor




          Superuser27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Superuser27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Superuser27 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.








          • 1





            Thank you very much for your help!

            – Thanos
            20 hours ago











          • @Thanos you're welcome! :) glad it helped.

            – Superuser27
            20 hours ago














          • 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











          3














          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.






          share|improve this answer
























          • Thank you very much for your help!

            – Thanos
            20 hours ago
















          3














          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.






          share|improve this answer
























          • Thank you very much for your help!

            – Thanos
            20 hours ago














          3












          3








          3







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 22 hours ago









          koleygrkoleygr

          12.1k11038




          12.1k11038













          • 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





          Thank you very much for your help!

          – Thanos
          20 hours ago


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...