51 lines
1.5 KiB
TeX
51 lines
1.5 KiB
TeX
% Changes
|
|
\usepackage[draft, defaultcolor=Blue, xcolor=dvipsnames]{changes} % Track changes
|
|
\definechangesauthor[color=RawSienna]{CP}
|
|
\newcommand{\CP}[1]{\comment[id=CP]{#1}}
|
|
|
|
% Images
|
|
\usepackage{graphicx}
|
|
\usepackage{caption} % Point references to the figure not the caption
|
|
\usepackage[export]{adjustbox} % For valign in subfigs
|
|
|
|
% Includes
|
|
\usepackage{import} % Allow relative paths
|
|
\usepackage{pdfpages} % Include PDFs
|
|
|
|
\usepackage{hyperref} % Hyperlinks
|
|
\hypersetup{
|
|
bookmarksnumbered = true, % Include section numbers in bookmarks
|
|
bookmarksopen = true, % Auto-open bookmarks
|
|
bookmarksopenlevel = 2, % Open up to subsections
|
|
}
|
|
\hypersetup{
|
|
colorlinks = true, % Color links
|
|
allcolors = Black, % Color of all links
|
|
citecolor = OliveGreen, % Color of citations
|
|
allbordercolors = White, % No borders around links
|
|
}
|
|
|
|
% Lists
|
|
\usepackage[inline]{enumitem} % Customise lists
|
|
\setitemize{noitemsep} % No space between items in itemize
|
|
|
|
% References
|
|
\usepackage{bookmark} % Manage bookmarks
|
|
\usepackage{etoc} % Local table of contents
|
|
|
|
% 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 ()
|
|
}
|
|
|
|
% Others
|
|
\usepackage[autostyle]{csquotes} % For quotes
|
|
\usepackage[dvipsnames]{xcolor} % More colors |