Minitoc の番号がサブセクションのタイトルと重複している

Minitoc の番号がサブセクションのタイトルと重複している

minitoc数値の深さが長いのです\setcounter{minitocdepth}{3}が、次のような問題があります。

\documentclass{report}
\usepackage{newcent}
\usepackage{minitoc}
\setcounter{tocdepth}{1}
\setcounter{secnumdepth}{5}
\dominitoc
\nomtcrule
\setlength{\mtcindent}{5pt}
\setcounter{minitocdepth}{5}
\renewcommand{\mtcSfont}{\small\bfseries\rmfamily}
\renewcommand{\mtifont}{\large\bfseries\rmfamily}
\begin{document}
\tableofcontents
\appendix
\chapter{X}
\minitoc
\newpage
\section{X}
\section{X}
\section{X}
\section{X}
\section{X}
\section{X}
\section{X}
\subsection{X}
\subsection{X}
\subsection{x}
\subsection{X}
\section{X}
\section{X}
\section{X}
\section{X}
\section{X}
\subsection{X}
\subsection{X}
\subsection{X}
\subsection{X}
\subsection{X}
\subsection{X}
\subsection{X}
\subsection{X}
\subsection{X}
\subsection{X}
\subsection{X}
\subsection{X}
\end{document}

ここに画像の説明を入力してください

ご覧のとおり、A.12.10は と重なっていますX

minitocこの問題を解決するには、どのように設定を変更すればよいでしょうか?

答え1

これはminitoc特定の問題。追加

\makeatletter
\renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.5em}}% Used to be {3.8em}{3.2em}
\makeatother

ドキュメントのプリアンブルに を追加すると、目次関連ファイルのサブセクション番号に割り当てられる幅が から に増加します3.2em3.5emこの長さは、必要に応じて調整できます。

ここに画像の説明を入力してください

関連情報