Theses, Books, Title pages ⇒ Solution to too many sections in a single chapter with mitoc
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Solution to too many sections in a single chapter with mitoc
axxroytovu
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Solution to too many sections in a single chapter with mitoc
Go into the
structure.tex
and in the % Commenting the 3 lines below removes the small contents box in the chapter heading, change this
Code: Select all
\node[anchor=north west] at (1.1cm,.35cm){\parbox[t][8cm][t]{6.5cm}{\huge\bfseries\flushleft\printcontents{l}{1}{\setcounter{tocdepth}{2}}}};
Code: Select all
\node[anchor=north west] at (1.1cm,.35cm){\parbox[t][8cm][t]{6.5cm}{\huge\bfseries\flushleft \printcontents{l}{1}{\setcounter{tocdepth}{1}}}};
Re: Solution to too many sections in a single chapter with m
As petalo said, the best thing you can do is stop subsections going into the minitoc. Another solution might be to decrease the font size as much as you are happy with to squeeze them in.
Another more adventurous solution may be to try splitting that box into two columns with the multicol package. I have no idea if this will work but it would be a good way of doubling the amount of content in the box!
I'd appreciate if you post your eventual solution here so others with a similar problem can use it in the future
Cheers,
Vel