在 multitoc
宏包的问题,没有处理 false 分支的情况。
在它后面加上:
\makeatletter
\renewcommand*{\@starttoc}[1]{%
\ifthenelse{\boolean{@multitoc@toc}\and\equal{#1}{toc}}{%
\begin{multicols}{\multicolumntoc}%
\@multitoc@starttoc{#1}%
\end{multicols}%
}{%
\ifthenelse{\boolean{@multitoc@lot}\and\equal{#1}{lot}}{%
\begin{multicols}{\multicolumnlot}%
\@multitoc@starttoc{#1}%
\end{multicols}%
}{%
\ifthenelse{\boolean{@multitoc@lof}\and\equal{#1}{lof}}{%
\begin{multicols}{\multicolumnlof}%
\@multitoc@starttoc{#1}%
\end{multicols}%
}{\@multitoc@starttoc{#1}}%
}}}
\makeatother
问 内容目录和表格目录分栏