81 lines
2.4 KiB
TeX
81 lines
2.4 KiB
TeX
% Changes
|
|
\usepackage[commentmarkup=footnote]{changes}
|
|
\definechangesauthor[name=Jens Grubert, color=Dandelion]{JG}
|
|
\definechangesauthor[name=Seokhee Jeon, color=Red]{SG}
|
|
\newcommand{\comans}[3]{%
|
|
\comment[id=#1]{%
|
|
#2\\%
|
|
\textbf{Answer: }#3%
|
|
}%
|
|
}
|
|
|
|
% Images
|
|
\usepackage{graphicx}
|
|
\usepackage{caption}% Point references to the figure not the caption
|
|
\usepackage[export]{adjustbox}% For valign in subfigs
|
|
|
|
% Includes
|
|
\usepackage{bookmark}% Manage bookmarks
|
|
\usepackage{import}% Allow relative paths
|
|
\usepackage{pdfpages}% Include PDFs
|
|
\usepackage{pdflscape}% Landscape pages
|
|
\usepackage{afterpage}% Execute command after the next page break
|
|
|
|
% 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}
|
|
|
|
% Formatting
|
|
\usepackage[autostyle]{csquotes}% For quotes
|
|
\usepackage[dvipsnames]{xcolor}% More colors
|
|
\usepackage{tocloft}% Customise the table of contents
|
|
\usepackage{tocbibind}% Add bibliography and lists to the table of contents
|
|
|
|
% Footnotes
|
|
\usepackage[hang]{footmisc}
|
|
\setlength{\footnotemargin}{3mm}% Margin between footnote number and text
|
|
|
|
% Less hbox/vbox badness messages
|
|
\hfuzz=20pt
|
|
\vfuzz=20pt
|
|
\hbadness=2000
|
|
\vbadness=\maxdimen
|
|
|
|
% Links
|
|
\usepackage{hyperref}
|
|
\hypersetup{
|
|
bookmarksnumbered = true, % Include section numbers in bookmarks
|
|
bookmarksopen = true, % Auto-open bookmarks
|
|
bookmarksopenlevel = 0, % Open up to chapters
|
|
}
|
|
\hypersetup{
|
|
colorlinks = true, % Color links
|
|
allcolors = Black, % Default color
|
|
citecolor = OliveGreen, % Color of citations
|
|
linkcolor = MidnightBlue, % Color of internal links
|
|
allbordercolors = White, % No borders around links
|
|
}
|
|
|
|
% Lists
|
|
\usepackage[inline]{enumitem}% Customise lists
|
|
\setlist{nolistsep}% No space before and after lists
|
|
\setitemize{noitemsep}% No space between items in itemize
|
|
|
|
% Tables
|
|
\usepackage{booktabs}% Better tables
|
|
\usepackage{makecell}% For multi-line cells in tables
|
|
\usepackage{multirow}% Multi-row cells in tables
|
|
\usepackage{tabularx}% For tables with fixed width
|
|
|
|
% Units
|
|
\usepackage{siunitx}% For numbers with units
|
|
\sisetup{
|
|
retain-explicit-plus = true, % Keep + in numbers
|
|
uncertainty-mode = separate % Separate uncertainty with +- instead of ()
|
|
}
|