Appendices in tables of contents under Appendices section











up vote
0
down vote

favorite












I have a very simple article which consists of the following:



documentclass{article}
usepackage{appendix}

begin{document}
tableofcontents

appendixtitleon
appendixtitletocon
section{Writing}
begin{appendices}
section{First appendix}
subsection{First}
subsection{Second}
section{Second appendix}
subsection{First}
subsection{Second}
end{appendices}

end{document}


This produces the following output:enter image description here



This is almost what I want, except, I actually want the appendices to come under an appendices section in the table of contents (everything indented a level so to speak). The output would be like:
enter image description here










share|improve this question
















bumped to the homepage by Community 14 mins ago


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



















    up vote
    0
    down vote

    favorite












    I have a very simple article which consists of the following:



    documentclass{article}
    usepackage{appendix}

    begin{document}
    tableofcontents

    appendixtitleon
    appendixtitletocon
    section{Writing}
    begin{appendices}
    section{First appendix}
    subsection{First}
    subsection{Second}
    section{Second appendix}
    subsection{First}
    subsection{Second}
    end{appendices}

    end{document}


    This produces the following output:enter image description here



    This is almost what I want, except, I actually want the appendices to come under an appendices section in the table of contents (everything indented a level so to speak). The output would be like:
    enter image description here










    share|improve this question
















    bumped to the homepage by Community 14 mins ago


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

















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a very simple article which consists of the following:



      documentclass{article}
      usepackage{appendix}

      begin{document}
      tableofcontents

      appendixtitleon
      appendixtitletocon
      section{Writing}
      begin{appendices}
      section{First appendix}
      subsection{First}
      subsection{Second}
      section{Second appendix}
      subsection{First}
      subsection{Second}
      end{appendices}

      end{document}


      This produces the following output:enter image description here



      This is almost what I want, except, I actually want the appendices to come under an appendices section in the table of contents (everything indented a level so to speak). The output would be like:
      enter image description here










      share|improve this question















      I have a very simple article which consists of the following:



      documentclass{article}
      usepackage{appendix}

      begin{document}
      tableofcontents

      appendixtitleon
      appendixtitletocon
      section{Writing}
      begin{appendices}
      section{First appendix}
      subsection{First}
      subsection{Second}
      section{Second appendix}
      subsection{First}
      subsection{Second}
      end{appendices}

      end{document}


      This produces the following output:enter image description here



      This is almost what I want, except, I actually want the appendices to come under an appendices section in the table of contents (everything indented a level so to speak). The output would be like:
      enter image description here







      appendices






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 19 at 12:33

























      asked Apr 19 at 12:18









      Warmley

      162




      162





      bumped to the homepage by Community 14 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 14 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

















          up vote
          0
          down vote













          Add the [toc] option:



          documentclass{article}
          usepackage[toc]{appendix}

          begin{document}

          tableofcontents

          appendixtitleon
          appendixtitletocon
          section{Writing}
          begin{appendices}
          section{First appendix}
          subsection{First}
          subsection{Second}
          section{Second appendix}
          subsection{First}
          subsection{Second}
          end{appendices}

          end{document}


          enter image description here






          share|improve this answer





















          • I have tried this, doesn't this add them as sections? They are not under the Appendices section, they are just listed below them?
            – Warmley
            Apr 19 at 12:30










          • I dont' really understand what you mean. Appendix A, Appendix B are sections. The [toc] just adds an intertitle, just to say: here begins the appendices part.
            – Bernard
            Apr 19 at 12:36










          • Yeah that wasn't very clear. What I'm looking for is the appendix section to exist in the table of contents, but with each appendix being a subsection (I'm not sure if that is right). So the indent is something like the provided output.
            – Warmley
            Apr 19 at 12:39










          • I think it should be possible to leave each appendix as a section, but have a subsection layout in the table of contents with titletoc and apptools.
            – Bernard
            Apr 19 at 12:46











          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',
          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%2f427394%2fappendices-in-tables-of-contents-under-appendices-section%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








          up vote
          0
          down vote













          Add the [toc] option:



          documentclass{article}
          usepackage[toc]{appendix}

          begin{document}

          tableofcontents

          appendixtitleon
          appendixtitletocon
          section{Writing}
          begin{appendices}
          section{First appendix}
          subsection{First}
          subsection{Second}
          section{Second appendix}
          subsection{First}
          subsection{Second}
          end{appendices}

          end{document}


          enter image description here






          share|improve this answer





















          • I have tried this, doesn't this add them as sections? They are not under the Appendices section, they are just listed below them?
            – Warmley
            Apr 19 at 12:30










          • I dont' really understand what you mean. Appendix A, Appendix B are sections. The [toc] just adds an intertitle, just to say: here begins the appendices part.
            – Bernard
            Apr 19 at 12:36










          • Yeah that wasn't very clear. What I'm looking for is the appendix section to exist in the table of contents, but with each appendix being a subsection (I'm not sure if that is right). So the indent is something like the provided output.
            – Warmley
            Apr 19 at 12:39










          • I think it should be possible to leave each appendix as a section, but have a subsection layout in the table of contents with titletoc and apptools.
            – Bernard
            Apr 19 at 12:46















          up vote
          0
          down vote













          Add the [toc] option:



          documentclass{article}
          usepackage[toc]{appendix}

          begin{document}

          tableofcontents

          appendixtitleon
          appendixtitletocon
          section{Writing}
          begin{appendices}
          section{First appendix}
          subsection{First}
          subsection{Second}
          section{Second appendix}
          subsection{First}
          subsection{Second}
          end{appendices}

          end{document}


          enter image description here






          share|improve this answer





















          • I have tried this, doesn't this add them as sections? They are not under the Appendices section, they are just listed below them?
            – Warmley
            Apr 19 at 12:30










          • I dont' really understand what you mean. Appendix A, Appendix B are sections. The [toc] just adds an intertitle, just to say: here begins the appendices part.
            – Bernard
            Apr 19 at 12:36










          • Yeah that wasn't very clear. What I'm looking for is the appendix section to exist in the table of contents, but with each appendix being a subsection (I'm not sure if that is right). So the indent is something like the provided output.
            – Warmley
            Apr 19 at 12:39










          • I think it should be possible to leave each appendix as a section, but have a subsection layout in the table of contents with titletoc and apptools.
            – Bernard
            Apr 19 at 12:46













          up vote
          0
          down vote










          up vote
          0
          down vote









          Add the [toc] option:



          documentclass{article}
          usepackage[toc]{appendix}

          begin{document}

          tableofcontents

          appendixtitleon
          appendixtitletocon
          section{Writing}
          begin{appendices}
          section{First appendix}
          subsection{First}
          subsection{Second}
          section{Second appendix}
          subsection{First}
          subsection{Second}
          end{appendices}

          end{document}


          enter image description here






          share|improve this answer












          Add the [toc] option:



          documentclass{article}
          usepackage[toc]{appendix}

          begin{document}

          tableofcontents

          appendixtitleon
          appendixtitletocon
          section{Writing}
          begin{appendices}
          section{First appendix}
          subsection{First}
          subsection{Second}
          section{Second appendix}
          subsection{First}
          subsection{Second}
          end{appendices}

          end{document}


          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 19 at 12:27









          Bernard

          164k769192




          164k769192












          • I have tried this, doesn't this add them as sections? They are not under the Appendices section, they are just listed below them?
            – Warmley
            Apr 19 at 12:30










          • I dont' really understand what you mean. Appendix A, Appendix B are sections. The [toc] just adds an intertitle, just to say: here begins the appendices part.
            – Bernard
            Apr 19 at 12:36










          • Yeah that wasn't very clear. What I'm looking for is the appendix section to exist in the table of contents, but with each appendix being a subsection (I'm not sure if that is right). So the indent is something like the provided output.
            – Warmley
            Apr 19 at 12:39










          • I think it should be possible to leave each appendix as a section, but have a subsection layout in the table of contents with titletoc and apptools.
            – Bernard
            Apr 19 at 12:46


















          • I have tried this, doesn't this add them as sections? They are not under the Appendices section, they are just listed below them?
            – Warmley
            Apr 19 at 12:30










          • I dont' really understand what you mean. Appendix A, Appendix B are sections. The [toc] just adds an intertitle, just to say: here begins the appendices part.
            – Bernard
            Apr 19 at 12:36










          • Yeah that wasn't very clear. What I'm looking for is the appendix section to exist in the table of contents, but with each appendix being a subsection (I'm not sure if that is right). So the indent is something like the provided output.
            – Warmley
            Apr 19 at 12:39










          • I think it should be possible to leave each appendix as a section, but have a subsection layout in the table of contents with titletoc and apptools.
            – Bernard
            Apr 19 at 12:46
















          I have tried this, doesn't this add them as sections? They are not under the Appendices section, they are just listed below them?
          – Warmley
          Apr 19 at 12:30




          I have tried this, doesn't this add them as sections? They are not under the Appendices section, they are just listed below them?
          – Warmley
          Apr 19 at 12:30












          I dont' really understand what you mean. Appendix A, Appendix B are sections. The [toc] just adds an intertitle, just to say: here begins the appendices part.
          – Bernard
          Apr 19 at 12:36




          I dont' really understand what you mean. Appendix A, Appendix B are sections. The [toc] just adds an intertitle, just to say: here begins the appendices part.
          – Bernard
          Apr 19 at 12:36












          Yeah that wasn't very clear. What I'm looking for is the appendix section to exist in the table of contents, but with each appendix being a subsection (I'm not sure if that is right). So the indent is something like the provided output.
          – Warmley
          Apr 19 at 12:39




          Yeah that wasn't very clear. What I'm looking for is the appendix section to exist in the table of contents, but with each appendix being a subsection (I'm not sure if that is right). So the indent is something like the provided output.
          – Warmley
          Apr 19 at 12:39












          I think it should be possible to leave each appendix as a section, but have a subsection layout in the table of contents with titletoc and apptools.
          – Bernard
          Apr 19 at 12:46




          I think it should be possible to leave each appendix as a section, but have a subsection layout in the table of contents with titletoc and apptools.
          – Bernard
          Apr 19 at 12:46


















          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.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • 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%2f427394%2fappendices-in-tables-of-contents-under-appendices-section%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

          Contact image not getting when fetch all contact list from iPhone by CNContact

          count number of partitions of a set with n elements into k subsets

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks