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













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 8 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
            6 hours ago











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

            – Superuser27
            5 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
            6 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
            6 hours ago











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

            – Superuser27
            5 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
            6 hours ago











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

            – Superuser27
            5 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 7 hours ago









          Superuser27Superuser27

          15710




          15710




          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
            6 hours ago











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

            – Superuser27
            5 hours ago














          • 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











          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
            6 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
            6 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 7 hours ago









          koleygrkoleygr

          11.9k11038




          11.9k11038













          • 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





          Thank you very much for your help!

          – Thanos
          6 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 does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

          How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...