这是我的 minitoc 的样子:https://www.dropbox.com/s/wxr92dab4eccwis/mintoc.png。我想将顶部规则和第一个条目之间的距离增加到与最后一个条目和底部规则之间的距离相同。
我调用minitoc
并tocloft
如下:
\usepackage[nohints]{minitoc}
\dominitoc
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% LIST OF FIGURES/TABLES
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\renewcommand*\l@table{\@dottedtocline{1}{1.5em}{2.3em}}
\makeatother
\usepackage[titles,subfigure]{tocloft}
\setcounter{tocdepth}{2}
\renewcommand{\cftsecfont}{\normalfont}
\renewcommand{\cftsecpagefont}{\normalfont}
\renewcommand{\cftsecleader}{\normalfont\cftdotfill{\cftsecdotsep}}
\renewcommand{\cftsecdotsep}{\cftdotsep}
\cftpagenumbersoff{subsection}
\cftsetindents{chapter}{0em}{2em}
\cftsetindents{section}{0.7em}{3em}
\cftsetindents{subsection}{2.3em}{4.2em}
这是一个复杂的前言(因此没有 reprex),我可能无意中更改了某个设置。我可以设置一个参数来纠正这个问题吗?