
目次のサブセクション番号とヘッダー名の間の間隔を広げるにはどうすればよいですか。私は 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日 私の質問に対する答えが見つかりました目次のローマ数字が「幅が広すぎる」
前文に次の 2 行を追加しました。
\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}