% 目录字体设置
\usepackage{subfigure}
\usepackage[subfigure]{tocloft}
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} % 目录后一行连续的点
\renewcommand{\cftsecfont}{\rmfamily}
\renewcommand{\cftsecpagefont}{\rmfamily}
% 目录居中
\renewcommand*\contentsname{\hfill Contents \hfill}
LaTeX目录居中及目录字体设置
于 2022-02-19 17:17:41 首次发布
这篇博客详细介绍了如何使用 LaTeX 中的 `tocloft` 包来定制目录的字体、点状连接线以及实现目录居中显示。通过 `
enewcommand` 命令,调整了目录的段落标记、字体和页码样式,确保了整个目录的视觉一致性与专业感。

3411





