如果我使用答案中的建议,那就是
\RedeclareSectionCommands[
toclinefill=\quad$\cdot$,
tocraggedpagenumber=true,
tocindent=0pt
]{chapter,section,subsection}
然后我得到点两侧不均匀的间距,如下所示:
我怎样才能影响 之后右侧的空间\cdot
?
答案1
使用选项tocpagenumberbox
:
\documentclass{scrbook}[2016/05/10]
\RedeclareSectionCommands[
toclinefill=\quad$\cdot$\quad,% changed
tocraggedpagenumber=true,
tocpagenumberbox=\tocpagenumberbox,% added
tocindent=0pt
]{chapter,section,subsection}
\newcommand*\tocpagenumberbox[1]{\mbox{#1}}% added
\begin{document}
\tableofcontents
\chapter{Blah}
\section{blah}
\cleardoubleoddpage
\setcounter{page}{335}
\chapter{Blah}
\section{blah}
\end{document}
结果: