LaTeX forum ⇒ Text FormattingUrgent help needed for dissertation formatting Topic is solved

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

Urgent help needed for dissertation formatting

Postby almostadoc » Fri Jul 24, 2020 9:16 am

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}


\newcommand{\addsection}[3]{\addtocontents{toc}{\protect\contentsline{section}{\protect\numberline{#1}#2}{#3}}}
\newcommand{\addsubsection}[3]{\addtocontents{toc}{\protect\contentsline{subsection}{\protect\numberline{#1}#2}{#3}}}
\newcommand{\addsubsubsection}[3]{\addtocontents{toc}{\protect\contentsline{subsubsection}{\protect\numberline{#1}#2}{#3}}}


\begin{document}

\setcounter{page}{7}


% Construct contents
\addsection{}{LIST OF FIGURES}{viii}
\addsection{}{LIST OF TABLES}{ix}

\addsection{}{CHAPTERS}{}

\addsection{1}{IT'S A MATCH! OR IS IT? A LAB EXPERIMENT ON MENTORSHIP}{1}
\addsubsection{1.1}{Introduction}{1}
\addsubsection{1.2}{The Mentorship Experiment: Experiment Design}{7}
\addsubsection{1.3}{Treatments}{14}
\addsubsection{1.4}{Implementation}{17}
\addsubsection{1.5}{Experimental Results}{18}
\addsubsection{1.6}{Conclusion}{26}


\addsection{2}{ GENDER DIFFERENCES IN TOP LEADERSHIP ROLES: DOES WORKER BACKLASH MATTER?}{45}
\addsubsection{2.1}{Introduction}{45}
\addsubsection{2.2}{The Leadership Experiment: Experiment Design}{51}
\addsubsection{2.3}{Treatments}{54}
\addsubsection{2.4}{Implementation}{57}
\addsubsection{2.5}{Experimental Results}{58}
\addsubsubsection{2.5.1}{Gender differences in the decision to be manager}{59}
\addsubsubsection{2.5.2}{Gender differences in managers' decision-making}{62}
\addsubsubsection{2.5.3}{Gender differences in leadership style}{67}
\addsubsubsection{2.5.4}{Gender differences in the extent of received worker backlash}{68}
\addsubsection{2.6}{Conclusion}{70}

\addsection{3}{DEGREES OF EQUALITY: WHY ARE THERE FEWER WOMEN IN UNDERGRADUATE ECONOMICS?}{82}
\addsubsection{3.1}{Introduction}{82}
\addsubsection{3.2}{Literature Review}{83}
\addsubsection{3.3}{Experiment Design}{89}
\addsubsection{3.4}{Empirical Strategy}{91}
\addsubsection{3.5}{Implementation}{92}
\addsubsection{3.6}{Results}{93}
\addsubsection{3.7}{Strategy for the full scale study}{95}
\addsubsection{3.8}{Conclusion}{97}

\addsection{}{APPENDIX}{106}
\addsection{}{BIBLIOGRAPHY}{128}


\tableofcontents

\end{document}

User avatar
Johannes_B
Site Moderator
Posts: 4173
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Jul 27, 2020 5:47 am

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 1 guest