I am using minitoc
below every chapter title in my document. However, depending on the size of the chapter title, minitoc
shifts down. This does not look great since my chapter titles differ in size, and therefore when you go through the document minitoc
appears at different positions on the chapter title page. This problem is exemplified in the MWE below:
\documentclass[pdftex,10pt,b5paper,twoside]{book}
\usepackage[lmargin=25mm,rmargin=25mm,tmargin=27mm,bmargin=30mm]{geometry}
\usepackage[english]{babel}
\usepackage{csquotes}
\usepackage{quotchap}
\usepackage{lipsum}
\usepackage{hyperref}
\usepackage{mdframed}
\usepackage[nohints,tight]{minitoc}
\setcounter{minitocdepth}{1}
\begin{document}
\dominitoc
\tableofcontents
\chapter[ONE]{RATHER LONG TITLE THAT OCCUPIES MORE THAN ONE LINE AND THUS SHIFTS THE MINITOC BELOW DOWN} \label{chap:1}
\minitoc
\vfill
\begin{mdframed}
Comments on Chapter~\ref{chap:1} also varying in size.
\end{mdframed}
\clearpage
\section{SECTION ONE}
\lipsum[1-2] \cite{lipsum}.
\section{SECTION TWO}
\lipsum[1-2] \cite{lipsum}.
\section{SECTION THREE}
\lipsum[1-2] \cite{lipsum}.
\cleardoublepage
\chapter[TWO]{SHORT TITLE} \label{chap:2}
\minitoc
\vfill
\begin{mdframed}
Comments on Chapter~\ref{chap:2} which also may vary in size but should not influence the position of the \texttt{minitoc}.
\end{mdframed}
\clearpage
\section{SECTION ONE}
\lipsum[1-2] \cite{lipsum}.
\section{SECTION TWO}
\lipsum[1-2] \cite{lipsum}.
\section{SECTION THREE}
\lipsum[1-2] \cite{lipsum}.
\section{SECTION FOUR}
\lipsum[1-2] \cite{lipsum}.
\subsection{SUBSECTION FOUR ONE}
\lipsum[1-4] \cite{lipsum}.
\cleardoublepage
\begin{thebibliography}{9}
\bibitem{lipsum}
Patrick Happel.
lipsum -- Easy access to the Lorem Ipsum dummy text.
2014
\end{thebibliography}
\cleardoublepage
\end{document}