Appendix font size too small in table of contents Unicorn Meta Zoo #1: Why another podcast? ...

Does Mathematica have an implementation of the Poisson binomial distribution?

What is /etc/mtab in Linux?

My admission is revoked after accepting the admission offer

Additive group of local rings

What is a 'Key' in computer science?

Why does the Cisco show run command not show the full version, while the show version command does?

Map material from china not allowed to leave the country

How would I use different systems of magic when they are capable of the same effects?

Co-worker works way more than he should

Has a Nobel Peace laureate ever been accused of war crimes?

As an international instructor, should I openly talk about my accent?

Suing a Police Officer Instead of the Police Department

Would reducing the reference voltage of an ADC have any effect on accuracy?

Why did C use the -> operator instead of reusing the . operator?

Passing args from the bash script to the function in the script

How to translate "red flag" into Spanish?

How to avoid introduction cliches

Holes in ElementMesh with ToElementMesh of ImplicitRegion

Bayes factor vs P value

What ability score does a Hexblade's Pact Weapon use for attack and damage when wielded by another character?

What is the ongoing value of the Kanban board to the developers as opposed to management

How to keep bees out of canned beverages?

Can I criticise the more senior developers around me for not writing clean code?

Is it acceptable to use working hours to read general interest books?



Appendix font size too small in table of contents



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manarachaptername is used even for appendix chapters in ToCTable of Contents StyleInline table of contentsNew titleclass not counted in the table of contentsAlignement in table of contents (titlecontents)Modifying Table of contents using titletocHow to fix this small table of contentsBug when adding dots and space to table of contentsFormatting Table of Contents so it has Chapter in front of every chapter and appendix in front of every appendixAligning Mutli-line Chapter name in table of contentsTable of Contents - Font Parameters












0















I am trying to create my table of contents, but I want the text "Appendices" to have the same font size as a part (Investigation). How can I increase the font size? Also, I have tried addcontentsline{toc}{part}{Appendices}, but that was entitled "Investigation Appendicies" (which...fail...), and I couldn't seem to change the cftpartpresnum at that point. Here is my MWE:



documentclass[openany]{book}
usepackage[margin=1in, headheight=4em]{geometry}
geometry{letterpaper} % ... or a4paper or a5paper or ...

usepackage{calc}

%% Rename "Part" to "Investigation" and append that label to the table of
%% contents
renewcommand{partname}{Investigation}
renewcommand{chaptername}{Investigation Roman{part} --- Part}
renewcommand{thepart}{Roman{part}:}
makeatletter@addtoreset{chapter}{part}makeatother%
usepackage{tocloft}
renewcommand{cftpartpresnum}{Investigation }
letcftoldpartfontcftpartfont
renewcommand{cftpartfont}{cftoldpartfontcftpartpresnum}
renewcommand{cftpartaftersnumb}{:}
setlength{cftpartnumwidth}{widthof{textbf{Investigation textrm{IV}:}}}
renewcommand{cftchappresnum}{Part}
renewcommand{cftchapaftersnum}{ -- }
setlength{cftchapnumwidth}{widthof{textbf{Part B --}}}

setcounter{tocdepth}{0}

%% Change formatting of the part so that things can be on the same page
usepackage{titlesec}

titleclass{part}{top} % make part like a chapter
titleformat{part}[display]{centeringnormalfontHugebfseries}{partname thepart}{0pt}{huge}

usepackage[toc,page,title]{appendix}


%% Remove headers from blank pages
usepackage{emptypage}

begin{document}
frontmatter
tableofcontents
chapter*{My maddness}
What can I say, I'm on a Tolkien kick.

mainmatter
part{The Hobbit}

chapter{Bilbo Baggins}
chapter{Thorin, Oin, Gloin, and the nine}
chapter{The dragon under the mountain}

part{The fellowship of the Ring}
chapter{Frodo}
chapter{Sam}
chapter{Merry}
chapter{Pippin}

part{The two towers}
chapter{Gandalf the White}
chapter{Gimli}
chapter{Legolas}

part{Return of the King}
chapter{Aragorn}
chapter{Mount Doom}
chapter{Who cares?}


appendix

begin{appendices}
chapter{Concerning Hobbits}
chapter{Maps}
end{appendices}

end{document}


enter image description here



Also, it would be good if the "Part" disappeared before the A and B in the appendix labels. But one problem at a time.










share|improve this question
















bumped to the homepage by Community 33 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I am trying to create my table of contents, but I want the text "Appendices" to have the same font size as a part (Investigation). How can I increase the font size? Also, I have tried addcontentsline{toc}{part}{Appendices}, but that was entitled "Investigation Appendicies" (which...fail...), and I couldn't seem to change the cftpartpresnum at that point. Here is my MWE:



    documentclass[openany]{book}
    usepackage[margin=1in, headheight=4em]{geometry}
    geometry{letterpaper} % ... or a4paper or a5paper or ...

    usepackage{calc}

    %% Rename "Part" to "Investigation" and append that label to the table of
    %% contents
    renewcommand{partname}{Investigation}
    renewcommand{chaptername}{Investigation Roman{part} --- Part}
    renewcommand{thepart}{Roman{part}:}
    makeatletter@addtoreset{chapter}{part}makeatother%
    usepackage{tocloft}
    renewcommand{cftpartpresnum}{Investigation }
    letcftoldpartfontcftpartfont
    renewcommand{cftpartfont}{cftoldpartfontcftpartpresnum}
    renewcommand{cftpartaftersnumb}{:}
    setlength{cftpartnumwidth}{widthof{textbf{Investigation textrm{IV}:}}}
    renewcommand{cftchappresnum}{Part}
    renewcommand{cftchapaftersnum}{ -- }
    setlength{cftchapnumwidth}{widthof{textbf{Part B --}}}

    setcounter{tocdepth}{0}

    %% Change formatting of the part so that things can be on the same page
    usepackage{titlesec}

    titleclass{part}{top} % make part like a chapter
    titleformat{part}[display]{centeringnormalfontHugebfseries}{partname thepart}{0pt}{huge}

    usepackage[toc,page,title]{appendix}


    %% Remove headers from blank pages
    usepackage{emptypage}

    begin{document}
    frontmatter
    tableofcontents
    chapter*{My maddness}
    What can I say, I'm on a Tolkien kick.

    mainmatter
    part{The Hobbit}

    chapter{Bilbo Baggins}
    chapter{Thorin, Oin, Gloin, and the nine}
    chapter{The dragon under the mountain}

    part{The fellowship of the Ring}
    chapter{Frodo}
    chapter{Sam}
    chapter{Merry}
    chapter{Pippin}

    part{The two towers}
    chapter{Gandalf the White}
    chapter{Gimli}
    chapter{Legolas}

    part{Return of the King}
    chapter{Aragorn}
    chapter{Mount Doom}
    chapter{Who cares?}


    appendix

    begin{appendices}
    chapter{Concerning Hobbits}
    chapter{Maps}
    end{appendices}

    end{document}


    enter image description here



    Also, it would be good if the "Part" disappeared before the A and B in the appendix labels. But one problem at a time.










    share|improve this question
















    bumped to the homepage by Community 33 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I am trying to create my table of contents, but I want the text "Appendices" to have the same font size as a part (Investigation). How can I increase the font size? Also, I have tried addcontentsline{toc}{part}{Appendices}, but that was entitled "Investigation Appendicies" (which...fail...), and I couldn't seem to change the cftpartpresnum at that point. Here is my MWE:



      documentclass[openany]{book}
      usepackage[margin=1in, headheight=4em]{geometry}
      geometry{letterpaper} % ... or a4paper or a5paper or ...

      usepackage{calc}

      %% Rename "Part" to "Investigation" and append that label to the table of
      %% contents
      renewcommand{partname}{Investigation}
      renewcommand{chaptername}{Investigation Roman{part} --- Part}
      renewcommand{thepart}{Roman{part}:}
      makeatletter@addtoreset{chapter}{part}makeatother%
      usepackage{tocloft}
      renewcommand{cftpartpresnum}{Investigation }
      letcftoldpartfontcftpartfont
      renewcommand{cftpartfont}{cftoldpartfontcftpartpresnum}
      renewcommand{cftpartaftersnumb}{:}
      setlength{cftpartnumwidth}{widthof{textbf{Investigation textrm{IV}:}}}
      renewcommand{cftchappresnum}{Part}
      renewcommand{cftchapaftersnum}{ -- }
      setlength{cftchapnumwidth}{widthof{textbf{Part B --}}}

      setcounter{tocdepth}{0}

      %% Change formatting of the part so that things can be on the same page
      usepackage{titlesec}

      titleclass{part}{top} % make part like a chapter
      titleformat{part}[display]{centeringnormalfontHugebfseries}{partname thepart}{0pt}{huge}

      usepackage[toc,page,title]{appendix}


      %% Remove headers from blank pages
      usepackage{emptypage}

      begin{document}
      frontmatter
      tableofcontents
      chapter*{My maddness}
      What can I say, I'm on a Tolkien kick.

      mainmatter
      part{The Hobbit}

      chapter{Bilbo Baggins}
      chapter{Thorin, Oin, Gloin, and the nine}
      chapter{The dragon under the mountain}

      part{The fellowship of the Ring}
      chapter{Frodo}
      chapter{Sam}
      chapter{Merry}
      chapter{Pippin}

      part{The two towers}
      chapter{Gandalf the White}
      chapter{Gimli}
      chapter{Legolas}

      part{Return of the King}
      chapter{Aragorn}
      chapter{Mount Doom}
      chapter{Who cares?}


      appendix

      begin{appendices}
      chapter{Concerning Hobbits}
      chapter{Maps}
      end{appendices}

      end{document}


      enter image description here



      Also, it would be good if the "Part" disappeared before the A and B in the appendix labels. But one problem at a time.










      share|improve this question
















      I am trying to create my table of contents, but I want the text "Appendices" to have the same font size as a part (Investigation). How can I increase the font size? Also, I have tried addcontentsline{toc}{part}{Appendices}, but that was entitled "Investigation Appendicies" (which...fail...), and I couldn't seem to change the cftpartpresnum at that point. Here is my MWE:



      documentclass[openany]{book}
      usepackage[margin=1in, headheight=4em]{geometry}
      geometry{letterpaper} % ... or a4paper or a5paper or ...

      usepackage{calc}

      %% Rename "Part" to "Investigation" and append that label to the table of
      %% contents
      renewcommand{partname}{Investigation}
      renewcommand{chaptername}{Investigation Roman{part} --- Part}
      renewcommand{thepart}{Roman{part}:}
      makeatletter@addtoreset{chapter}{part}makeatother%
      usepackage{tocloft}
      renewcommand{cftpartpresnum}{Investigation }
      letcftoldpartfontcftpartfont
      renewcommand{cftpartfont}{cftoldpartfontcftpartpresnum}
      renewcommand{cftpartaftersnumb}{:}
      setlength{cftpartnumwidth}{widthof{textbf{Investigation textrm{IV}:}}}
      renewcommand{cftchappresnum}{Part}
      renewcommand{cftchapaftersnum}{ -- }
      setlength{cftchapnumwidth}{widthof{textbf{Part B --}}}

      setcounter{tocdepth}{0}

      %% Change formatting of the part so that things can be on the same page
      usepackage{titlesec}

      titleclass{part}{top} % make part like a chapter
      titleformat{part}[display]{centeringnormalfontHugebfseries}{partname thepart}{0pt}{huge}

      usepackage[toc,page,title]{appendix}


      %% Remove headers from blank pages
      usepackage{emptypage}

      begin{document}
      frontmatter
      tableofcontents
      chapter*{My maddness}
      What can I say, I'm on a Tolkien kick.

      mainmatter
      part{The Hobbit}

      chapter{Bilbo Baggins}
      chapter{Thorin, Oin, Gloin, and the nine}
      chapter{The dragon under the mountain}

      part{The fellowship of the Ring}
      chapter{Frodo}
      chapter{Sam}
      chapter{Merry}
      chapter{Pippin}

      part{The two towers}
      chapter{Gandalf the White}
      chapter{Gimli}
      chapter{Legolas}

      part{Return of the King}
      chapter{Aragorn}
      chapter{Mount Doom}
      chapter{Who cares?}


      appendix

      begin{appendices}
      chapter{Concerning Hobbits}
      chapter{Maps}
      end{appendices}

      end{document}


      enter image description here



      Also, it would be good if the "Part" disappeared before the A and B in the appendix labels. But one problem at a time.







      titlesec titletoc






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 30 '18 at 0:39







      swolf1981

















      asked May 30 '18 at 0:20









      swolf1981swolf1981

      11




      11





      bumped to the homepage by Community 33 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 33 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          I found an answer to this question and applied it here.




          • I removed the appendix package


          • I added the redefinition of the appendix macro below



            makeatletter
            g@addto@macroappendix{%
            addtocontents{toc}{%
            protectrenewcommand{protectcftpartpresnum}{}%
            protectrenewcommand{protectcftchappresnum}{appendixnamespace}%
            protectsetlength{protectcftchapnumwidth}{widthof{textbf{Appendix B --}}}
            }%
            }
            makeatother



          Then I just added this to the end:



          appendix
          addcontentsline{toc}{part}{Appendices}
          chapter{Concerning Hobbits}
          chapter{Maps}

          end{document}





          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%2f434064%2fappendix-font-size-too-small-in-table-of-contents%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I found an answer to this question and applied it here.




            • I removed the appendix package


            • I added the redefinition of the appendix macro below



              makeatletter
              g@addto@macroappendix{%
              addtocontents{toc}{%
              protectrenewcommand{protectcftpartpresnum}{}%
              protectrenewcommand{protectcftchappresnum}{appendixnamespace}%
              protectsetlength{protectcftchapnumwidth}{widthof{textbf{Appendix B --}}}
              }%
              }
              makeatother



            Then I just added this to the end:



            appendix
            addcontentsline{toc}{part}{Appendices}
            chapter{Concerning Hobbits}
            chapter{Maps}

            end{document}





            share|improve this answer




























              0














              I found an answer to this question and applied it here.




              • I removed the appendix package


              • I added the redefinition of the appendix macro below



                makeatletter
                g@addto@macroappendix{%
                addtocontents{toc}{%
                protectrenewcommand{protectcftpartpresnum}{}%
                protectrenewcommand{protectcftchappresnum}{appendixnamespace}%
                protectsetlength{protectcftchapnumwidth}{widthof{textbf{Appendix B --}}}
                }%
                }
                makeatother



              Then I just added this to the end:



              appendix
              addcontentsline{toc}{part}{Appendices}
              chapter{Concerning Hobbits}
              chapter{Maps}

              end{document}





              share|improve this answer


























                0












                0








                0







                I found an answer to this question and applied it here.




                • I removed the appendix package


                • I added the redefinition of the appendix macro below



                  makeatletter
                  g@addto@macroappendix{%
                  addtocontents{toc}{%
                  protectrenewcommand{protectcftpartpresnum}{}%
                  protectrenewcommand{protectcftchappresnum}{appendixnamespace}%
                  protectsetlength{protectcftchapnumwidth}{widthof{textbf{Appendix B --}}}
                  }%
                  }
                  makeatother



                Then I just added this to the end:



                appendix
                addcontentsline{toc}{part}{Appendices}
                chapter{Concerning Hobbits}
                chapter{Maps}

                end{document}





                share|improve this answer













                I found an answer to this question and applied it here.




                • I removed the appendix package


                • I added the redefinition of the appendix macro below



                  makeatletter
                  g@addto@macroappendix{%
                  addtocontents{toc}{%
                  protectrenewcommand{protectcftpartpresnum}{}%
                  protectrenewcommand{protectcftchappresnum}{appendixnamespace}%
                  protectsetlength{protectcftchapnumwidth}{widthof{textbf{Appendix B --}}}
                  }%
                  }
                  makeatother



                Then I just added this to the end:



                appendix
                addcontentsline{toc}{part}{Appendices}
                chapter{Concerning Hobbits}
                chapter{Maps}

                end{document}






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 30 '18 at 1:03









                swolf1981swolf1981

                11




                11






























                    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%2f434064%2fappendix-font-size-too-small-in-table-of-contents%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

                    Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

                    Schneeberg (Smreczany) Bibliografia | Menu...

                    IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...