Document index page, reduce size of footnotes

This commit is contained in:
Hendrik Kleinwaechter
2022-12-30 13:36:14 +01:00
parent 904519db47
commit 69933ecda9

View File

@@ -1,5 +1,7 @@
% Optimise for A4 size
\documentclass[a4paper, 12pt]{book} \documentclass[a4paper, 12pt]{book}
% General packages
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{blindtext} \usepackage{blindtext}
\usepackage{graphicx} \usepackage{graphicx}
@@ -10,21 +12,19 @@
\usepackage{float} \usepackage{float}
\usepackage[T1]{fontenc} \usepackage[T1]{fontenc}
\usepackage{tocloft} \usepackage{tocloft}
% References
\usepackage[backend=biber]{biblatex} \usepackage[backend=biber]{biblatex}
\addbibresource{references.bib} \addbibresource{references.bib}
\usepackage[skip=5pt plus1pt, indent=0pt]{parskip}
% Clickable links in the table of contents
\usepackage[hidelinks]{hyperref} \usepackage[hidelinks]{hyperref}
\hypersetup{ \hypersetup{
linktoc=all linktoc=all
allcolors=black allcolors=black
} }
\definecolor{codeblue}{RGB}{69, 161, 248} % Folders where to search for images
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\graphicspath{ \graphicspath{
{./images/} {./images/}
{./troubleshooting/} {./troubleshooting/}
@@ -36,13 +36,17 @@
{./wheat-sourdough/} {./wheat-sourdough/}
} }
% Layout rules
\interfootnotelinepenalty=10000 \interfootnotelinepenalty=10000
\advance\cftsecnumwidth 0.5em\relax \advance\cftsecnumwidth 0.5em\relax
\advance\cftsubsecindent 0.5em\relax \advance\cftsubsecindent 0.5em\relax
\advance\cftsubsecnumwidth 0.5em\relax \advance\cftsubsecnumwidth 0.5em\relax
\usepackage[skip=5pt plus1pt, indent=0pt]{parskip}
% Define block styles % Define styles for the flow chart graphics
\definecolor{codeblue}{RGB}{69, 161, 248}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows}
\tikzstyle{decision} = [diamond, draw, fill=codeblue, text=white, \tikzstyle{decision} = [diamond, draw, fill=codeblue, text=white,
text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt] text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
\tikzstyle{block} = [rectangle, draw, fill=codeblue, text=white, \tikzstyle{block} = [rectangle, draw, fill=codeblue, text=white,
@@ -51,8 +55,13 @@
\tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=3cm, \tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=3cm,
minimum height=2em] minimum height=2em]
% Caption and figure size below images
\usepackage{caption}
\captionsetup[figure]{font=footnotesize}
\begin{document} \begin{document}
% Title page
\begin{titlepage} \begin{titlepage}
\centering \centering
\includegraphics[width=\textwidth]{cover-page} \includegraphics[width=\textwidth]{cover-page}
@@ -60,7 +69,6 @@
\today \today
\end{titlepage} \end{titlepage}
\frontmatter \frontmatter
\tableofcontents \tableofcontents