I have two problems. 1.I would like to move the word Content on the top of the page. The word content is the table of content. 2. The second problem is regarding the space between each paragraph content. Now the number of subsection in the table of content sticks together with the title of the main section. How to separete them?enter image description here

\usepackage[paperwidth=165mm, paperheight=238mm, left=2.5cm,right=2cm,top=2cm,bottom=2cm]{geometry}

\setlength{\cftbeforetoctitleskip}{5 pt}
\setlength{\cftaftertoctitleskip}{20 pt}
\renewcommand{\cfttoctitlefont}{\bfseries\Large} % Only large font

\renewcommand{\contentsname}{Table of contents}
\renewcommand{\cftsecfont}{\normalfont\bfseries}% titles in bold
\renewcommand{\cftsecpagefont}{\normalfont\bfseries}% page numbers in bold
\renewcommand{\cftchapleader}{\bfseries\cftdotfill{\cftsecdotsep}}% dot leaders in bold




\section{bla bla}
\subsection{bla bla}
\subsubsection{bla bla}

\section{bla bla}
\subsection{bla bla}
\subsubsection{bla bla}



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.