Theses, Books, Title pages ⇒ "MINI TABLE OF CONTENTS CHAPTER IN HEADS" adaptable to mini
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
"MINI TABLE OF CONTENTS CHAPTER IN HEADS" adaptable to mini
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
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
-
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
"MINI TABLE OF CONTENTS CHAPTER IN HEADS" adaptable to mini
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}}}};%