## LaTeX forum ⇒ Text Formatting ⇒ Urgent help needed for dissertation formatting Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 1
Joined: Fri Jul 24, 2020 9:09 am

### Urgent help needed for dissertation formatting

Hi Everyone,

I need some urgent help with my dissertation formatting for the TOC which I am just not able to figure out and have a submission deadline to get my PhD.
I have manually created the TOC (I had to), and need to make the following changes in it:
1. Triple space from title for List of Figures
2. Have double space between each entry EXCEPT multi-line titles.
3. Indent second line if title has two lines or more.

I have tried everything and looked everywhere, but just can't figure this out. I would SERIOUSLY appreciate any help with this asap.

I am attaching the tex code. I work on Overleaf.

\documentclass[12pt]{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{geometry}
\usepackage{setspace}
\usepackage{endnotes}
\usepackage{sectsty}
\usepackage{indentfirst}
\usepackage{graphicx} % Allows including images
\usepackage{footmisc}
\usepackage{etoolbox}
\setlength{\footnotesep}{\baselineskip} %use 1.67\baselineskip for a double space
\usepackage[utf8]{inputenc}
\pagenumbering{roman}

\setcounter{MaxMatrixCols}{10}

\baselineskip = 21pt
\renewcommand
\baselinestretch{1.5}
\newtheorem{defn}{Definition}
\geometry{left=1in,right=1in,top=1in,bottom=1in}
\doublespacing
\makeatletter
\def\@biblabel#1{\hspace*{-\labelsep}}
\makeatother

\renewcommand{\contentsname}
{\centering \normalsize CONTENTS}

\begin{document}

\setcounter{page}{7}

% Construct contents

\addsection{1}{IT'S A MATCH! OR IS IT? A LAB EXPERIMENT ON MENTORSHIP}{1}

\addsubsubsection{2.5.1}{Gender differences in the decision to be manager}{59}

\addsubsection{3.7}{Strategy for the full scale study}{95}

\tableofcontents

\end{document}

Johannes_B
Site Moderator
Posts: 4173
Joined: Thu Nov 01, 2012 4:08 pm
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.