
Como faço para aumentar o espaçamento entre o número da subseção e o nome do cabeçalho no índice. Estou usando www.sharelatex.com.
Quando tenho um grande número de subseções, os números das seções e os cabeçalhos se sobrepõem.
\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}
Editar: 22/12/2014 Encontrei uma resposta para minha pergunta emOs algarismos romanos tornam-se “muito largos” no índice
Adicionei essas duas linhas ao preâmbulo.
\usepackage[tocindentauto]{tocstyle}
\usetocstyle{KOMAlike}
Responder1
Como o link mencionado acima não tem titletoc
solução, aqui está uma:
\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}