Fix (again) toc, lists
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
{
|
|
||||||
\hypersetup{linkcolor=black}
|
|
||||||
|
|
||||||
|
\begin{listof}
|
||||||
\renewcommand{\contentsname}{\textsf{Contents}}
|
\renewcommand{\contentsname}{\textsf{Contents}}
|
||||||
\pdfbookmark[chapter]{\contentsname}{toc}
|
\renewcommand{\cftsecfont}{}% Unbold sections
|
||||||
|
|
||||||
\renewcommand{\cftsecfont}{}% Unbold sections in ToC
|
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
}
|
\end{listof}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
\chapter*{Bibliography}
|
{
|
||||||
\label{bibliography}
|
\singlespacing
|
||||||
|
\printbibliography[heading=bibliography]
|
||||||
\printbibliography[heading=none]
|
}
|
||||||
|
|||||||
@@ -1,9 +1,4 @@
|
|||||||
\chapter*{List of Figures}
|
\begin{listof}
|
||||||
\label{figures}
|
\renewcommand{\listfigurename}{\textsf{List of Figures}}
|
||||||
|
\listoffigures
|
||||||
{% Set the link color to black only for the list of figures
|
\end{listof}
|
||||||
\hypersetup{linkcolor=black}%
|
|
||||||
\makeatletter%
|
|
||||||
\@starttoc{lof}% Print the list of figures without the title
|
|
||||||
\makeatother%
|
|
||||||
}%
|
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
\chapter*{List of Tables}
|
\begin{listof}
|
||||||
\label{tables}
|
\renewcommand{\listtablename}{\textsf{List of Tables}}
|
||||||
|
\listoftables
|
||||||
{% Set the link color to black only for the list of tables
|
\end{listof}
|
||||||
\hypersetup{linkcolor=black}%
|
|
||||||
\makeatletter%
|
|
||||||
\@starttoc{lot}% Print the list of tables without the title
|
|
||||||
\makeatother%
|
|
||||||
}%
|
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,8 @@
|
|||||||
% Formatting
|
% Formatting
|
||||||
\usepackage[autostyle]{csquotes} % For quotes
|
\usepackage[autostyle]{csquotes} % For quotes
|
||||||
\usepackage[dvipsnames]{xcolor} % More colors
|
\usepackage[dvipsnames]{xcolor} % More colors
|
||||||
\usepackage{tocloft}
|
\usepackage{tocloft} % Customise the table of contents
|
||||||
|
\usepackage[nottoc]{tocbibind} % Add bibliography and lists to the table of contents
|
||||||
|
|
||||||
% Footnotes
|
% Footnotes
|
||||||
\usepackage[hang]{footmisc}
|
\usepackage[hang]{footmisc}
|
||||||
|
|||||||
@@ -7,6 +7,12 @@
|
|||||||
\end{oldequation}%
|
\end{oldequation}%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% Contents, figures and tables
|
||||||
|
\NewDocumentEnvironment{listof}{}{
|
||||||
|
\hypersetup{linkcolor=black}
|
||||||
|
\singlespacing
|
||||||
|
}{}
|
||||||
|
|
||||||
% Images
|
% Images
|
||||||
% example: \fig[1]{filename}{Caption}[Additional caption text, not shown in the list of figures]
|
% example: \fig[1]{filename}{Caption}[Additional caption text, not shown in the list of figures]
|
||||||
% reference later with: \figref{filename}
|
% reference later with: \figref{filename}
|
||||||
|
|||||||
Reference in New Issue
Block a user