0

Following this simple example below, minitoc rules and tiltle are hidden (even with \mtcrule. However according to the minitoc documention, given the book document class, the default would displayed.

\documentclass[
  11pt,
  a4paper,
  twoside,
  openright
]{book}

\usepackage{minitoc}

\title{My title}
\author{You and me}

\dominitoc
\mtcrule

\begin{document}

\chapter{Introduction}
\minitoc
\section{Motivation and Challenges}
\section{Hypothesis and Objectives}
\section{Contributions}
\section{Outline of the Dissertation}

\end{document}

enter image description here

I am missing something ?

  • You should read the .log. It mentions you're not executing \tableofcontents nor \faketableofcontents. Try that. – Werner Aug 4 '17 at 8:22
1

You have to move \dominitoc behind \begin{document} (see Table 1.1–1.3 in the minitoc manual) and also use either \tableofcontents or \faketableofcontents. You do not need \mtcrule:

\documentclass[
  11pt,
  a4paper,
  twoside,
  openright
]{book}

\usepackage{minitoc}

\title{My title}
\author{You and me}

\begin{document}
\dominitoc
\tableofcontents% or \faketableofcontents
%\mtcrule


\chapter{Introduction}
\minitoc
\section{Motivation and Challenges}
\section{Hypothesis and Objectives}
\section{Contributions}
\section{Outline of the Dissertation}

\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.