General ⇒ minitoc problem
minitoc problem
\chapter{Introduction}
\label{Chap:Introduction}
\mtcaddchapter
\minitoc
Chapter 2(seperate txt file):
\chapter{Related Work}
\label{Chap:RelatedWork}
\mtcaddchapter
\minitoc
-------------(seperate txt file)-----------------------------------
This is my main page, where I include each chapter.
\begin{document}
%table of content of the thesis
\dominitoc[l]
\tableofcontents
%include your chapters here
\dominitoc[l]
\faketableofcontents
\include{CHAPTER-1-Introduction/IntroductionT}
\dominitoc
\faketableofcontents
\include{CHAPTER-2-Literature-Review/RelatedWorkT}
\end{document}
Problem: I need each chapter to have its local table of content. I get the table of content of the first chapter in second chapter as well. I do not get the table of content of second chapter. Can someone tell me reason pl?
Many thanks in advance.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
minitoc problem
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10