Fix latex format

This commit is contained in:
2024-09-24 11:27:30 +02:00
parent 8887bd07b9
commit 964681c2ec
8 changed files with 143 additions and 145 deletions

View File

@@ -3,20 +3,26 @@
\definechangesauthor[color=RawSienna]{CP} \definechangesauthor[color=RawSienna]{CP}
\newcommand{\CP}[1]{\comment[id=CP]{#1}} \newcommand{\CP}[1]{\comment[id=CP]{#1}}
% Footnotes
\usepackage[hang]{footmisc}
\setlength{\footnotemargin}{3mm} % Margin between footnote number and text
% Images % Images
\usepackage{graphicx} \usepackage{graphicx}
\usepackage{caption} % Point references to the figure not the caption \usepackage{caption} % Point references to the figure not the caption
\usepackage[export]{adjustbox} % For valign in subfigs \usepackage[export]{adjustbox} % For valign in subfigs
% Includes % Includes
\usepackage{bookmark} % Manage bookmarks
\usepackage{import} % Allow relative paths \usepackage{import} % Allow relative paths
\usepackage{pdfpages} % Include PDFs \usepackage{pdfpages} % Include PDFs
\usepackage{hyperref} % Hyperlinks % Formatting
\usepackage[autostyle]{csquotes} % For quotes
\usepackage[dvipsnames]{xcolor} % More colors
% Footnotes
\usepackage[hang]{footmisc}
\setlength{\footnotemargin}{3mm} % Margin between footnote number and text
% Links
\usepackage{hyperref}
\hypersetup{ \hypersetup{
bookmarksnumbered = true, % Include section numbers in bookmarks bookmarksnumbered = true, % Include section numbers in bookmarks
bookmarksopen = true, % Auto-open bookmarks bookmarksopen = true, % Auto-open bookmarks
@@ -35,10 +41,6 @@
\setlist{nolistsep} % No space before and after lists \setlist{nolistsep} % No space before and after lists
\setitemize{noitemsep} % No space between items in itemize \setitemize{noitemsep} % No space between items in itemize
% References
\usepackage{bookmark} % Manage bookmarks
\usepackage{etoc} % Local table of contents
% Tables % Tables
\usepackage{booktabs} % Better tables \usepackage{booktabs} % Better tables
\usepackage{makecell} % For multi-line cells in tables \usepackage{makecell} % For multi-line cells in tables
@@ -51,7 +53,3 @@
retain-explicit-plus=true, % Keep + in numbers retain-explicit-plus=true, % Keep + in numbers
uncertainty-mode=separate % Separate uncertainty with +- instead of () uncertainty-mode=separate % Separate uncertainty with +- instead of ()
} }
% Others
\usepackage[autostyle]{csquotes} % For quotes
\usepackage[dvipsnames]{xcolor} % More colors

View File

@@ -93,7 +93,7 @@
labelfont={sf,bf,up}, % sans-serif, bold, upright labelfont={sf,bf,up}, % sans-serif, bold, upright
} }
\RenewDocumentEnvironment{tab}{O{htbp} m m o}{% #1 = position, #2 = label, #3 = title, #4 = additional caption \RenewDocumentEnvironment{tab}{O{htbp} m m O{}}{% #1 = position, #2 = label, #3 = title, #4 = additional caption
\begin{table}[#1]% \begin{table}[#1]%
\centering% \centering%
\caption[#3]{#3#4}% \caption[#3]{#3#4}%