# Removing/Renaming the title of minitoc

For minitoc package, the ToC title can be changed through the command \stctitle. However, for the following MWE, I found the same ToC title "Contents" without change.

So, what is wrong or missing?

\documentclass{scrbook}
\usepackage[english]{babel}
\usepackage{lipsum,minitoc}

\renewcommand{\stctitle}{Another Title}
}

\begin{document}
\dominitoc

\chapter{Chapter 1}
\minitoc

\section{Section 1}
\lipsum[1-20]
\section{Section 2}
\lipsum[1-20]

\end{document}

• I've deleted the scrbook tag -- it's not related – user31729 Jun 4 '16 at 5:46

\minitoc is used for a chapter - wise ToC, so \mtctitle must be changed, not \stctitle (which is for section-wise ToC) (section toc title)

I doubt however that minitoc and KOMA is a good combination, therefore I switched to book instead of scrbook class.

\documentclass{book}
\usepackage[english]{babel}
\usepackage{lipsum}
\usepackage{minitoc}

\addto{\captionsenglish}{% Making babel aware of special titles
\renewcommand{\mtctitle}{Another Title}
}

\begin{document}
\dominitoc
\tableofcontents

\chapter{Chapter 1}
\minitoc

\section{Section 1}
\lipsum[1-20]
\section{Section 2}
\lipsum[1-20]

\end{document}


• I appreciate your help to answer my clumsy question. Out of curiosity, I found the toc section entries are indented one level to the right, how can I left align the section entries to the left? – Diaa Jun 4 '16 at 5:51
• @DiaaAbidou: \mtcsetoffset{minitoc}{some value} would be one possibility – user31729 Jun 4 '16 at 5:55
• Before \begin{document} , I added \mtcsetoffset{minitoc}{0pt} , but I got the same result. Did I make it wrong? – Diaa Jun 4 '16 at 5:59
• @DiaaAbidou: That's the default. It's a little bit tricky. Try -4em instead of 0pt, but it will shift the whole toc only the left, including the page numbers. – user31729 Jun 4 '16 at 6:00
• It's possible to trick with \mtcindent, but I did not receive convincing results so far – user31729 Jun 4 '16 at 6:36