TOC 数字和标题之间的间距

TOC 数字和标题之间的间距

如何增加目录中子部分编号和标题名称之间的间距。我正在使用 www.sharelatex.com。

当我有大量小节时,节号和标题会重叠。

\documentclass[12pt, openany]{book}

% geometry sets paper dimensions
\usepackage[    paperheight=8in,
                paperwidth=6in,
                top=.1in,
                bottom=.2in,
                right=.1in,
                left=.1in,
                heightrounded]{geometry} 

% Font Style
\usepackage{bookman}

\begin{document}

\tableofcontents
\setcounter{tocdepth}{3}

\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\section{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}

\end{document}

编辑:2014 年 12 月 22 日,我在目录中的罗马数字变得“太宽”

我在序言中加入了这两行。

\usepackage[tocindentauto]{tocstyle}
\usetocstyle{KOMAlike}

答案1

由于上述链接没有titletoc解决方案,这里提供一个:

\documentclass[12pt, openany]{book}

% geometry sets paper dimensions
\usepackage[ paperheight=8in,
                paperwidth=6in,
                top=.1in,
                bottom=.2in,
                right=.1in,
                left=.1in,
                heightrounded]{geometry}

% Font Style
\usepackage{bookman}
\usepackage{eqparbox}
\usepackage{titletoc}

\titlecontents{chapter}[0em]{\vspace{.25\baselineskip}}
{\eqparbox{ch}{\bfseries\thecontentslabel}\enspace}{}
{\hspace{.5em}\hfill\contentspage}

\titlecontents{section}[1.8em]{\vspace{.25\baselineskip}}
{{\thecontentslabel}\enspace}{}
{\hspace{.5em}\titlerule*[10pt]{$\cdot$}\contentspage}

\titlecontents{subsection}[4.5em]{\vspace{.25\baselineskip}}
{\eqparbox{Ss}{\thecontentslabel}\enspace}{}
{\hspace{.5em}\titlerule*[10pt]{$\cdot$}\contentspage}

\begin{document}

\tableofcontents
\setcounter{tocdepth}{3}

\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\chapter{Test}
\section{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}
\subsection{Test}

\end{document} 

在此处输入图片描述

相关内容