LaTeX forum ⇒ Theses, Books, Title pagesAdd a table of contents for appendices Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Laur_ette
Posts: 1
Joined: Fri Jun 24, 2016 10:22 am

Add a table of contents for appendices  Topic is solved

Postby Laur_ette » Fri Jun 24, 2016 11:11 am

Hello !

First, thank you very much for that template which is just perfect to write my internship report.

Then, here is my question : I would like to add a second table of contents for my appendices, delete the appendices of the table of contents and just keep the table of appendices in the table of contents, how can I do that ?

I don't know if I've been clear (and I'm not sure my english is correct) so here is what I want in the two tables :

------------------------------------------------------------------
...Title, introduction, acknowledgements...

Table of contents
> Chapter1 p.1
> Chapter2 p.10
> Bibliography p.20
> Table of appendices p.30

...My report...

Table of appendices
> Appendix1 p.31
> Appendix2 p.33

...Appendices...
------------------------------------------------------------------

Thank you for your help and advices!


EDIT : Solution found ! For those who would like to know, here is my LateX code!
Thanks to this page : viewtopic.php?f=5&t=2014.

\usepackage{titletoc}

%----------------------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES PAGES
%----------------------------------------------------------------------------------------

\chapter*{Table des matières}
\startcontents[corpstexte]
\printcontents[corpstexte]{l}{0}{\setcounter{tocdepth}{2}}

%----------------------------------------------------------------------------------------
% CORPS DU TEXTE
%----------------------------------------------------------------------------------------

\mainmatter % Begin numeric (1,2,3...) page numbering
\pagestyle{thesis} % Return the page headers back to the "thesis" style
\titleformat{\chapter}{}{}{0em}{\bf\LARGE\thechapter.~} % Title modification
\setstretch{1.2}

\include{Chapters/Introduction}
\include{Chapters/Chapter1} % Chapitre 1
\include{Chapters/Chapter2} % Chapitre 2

%----------------------------------------------------------------------------------------
% BIBLIOGRAPHY
%----------------------------------------------------------------------------------------

\titleformat{\chapter}{}{}{0em}{\bf\Huge} % Title modification
\printbibliography[heading=bibintoc]

%----------------------------------------------------------------------------------------
% THESIS CONTENT - APPENDICES
%----------------------------------------------------------------------------------------

\chapter*{Table des annexes} \addcontentsline{toc}{chapter}{Table des annexes}
\startcontents[annexes]
\printcontents[annexes]{l}{0}{\setcounter{tocdepth}{2}}
\stopcontents[corpstexte]

\titleformat{\chapter}{}{}{0em}{\bf\LARGE\thechapter.~} % Title modification
\appendix % Cue to tell LaTeX that the following "chapters" are Appendices

\include{Appendices/Appendix1}
\include{Appendices/Appendix2}

Tags:

Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 2 guests