How to remove the chapter number while still having the chapter name at the top of the page?Remove “chapter...

LaTeX closing $ signs makes cursor jump

Are the number of citations and number of published articles the most important criteria for a tenure promotion?

How does strength of boric acid solution increase in presence of salicylic acid?

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

Why not use SQL instead of GraphQL?

How is it possible to have an ability score that is less than 3?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?

Why was the small council so happy for Tyrion to become the Master of Coin?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Why do falling prices hurt debtors?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

Modeling an IPv4 Address

Is it possible to do 50 km distance without any previous training?

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

How to format long polynomial?

Arthur Somervell: 1000 Exercises - Meaning of this notation

Is this a crack on the carbon frame?

Writing rule stating superpower from different root cause is bad writing

Why are 150k or 200k jobs considered good when there are 300k+ births a month?

What would happen to a modern skyscraper if it rains micro blackholes?

Mathematical cryptic clues

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?



How to remove the chapter number while still having the chapter name at the top of the page?


Remove “chapter #” from the chapter title but keep chapter number in the table of contentsLine under chapter name at top of the pageRemove page number from chapter title pageRemove page number on chapter pageRemove chapter numberChapter name on single pageHow to show Mini table only sections in a chapter not other chapter?How to remove the word (chapter) from the bibliography page?Remove the chapter number in ToCRemove “name of chapter” in the chapter but keeping the table-of-contents entrance













0















Currently I have this:
enter image description here



I want to remove the chapter number, which i can easily do with chapter*{Acknowledgments}.



This, however, makes the top line on all subsequent pages say the chapter name of the previous, unstarred, chapter.



How can I fix this?





MWE:



documentclass[12pt, twoside, titlepage]{report}

usepackage[margin=2.5cm]{geometry}
geometry{a4paper}
usepackage{fancyhdr}

pagestyle{fancy}
fancyhf{}
fancyhead[EL]{nouppercaseleftmark}
fancyhead[OR]{nouppercaserightmark}
fancyhead[ER,OL]{thepage}


begin{document}

tableofcontents

chapter{Chapter 1: The name that I do not want}
chapter*{Chapter 2: The name that I want}
addcontentsline{toc}{chapter}{Chapter 2: The name that I want}

TEXT

newpage

TEXT

newpage

TEXT

end{document}









share|improve this question

























  • Could you post a small compilable code which reproduces your problem?

    – Bernard
    10 hours ago











  • Done. Sorry, thanks.

    – SuperCiocia
    9 hours ago











  • If I understand well, you do not want the chapter number to appear in the chapter heading. However, if this chapter has sections, should the chapter number appear as a prefix to the section number in the section heading?

    – Bernard
    8 hours ago











  • No the number should not appear, but I would like the correct chapter name to appear. In the above example, I want Chapter 2 to appear at the top of the last page, but Chapter 1 is instead the one that appears.

    – SuperCiocia
    6 hours ago


















0















Currently I have this:
enter image description here



I want to remove the chapter number, which i can easily do with chapter*{Acknowledgments}.



This, however, makes the top line on all subsequent pages say the chapter name of the previous, unstarred, chapter.



How can I fix this?





MWE:



documentclass[12pt, twoside, titlepage]{report}

usepackage[margin=2.5cm]{geometry}
geometry{a4paper}
usepackage{fancyhdr}

pagestyle{fancy}
fancyhf{}
fancyhead[EL]{nouppercaseleftmark}
fancyhead[OR]{nouppercaserightmark}
fancyhead[ER,OL]{thepage}


begin{document}

tableofcontents

chapter{Chapter 1: The name that I do not want}
chapter*{Chapter 2: The name that I want}
addcontentsline{toc}{chapter}{Chapter 2: The name that I want}

TEXT

newpage

TEXT

newpage

TEXT

end{document}









share|improve this question

























  • Could you post a small compilable code which reproduces your problem?

    – Bernard
    10 hours ago











  • Done. Sorry, thanks.

    – SuperCiocia
    9 hours ago











  • If I understand well, you do not want the chapter number to appear in the chapter heading. However, if this chapter has sections, should the chapter number appear as a prefix to the section number in the section heading?

    – Bernard
    8 hours ago











  • No the number should not appear, but I would like the correct chapter name to appear. In the above example, I want Chapter 2 to appear at the top of the last page, but Chapter 1 is instead the one that appears.

    – SuperCiocia
    6 hours ago
















0












0








0








Currently I have this:
enter image description here



I want to remove the chapter number, which i can easily do with chapter*{Acknowledgments}.



This, however, makes the top line on all subsequent pages say the chapter name of the previous, unstarred, chapter.



How can I fix this?





MWE:



documentclass[12pt, twoside, titlepage]{report}

usepackage[margin=2.5cm]{geometry}
geometry{a4paper}
usepackage{fancyhdr}

pagestyle{fancy}
fancyhf{}
fancyhead[EL]{nouppercaseleftmark}
fancyhead[OR]{nouppercaserightmark}
fancyhead[ER,OL]{thepage}


begin{document}

tableofcontents

chapter{Chapter 1: The name that I do not want}
chapter*{Chapter 2: The name that I want}
addcontentsline{toc}{chapter}{Chapter 2: The name that I want}

TEXT

newpage

TEXT

newpage

TEXT

end{document}









share|improve this question
















Currently I have this:
enter image description here



I want to remove the chapter number, which i can easily do with chapter*{Acknowledgments}.



This, however, makes the top line on all subsequent pages say the chapter name of the previous, unstarred, chapter.



How can I fix this?





MWE:



documentclass[12pt, twoside, titlepage]{report}

usepackage[margin=2.5cm]{geometry}
geometry{a4paper}
usepackage{fancyhdr}

pagestyle{fancy}
fancyhf{}
fancyhead[EL]{nouppercaseleftmark}
fancyhead[OR]{nouppercaserightmark}
fancyhead[ER,OL]{thepage}


begin{document}

tableofcontents

chapter{Chapter 1: The name that I do not want}
chapter*{Chapter 2: The name that I want}
addcontentsline{toc}{chapter}{Chapter 2: The name that I want}

TEXT

newpage

TEXT

newpage

TEXT

end{document}






table-of-contents chapters






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 9 hours ago







SuperCiocia

















asked 11 hours ago









SuperCiociaSuperCiocia

30039




30039













  • Could you post a small compilable code which reproduces your problem?

    – Bernard
    10 hours ago











  • Done. Sorry, thanks.

    – SuperCiocia
    9 hours ago











  • If I understand well, you do not want the chapter number to appear in the chapter heading. However, if this chapter has sections, should the chapter number appear as a prefix to the section number in the section heading?

    – Bernard
    8 hours ago











  • No the number should not appear, but I would like the correct chapter name to appear. In the above example, I want Chapter 2 to appear at the top of the last page, but Chapter 1 is instead the one that appears.

    – SuperCiocia
    6 hours ago





















  • Could you post a small compilable code which reproduces your problem?

    – Bernard
    10 hours ago











  • Done. Sorry, thanks.

    – SuperCiocia
    9 hours ago











  • If I understand well, you do not want the chapter number to appear in the chapter heading. However, if this chapter has sections, should the chapter number appear as a prefix to the section number in the section heading?

    – Bernard
    8 hours ago











  • No the number should not appear, but I would like the correct chapter name to appear. In the above example, I want Chapter 2 to appear at the top of the last page, but Chapter 1 is instead the one that appears.

    – SuperCiocia
    6 hours ago



















Could you post a small compilable code which reproduces your problem?

– Bernard
10 hours ago





Could you post a small compilable code which reproduces your problem?

– Bernard
10 hours ago













Done. Sorry, thanks.

– SuperCiocia
9 hours ago





Done. Sorry, thanks.

– SuperCiocia
9 hours ago













If I understand well, you do not want the chapter number to appear in the chapter heading. However, if this chapter has sections, should the chapter number appear as a prefix to the section number in the section heading?

– Bernard
8 hours ago





If I understand well, you do not want the chapter number to appear in the chapter heading. However, if this chapter has sections, should the chapter number appear as a prefix to the section number in the section heading?

– Bernard
8 hours ago













No the number should not appear, but I would like the correct chapter name to appear. In the above example, I want Chapter 2 to appear at the top of the last page, but Chapter 1 is instead the one that appears.

– SuperCiocia
6 hours ago







No the number should not appear, but I would like the correct chapter name to appear. In the above example, I want Chapter 2 to appear at the top of the last page, but Chapter 1 is instead the one that appears.

– SuperCiocia
6 hours ago












2 Answers
2






active

oldest

votes


















1














Here is a proposition, based on titlesec and titleps, which consists in making a group with a specific titleformat{chapter}, without the chapter number in the code. Note that the chapter numbers will all appear in the table of contents, unless you play with the titletoc package.



documentclass[12pt, twoside, titlepage]{report}

usepackage[margin=2.5cm]{geometry}
geometry{a4paper}
usepackage{lipsum}
usepackage[pagestyles]{titlesec}

titleformat{chapter}[display]{hugebfseriesfilright}{chaptername~thechapter}{2.5ex}{}

titleformat{section}[hang]{Largebfseriesfilright}{arabic{section}.}{0.3em}{}

newpagestyle{mine}{%
headrule
sethead[chaptertitle][][thepage]{thepage}{}{sectiontitle}
setfoot{}{}{}
}
pagestyle{mine}

begin{document}counterwithin*{section}{chapter}

tableofcontents

chapter{Chapter 1: The name that I do not want}
lipsum

{titleformat{chapter}[block]{hugebfseriesfilright}{}{0ex}{}

chapter{Chapter 2: The name that I want}}
setcounter{secnumdepth}{3}
section{A First Section}
TEXT
lipsum
newpage
section{Another Section}

TEXT

newpage

TEXT

end{document}


enter image description here






share|improve this answer































    0














    If I understand your need correctly, after your tableofcontents and before TEXT change your code to:



    chapter{Chapter 1: The name I do not want}
    setcounter{secnumdepth}{-1} % only Parts numbered
    chapter{Chapter 2: The name I want} % this will be put in the ToC
    setcounter{secnumdepth}{2} % subsections and above will be numbered





    share|improve this answer
























      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%2f483520%2fhow-to-remove-the-chapter-number-while-still-having-the-chapter-name-at-the-top%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









      1














      Here is a proposition, based on titlesec and titleps, which consists in making a group with a specific titleformat{chapter}, without the chapter number in the code. Note that the chapter numbers will all appear in the table of contents, unless you play with the titletoc package.



      documentclass[12pt, twoside, titlepage]{report}

      usepackage[margin=2.5cm]{geometry}
      geometry{a4paper}
      usepackage{lipsum}
      usepackage[pagestyles]{titlesec}

      titleformat{chapter}[display]{hugebfseriesfilright}{chaptername~thechapter}{2.5ex}{}

      titleformat{section}[hang]{Largebfseriesfilright}{arabic{section}.}{0.3em}{}

      newpagestyle{mine}{%
      headrule
      sethead[chaptertitle][][thepage]{thepage}{}{sectiontitle}
      setfoot{}{}{}
      }
      pagestyle{mine}

      begin{document}counterwithin*{section}{chapter}

      tableofcontents

      chapter{Chapter 1: The name that I do not want}
      lipsum

      {titleformat{chapter}[block]{hugebfseriesfilright}{}{0ex}{}

      chapter{Chapter 2: The name that I want}}
      setcounter{secnumdepth}{3}
      section{A First Section}
      TEXT
      lipsum
      newpage
      section{Another Section}

      TEXT

      newpage

      TEXT

      end{document}


      enter image description here






      share|improve this answer




























        1














        Here is a proposition, based on titlesec and titleps, which consists in making a group with a specific titleformat{chapter}, without the chapter number in the code. Note that the chapter numbers will all appear in the table of contents, unless you play with the titletoc package.



        documentclass[12pt, twoside, titlepage]{report}

        usepackage[margin=2.5cm]{geometry}
        geometry{a4paper}
        usepackage{lipsum}
        usepackage[pagestyles]{titlesec}

        titleformat{chapter}[display]{hugebfseriesfilright}{chaptername~thechapter}{2.5ex}{}

        titleformat{section}[hang]{Largebfseriesfilright}{arabic{section}.}{0.3em}{}

        newpagestyle{mine}{%
        headrule
        sethead[chaptertitle][][thepage]{thepage}{}{sectiontitle}
        setfoot{}{}{}
        }
        pagestyle{mine}

        begin{document}counterwithin*{section}{chapter}

        tableofcontents

        chapter{Chapter 1: The name that I do not want}
        lipsum

        {titleformat{chapter}[block]{hugebfseriesfilright}{}{0ex}{}

        chapter{Chapter 2: The name that I want}}
        setcounter{secnumdepth}{3}
        section{A First Section}
        TEXT
        lipsum
        newpage
        section{Another Section}

        TEXT

        newpage

        TEXT

        end{document}


        enter image description here






        share|improve this answer


























          1












          1








          1







          Here is a proposition, based on titlesec and titleps, which consists in making a group with a specific titleformat{chapter}, without the chapter number in the code. Note that the chapter numbers will all appear in the table of contents, unless you play with the titletoc package.



          documentclass[12pt, twoside, titlepage]{report}

          usepackage[margin=2.5cm]{geometry}
          geometry{a4paper}
          usepackage{lipsum}
          usepackage[pagestyles]{titlesec}

          titleformat{chapter}[display]{hugebfseriesfilright}{chaptername~thechapter}{2.5ex}{}

          titleformat{section}[hang]{Largebfseriesfilright}{arabic{section}.}{0.3em}{}

          newpagestyle{mine}{%
          headrule
          sethead[chaptertitle][][thepage]{thepage}{}{sectiontitle}
          setfoot{}{}{}
          }
          pagestyle{mine}

          begin{document}counterwithin*{section}{chapter}

          tableofcontents

          chapter{Chapter 1: The name that I do not want}
          lipsum

          {titleformat{chapter}[block]{hugebfseriesfilright}{}{0ex}{}

          chapter{Chapter 2: The name that I want}}
          setcounter{secnumdepth}{3}
          section{A First Section}
          TEXT
          lipsum
          newpage
          section{Another Section}

          TEXT

          newpage

          TEXT

          end{document}


          enter image description here






          share|improve this answer













          Here is a proposition, based on titlesec and titleps, which consists in making a group with a specific titleformat{chapter}, without the chapter number in the code. Note that the chapter numbers will all appear in the table of contents, unless you play with the titletoc package.



          documentclass[12pt, twoside, titlepage]{report}

          usepackage[margin=2.5cm]{geometry}
          geometry{a4paper}
          usepackage{lipsum}
          usepackage[pagestyles]{titlesec}

          titleformat{chapter}[display]{hugebfseriesfilright}{chaptername~thechapter}{2.5ex}{}

          titleformat{section}[hang]{Largebfseriesfilright}{arabic{section}.}{0.3em}{}

          newpagestyle{mine}{%
          headrule
          sethead[chaptertitle][][thepage]{thepage}{}{sectiontitle}
          setfoot{}{}{}
          }
          pagestyle{mine}

          begin{document}counterwithin*{section}{chapter}

          tableofcontents

          chapter{Chapter 1: The name that I do not want}
          lipsum

          {titleformat{chapter}[block]{hugebfseriesfilright}{}{0ex}{}

          chapter{Chapter 2: The name that I want}}
          setcounter{secnumdepth}{3}
          section{A First Section}
          TEXT
          lipsum
          newpage
          section{Another Section}

          TEXT

          newpage

          TEXT

          end{document}


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 5 hours ago









          BernardBernard

          175k778208




          175k778208























              0














              If I understand your need correctly, after your tableofcontents and before TEXT change your code to:



              chapter{Chapter 1: The name I do not want}
              setcounter{secnumdepth}{-1} % only Parts numbered
              chapter{Chapter 2: The name I want} % this will be put in the ToC
              setcounter{secnumdepth}{2} % subsections and above will be numbered





              share|improve this answer




























                0














                If I understand your need correctly, after your tableofcontents and before TEXT change your code to:



                chapter{Chapter 1: The name I do not want}
                setcounter{secnumdepth}{-1} % only Parts numbered
                chapter{Chapter 2: The name I want} % this will be put in the ToC
                setcounter{secnumdepth}{2} % subsections and above will be numbered





                share|improve this answer


























                  0












                  0








                  0







                  If I understand your need correctly, after your tableofcontents and before TEXT change your code to:



                  chapter{Chapter 1: The name I do not want}
                  setcounter{secnumdepth}{-1} % only Parts numbered
                  chapter{Chapter 2: The name I want} % this will be put in the ToC
                  setcounter{secnumdepth}{2} % subsections and above will be numbered





                  share|improve this answer













                  If I understand your need correctly, after your tableofcontents and before TEXT change your code to:



                  chapter{Chapter 1: The name I do not want}
                  setcounter{secnumdepth}{-1} % only Parts numbered
                  chapter{Chapter 2: The name I want} % this will be put in the ToC
                  setcounter{secnumdepth}{2} % subsections and above will be numbered






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 6 hours ago









                  Peter WilsonPeter Wilson

                  8,76011533




                  8,76011533






























                      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%2f483520%2fhow-to-remove-the-chapter-number-while-still-having-the-chapter-name-at-the-top%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

                      Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

                      Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

                      How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...