This commit is contained in:
2024-10-23 15:56:17 +02:00
parent bd19d043f8
commit bd4f683e4d
4 changed files with 66 additions and 70 deletions

View File

@@ -13,15 +13,6 @@
\singlespacing
}{}
% Floatings (images and tables) : less restrictive constraints (https://robjhyndman.com/hyndsight/latex-floats/index.html)
\setcounter{topnumber}{2}
\setcounter{bottomnumber}{2}
\setcounter{totalnumber}{4}
\renewcommand{\topfraction}{0.85}
\renewcommand{\bottomfraction}{0.85}
\renewcommand{\textfraction}{0.15}
\renewcommand{\floatpagefraction}{0.7}
% Images
% example: \fig[1]{filename}{Caption}[Additional caption text, not shown in the list of figures]
% reference later with: \figref{filename}
@@ -118,7 +109,7 @@
\renewcommand{\tabref}[2][\labelprefix]{Table~\ref{#1:tab:#2}}
% Misc
\newcommand{\noindentskip}{\bigskip\noindent} % Skip a line and remove the indent
\newcommand{\noindentskip}{\bigskip\noindent}% Skip a line and remove the indent
% Tables
\RenewDocumentEnvironment{tab}{O{htbp} m m O{}}{% #1 = position, #2 = label, #3 = title, #4 = additional caption
@@ -141,8 +132,6 @@
% Local table of contents
\usepackage{titletoc}
\newcommand{\chaptertoc}{% Print the table of contents for the chapter
%\hypersetup{linkcolor=black}%
\section*{Contents}% Add a section title
\vspace{-1.5em}%
\horizontalrule%
@@ -155,3 +144,6 @@
\horizontalrule%
\vspace{2em}%
}
\newcommand{\nochaptertoc}{%
\stopcontents%
}