'Creating a Fake/Manual Table of Contents in Latex/Overleaf

I am creating a thesis paper with a class file created by my institution, however, the code for the class file is outdated and doesn't fit the exact requirements necessary for the format submission.

The font is size 12 and the margin specifications are as follows (These values give us 1.6in on the left margin,and 1.1in on the other margins, as well as placing the page numbers):

\newlength{\@realheadsep}
\newlength{\@realtextheight}

\makeatletter

\setlength{\oddsidemargin}{.6in}
\setlength{\textwidth}{5.8in}
\setlength{\marginparsep}{.2in}
\setlength{\marginparwidth}{1in}

\setlength{\topmargin}{-0.5in}
\setlength{\headheight}{0.25in}
\setlength{\@realheadsep}{0.35in}
\setlength{\@realtextheight}{8.8in}
\setlength{\footskip}{.5in}

\setlength{\paperheight}{11.0in}
\setlength{\paperwidth}{8.5in}

\setlength{\headsep}{\@realheadsep}
\setlength{\textheight}{\@realtextheight}

\setlength{\headsep}{\@realheadsep}
\setlength{\textheight}{\@realtextheight}

% set paragraph indentation to 2em
\parindent 2em

% Lengths used by capheadings where we expand the header and shrink 
% the text body to allow the heading on each page within original margins.
\newlength{\@headerextra}
\setlength{\@headerextra}{0.35in}

\newlength{\@altheadsep}
\setlength{\@altheadsep}{\@realheadsep}
\addtolength{\@altheadsep}{\@headerextra}

\newlength{\@alttextheight}
\setlength{\@alttextheight}{\@realtextheight}
\addtolength{\@alttextheight}{-\@headerextra}

\newlength{\@fullheadheight}
\setlength{\@fullheadheight}{\headheight}
\addtolength{\@fullheadheight}{\@realheadsep}

\newlength{\@headtofootheight}
\setlength{\@headtofootheight}{\@alttextheight}
\addtolength{\@headtofootheight}{\@realheadsep}
\addtolength{\@headtofootheight}{\@headerextra}

The automatic table of contents is missing a few attributes and I am unable to edit the class file to fix it/ add in chapters and such manually. My current automatic table of contents looks like this (but it is missing a few things that I need to add manually):

enter image description here

Does anyone know how to either manually code this in another latex file so I can change my table of contents? It needs to match this format. Thank you in advance! If there is any information that you might need from the class file, please let me know and I can try to find it.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source