2

I am writing my thesis and I have the following problem with the minitoc.

I would like my first chapter (the introduction) to be unnumbered. But when I use

    \chapter*{Introduction}

all the mini-table of contents of the chapters afterwards are shifted. Even worse, they are shifted in the counterintuitive direction: the minitoc of Chapter 1 only comes at the beginning of Chapter 2.

Here is the code.

\documentclass[12pt]{amsbook}


\usepackage[english]{babel}
\usepackage[utf8]{inputenc}

\usepackage{minitoc}
\setcounter{minitocdepth}{2}



  \title{Thesis}


\begin{document}
\maketitle

\dominitoc[n]
\nomtcrule

\tableofcontents


\chapter*{Introduction}
Bla

\chapter{First chapter}
\minitoc

\section{Section 1}
\subsection{Subsection 1}
\subsection{Subsection 2}
\section{Section 2}

\chapter{Second chapter}
\minitoc


\section{Section 1}
\section{Section 2}


\end{document}
2
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format.
    – Symbol 1
    Mar 31, 2015 at 17:12
  • 2
    Add \adjustmtc after \chapter*{Introduction}, see page 37 in the manual.
    – egreg
    Mar 31, 2015 at 17:26

2 Answers 2

6

Add \adjustmtc after the unnumbered chapter, see page 37 in the manual, section 1.3.4.

\documentclass[12pt]{amsbook}


\usepackage[english]{babel}
\usepackage[utf8]{inputenc}

\usepackage{minitoc}
\setcounter{minitocdepth}{2}



  \title{Thesis}


\begin{document}
\maketitle

\dominitoc[n]
\nomtcrule

\tableofcontents


\chapter*{Introduction}
\adjustmtc

Bla

\chapter{First chapter}
\minitoc

\section{Section 1}
\subsection{Subsection 1}
\subsection{Subsection 2}
\section{Section 2}

\chapter{Second chapter}
\minitoc


\section{Section 1}
\section{Section 2}


\end{document}

enter image description here

1

Set \mtcaddchapter after your unnumbered chapter.

2
  • This seems more a comment than an answer...
    – CarLaTeX
    May 8, 2017 at 4:24
  • This is a correct answer, however, a miinimal working example (maybe even a screenshot) showing that it really works would be highly appreciated.
    – Johannes_B
    May 8, 2017 at 5:00

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.