
Как увеличить интервал между номером подраздела и названием заголовка в оглавлении. Я использую 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}
Редактировать: 22.12.2014 Нашел ответ на свой вопрос наРимские цифры становятся «слишком широкими» в оглавлении
Я добавил эти две строки в преамбулу.
\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}