Code: Select all
Code, edit and compile here:
\usepackage[titles,subfigure]{tocloft}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%defines Table of Contents Indents\renewcommand{\cftsecindent}{0 em}\renewcommand{\cftsecnumwidth}{2.4 em}\renewcommand{\cftsubsecindent}{2.4 em}\renewcommand{\cftsubsecnumwidth}{3.0 em}\renewcommand{\cftsubsubsecindent}{4.7 em}\renewcommand{\cftsubsubsecnumwidth}{4.7 em}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\newlength\mylength\settowidth\mylength{figure\hspace*{3em}}\addtolength\cftfignumwidth{\mylength}\renewcommand\cftfigpresnum{figure}\begin{document} % START THE DOCUMENT!\section{Abstract}\section{Contents}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\setcounter{tocdepth}{4}\tableofcontents\addtocounter{figure}{4}\newpage%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\section{Introduction}\section{Methods}\subsection{\large Apparatus}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\begin{figure}[H]\centering\subfloat{\label{fig:1}\includegraphics[width=6in,height=4in]{Apparatus.png}} \\\caption{Shaky Table Apparatus Schematic\hspace*{3em}}\end{figure}