我有两个问题。1.我想将 Content 一词移到页面顶部。content 一词是目录。2.第二个问题是关于每段内容之间的间距。现在目录中的小节编号与主要部分的标题粘在一起。如何将它们分开?
\documentclass[10pt,a4paper,titlepage]{book}
\usepackage[paperwidth=165mm, paperheight=238mm, left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{tocloft}
\setlength{\cftbeforetoctitleskip}{5 pt}
\setlength{\cftaftertoctitleskip}{20 pt}
\renewcommand{\cfttoctitlefont}{\bfseries\Large} % Only large font
\setcounter{tocdepth}{3}
\renewcommand{\contentsname}{Table of contents}
\renewcommand{\cftsecfont}{\normalfont\bfseries}% titles in bold
\renewcommand{\cftsecpagefont}{\normalfont\bfseries}% page numbers in bold
\renewcommand{\cftdotsep}{1}
\renewcommand{\cftchapleader}{\bfseries\cftdotfill{\cftsecdotsep}}% dot leaders in bold
\begin{document}
\let\cleardoublepage\clearpage
\tableofcontents
\newpage
\section{bla bla}
...
\subsection{bla bla}
\subsubsection{bla bla}
\section{bla bla}
\subsection{bla bla}
\subsubsection{bla bla}
\medskip
\end{document}