我已\thesection
在文档中重新定义自定义编号。现在章节编号略长,目录尚未相应调整。
在下面的目录中potatoes
重叠II.2
。同样II.3.10
重叠In...
。(其他小节几乎重叠,而不是有空格。)
我怎样才能消除这种重叠?
\documentclass[a4paper]{article}
\usepackage[english]{babel} %
\renewcommand\thesection{\Roman{part}.\arabic{section}}
\begin{document}
\tableofcontents
\part{Fish}
\section{tuna}
\subsection{whatever}
\subsection{canned}
\part{Vegetables}
\section{potatoes}
\section{tunips}
\subsection{This is just to use}
\subsection{up subsections}
\subsection{because I want to get}
\subsection{to subsection 10}
\subsection{because extra digits}
\subsection{is what's causing the problem}
\subsection{what are tunips?}
\subsection{like, who eats them?}
\subsection{I've only ever seen them?}
\subsection{In Howl's moving castle}
\end{document}
答案1
正如 Torbjørn T 在上面的评论中提到的,这个帖子是一个解决方案。
(旁注:有没有办法将评论标记为解决方案,而不是写整篇文章并将其标记为解决方案?)