Theses, Books, Title pagesTable of contents per chapter

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Table of contents per chapter

Post by templateuser »

Welcome to all
how can I insert the table of contents for each chapter for this template
thank you

Messi007

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Table of contents per chapter

Post by Vel »

Hi,

It looks like you should use the minitoc package to do this. Have a look here for how to do it: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minitoc

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: Table of contents per chapter

Post by templateuser »

i had already try this before but nothing going on.

Messi007
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: Table of contents per chapter

Post by templateuser »

There are any one how try to implemeting the "minitoc" code in this template ?

Messi007
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: Table of contents per chapter

Post by Vel »

Hi,

This page here answers this question much better than I can: http://tex.stackexchange.com/questions/ ... e-pdflatex

That said, in order to put a mini table of contents at the end of each chapter using this template, do the following:

1) Add \usepackage{minitoc} to the preamble
2) Add \dominitoc after \begin{document}
3) Add \setcounter{mtc}{9} before \input{Chapters/Chapter1}
4) Add \minitoc to the end of Chapter1.tex

You'll now see a mini table of contents just for Chapter 1 at the very end of chapter 1. You can add \minitoc to the end of the other chapters as well to print their table of contents. You will need to put \setcounter{mtc}{X} before every \input{Chapter/ChapterX} and increment the X by one so after Chapter 1 you would use \setcounter{mtc}{10}.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: Table of contents per chapter

Post by templateuser »

Thank you very much :) it work

Messi007
Post Reply