summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/minitoc/gaps.tex
blob: c46065fccd4e9915e7d5beea0fbf610f73008174 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\documentclass[a4paper,oneside,12pt]{book}
\usepackage{vruler} % to have a vertical graduation
\usepackage{txfonts}
\usepackage[english2,tight]{minitoc}
\begin{document}
\setvruler[1cm][0][10][3][0][0pt][0pt][0pt][] % with vruler package
\doparttoc
\faketableofcontents
\part{First part}
\parttoc
\chapter{First chapter of first part}
\chapter{Second chapter of first part}
\part{Second part}
\renewcommand{\mtcgapbeforeheads}{100pt}
\renewcommand{\mtcgapafterheads}{80pt}
\parttoc
\chapter{First chapter of second part}
\chapter{Second chapter of second part}
\part{Third part}
\renewcommand{\mtcgapbeforeheads}{20pt}
\renewcommand{\mtcgapafterheads}{10pt}
\parttoc
\chapter{First chapter of third part}
\chapter{Second chapter of third part}
\end{document}