regards
I was checking the document on which it relied, to create the template (http://cel.archives-ouvertes.fr/docs/00 ... liquee.pdf) and it seemed nice as "MINI TABLE HEADS oF cONTENTS CHAPTER iN "adapts content index, ie if there is only one section becomes small box, this is nice because if the template does not fit the content is static.
Try to find where this change to the code, compared to the original document, but I could not get it, if succeeds in placing the number of the chapter that I find very useful, and run a little table that also looks great mounted but I can not make it look adaptable.
thank you very much
caedvaur
Theses, Books, Title pages ⇒ "MINI TABLE OF CONTENTS CHAPTER IN HEADS" adaptable to mini
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
"MINI TABLE OF CONTENTS CHAPTER IN HEADS" adaptable to mini
The box of the mini table of contents is defined in
It you want a box whose size is adapted to its contents, try instead (untested):
Mathias
structure.tex
:Code: Select all
% Commenting the 3 lines below removes the small contents box in the chapter heading
\fill[color=ocre!10!white,opacity=.6] (1cm,0) rectangle (8cm,-7cm);%
\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
% Commenting the 3 lines below removes the small contents box in the chapter heading
\node[anchor=north west,fill=ocre!10!white,opacity=.6,inner sep=1mm] at (1.1cm,.35cm) {\parbox[t][][t]{6.5cm}{\huge\bfseries\flushleft \printcontents{l}{1}{\setcounter{tocdepth}{2}}}};%