I am putting together a report as part of a group project for part of physics degree, and I have been having fun trying to format the table of contents correctly. Here is a MWE:
\documentclass[twoside]{article} \usepackage[a4paper,pdftex,left=1.7cm,right=1.7cm,top=2cm,bottom=2.5cm]{geometry} \usepackage{blindtext} \usepackage[english]{babel} \renewcommand*\thesection{\arabic{section}.0} \renewcommand*\thesubsection{\arabic{section}.\arabic{subsection}} \begin{document} \tableofcontents \addtocontents{toc}{~\hfill\textbf{Page}\par} \newpage \begin{abstract} \blindtext \end{abstract} \section{A section} \blindtext \section{Another section} \blindtext \subsection{A subsection} \blindtext \subsection{Yet another subsection} \blindtext \subsubsection{Oh, exciting, a sub sub section!} \blindtext \section{Another boring old section} \blindtext \end{document} Which gives something like this as the output:

Not bad, except for the spacing between the sections and their respective numbers is far too small. I tried to fix it by including this in the preamble:
\makeatletter \renewcommand{\l@section}{\@dottedtocline{1}{1.5em}{3em}} \renewcommand{\l@subsection}{\@dottedtocline{2}{3.0em}{3.5em}} \renewcommand{\l@subsubsection}{\@dottedtocline{3}{4.5em}{4.2em}} \makeatother giving this:

Although it allows me to adjust the spacing to my liking (not adjusted correctly in the picture, just an example), I seem to have lost the bold font and gained some dots for my sections which were previously absent. I have also lost the nice spacing between sections. I tried getting the bold font back with
\renewcommand\cftsecfont{\bfseries} but it didn't seem to have any effect. Any advice on how to better format my ToC would be appreciated. I don't have to comply with any specific layout of formatting specified by the university, but I do want it to look clear and professional. The first example was perfect except for the section numbers being stuck right next to the sections, although it was fine for the subsections.
