Basically, Using minitoc I created a list all of the sections within of each chapter in a small table of contents at the beginning of every new chapter. See the image for clarification.

However, due to the large size of the work (a book), which contains 10 sections divided into 3 parts, the indices of each section do not correspond to their proper section, in other words, are all disorganized and do not correspond to their respective summary, for example in the image presented, this summary corresponds to the content of section 5 and not to section 4.

Essentially I adapted this template original!.

With this structure: archive (changed) - teipel-thesis-en

main.tex (changed):

 \thesisPlaceDate{May, 2018}
 \secondExaminer{X B}

Into each chapter I inserted for instance chap1.tex (changed)enter image description here:

\chapter{Introduction} \label{chap1_introduction}
\hfill \break
\InitialCharacter{B}la bla bla...
\section{Objectives} \label{chap1_objectives}
Bla, Bla, Bla...
  • your question is how to...? – naphaneal Apr 16 '18 at 10:13
  • Hello naphaneal, Yes, how to make the table of contents (minitoc) works in an organized way, that is, each table of contents correspond to its respective section. – Alan Menk Apr 16 '18 at 10:19
  • like that? tex.stackexchange.com/questions/3001/… – naphaneal Apr 16 '18 at 10:27
  • Hello naphaneal, the problem is more complex than this. Let me explain... I already have the minitoc in "work", the problem is that it is working erroneously. subappendice in the Section 1 points to Section 4; Section 2 points tor Section 5; Section 3 points to Section 6; Section 4 points to Section 7; Section 5 points to Section 8; Section 8 points to Appendices; Section 9 and 10 points to nothing – Alan Menk Apr 16 '18 at 13:34
  • PROBLEM SOLVED! SOLUTION: in the file named teipel-thesis-en.cls. In the line: \setcounter{mtc} {3} was 3, that is, the index was only beginning to be counted from section 3. I changed it to 0 and it is now working correctly. \newcommand\beginmainmatter{% \ifhyperrefoption % do nothing \else \mainmatter \fi \ifminitocoption \setcounter{mtc}{0} \fi } Thank you all! – Alan Menk Apr 16 '18 at 13:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.