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