I'm currently compiling a book, and some of the chapters have far too many sections to fit into the mini-toc at the beginning of each chapter. I have four different chapters that have over 20 sections, most of which run off the background and some of which even run behind the title bar. Is there a formatting solution to this, or will I have to live with overlap? Unfortunately removing sections is not a viable option.
axxroytovu
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
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Solution to too many sections in a single chapter with mitoc
Kind of similar problem here, but I had far too many SUBsections, and manageable sections numbers. So I have the mini-toc now showing only sections (without subsection items showing):
Go into the
for this:
petalo
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
Hey,
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
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
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com