Latex minitoc:更新toc深度计数器

Latex minitoc:更新toc深度计数器,latex,tableofcontents,Latex,Tableofcontents,我正在用乳胶写我的论文,我想在每章的开头都包括一个小目录,只包括章节。我正在使用我在序言文件中声明的minitoc包。在我的主文件中,我发现自己必须包含以下内容,以便minitoc进行自我更新: % *********************** Adding TOC and List of Figures *********************** \dominitoc \tableofcontents \listoffigures \mtcaddchapter \listoftabl

我正在用乳胶写我的论文,我想在每章的开头都包括一个小目录,只包括章节。我正在使用我在序言文件中声明的
minitoc
包。在我的主文件中,我发现自己必须包含以下内容,以便minitoc进行自我更新:

% *********************** Adding TOC and List of Figures ***********************
\dominitoc
\tableofcontents 
\listoffigures \mtcaddchapter 
\listoftables \mtcaddchapter
当我将区段计数器设置为2时:

\setcounter{secnumdepth}{2}
 \setcounter{tocdepth}{2}
我得到的迷你目录包括子部分(这似乎是默认的minitoc部分深度)。我尝试通过包括以下内容来更改截面toc深度:

\newcounter{secttocdepth}
\setcounter{secttocdepth}{1}
到处都没有成功。非常欢迎你的帮助

你试过使用

\setcounter{minitocdepth}{1}
如minitoc手册所述