1

I am using the report class to make a pdf via LaTeX. I have a table of contents, which looks more like an outline. Just below is a picture for examples sake.

enter image description here

I would like to show all the higher section levels in the table of contents, specifically in the same lines as the lower section levels. As an example, I would like it to show Section III.1(a) Unbiased Estimators instead of just (a) Unbiased Estimators. I am not opposed to using the same section headers throughout the document. Is there a way to do this without restructuring the entire document?

I am new to LaTeX, but based on my reading some packages may conflict with other ones. In case it's relevant, the full preamble from my document is below.

%%% INITIALIZE DOCUMENT
%\documentclass[twocolumn]{report}
\documentclass{report}


%% PACKAGES
\usepackage[labelfont=bf,textfont=md]{caption}
\usepackage{titlesec}
\usepackage{setspace}
\usepackage{tocloft}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{graphicx}
%\graphicspath{{"/Users/mikeyshmikey/Desktop/Hub/Projects/Thesis/Figures/LaTeX/"}}
%\graphicspath{{"/Users/mikeyshmikey/Desktop/Hub/Projects/Thesis/Figures/FIN/"}}
\graphicspath{{"/Users/mikeyshmikey/Desktop/Hub/Projects/Thesis/Figures/FIN_mod/"}}
\usepackage{array}
\usepackage{float}
%\usepackage{ragged2e}
\usepackage[margin=1.0in]{geometry}
 \geometry{
 left=1.5in,
 top=1in,
 right=1in,
 bottom=1in,
 }
\usepackage{subfig}
%\usepackage{mathtools}
%\usepackage{amssymb}
\usepackage{sectsty}
%\usepackage{multicol}
\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}

\usepackage{siunitx}

\sectionfont{\LARGE}
\subsectionfont{\Large}
\subsubsectionfont{\large}
\paragraphfont{\large}

\usepackage{hyperref}
\hypersetup{linktoc=all}


%\usepackage{sectsty}
%\sectionfont{\fontsize{12}{20}\selectfont}
%\subsectionfont{\fontsize{12}{15}\selectfont}

\usepackage{mathtools}
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}

\newenvironment{conditions}
  {\par\vspace{\abovedisplayskip}\noindent\begin{tabular}{>{$}l<{$} @{${}={}$} l}}
  {\end{tabular}\par\vspace{\belowdisplayskip}}


%%% FORMATTING 
\pagenumbering{roman}
\renewcommand\cftchapaftersnum{.}
\renewcommand\cftsecaftersnum{.}

\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}

\renewcommand\thechapter{\alph{chapter}}
\renewcommand\thesection{\Roman{section}}
\renewcommand\thesubsection{(\arabic{subsection})}
\renewcommand\thesubsubsection{(\alph{subsubsection})}

\sectionfont{\centering}

\setcounter{tocdepth}{4}
\setcounter{secnumdepth}{4}

\setlength{\cftbeforetoctitleskip}{0pt}
\setlength{\cftaftertoctitleskip}{40pt}
\renewcommand{\contentsname}{\centerline{Table of Contents}}

\setlength{\cftbeforeloftitleskip}{0pt}
\setlength{\cftafterloftitleskip}{40pt}

\renewcommand{\cftloftitlefont}{\hspace*{\fill}\Huge\bfseries}
\renewcommand{\cftafterloftitle}{\hspace*{\fill}}

\setlength{\cftbeforelottitleskip}{0pt}
\setlength{\cftafterlottitleskip}{40pt}

\renewcommand{\cftlottitlefont}{\hspace*{\fill}\Huge\bfseries}
\renewcommand{\cftafterlottitle}{\hspace*{\fill}}
%\renewcommand{\thesection}{\arabic{section}}

%\def\@makeschapterhead#1{%
%  \vspace*{50\p@}%
%  {\parindent \z@ \raggedright
%    \normalfont
%    \interlinepenalty\@M
%    \Huge \bfseries  #1\par\nobreak
%    \vskip 40\p@
%  }}


\begin{document}
... 
\end{document}

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.