-
Notifications
You must be signed in to change notification settings - Fork 1
/
preamble.tex
44 lines (39 loc) · 1.19 KB
/
preamble.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{ccaption}
\usepackage{caption}
\captionsetup{font=footnotesize}
\usepackage{gensymb}
\usepackage{tikz}
\usepackage{pgfplots}
\usepackage[textwidth=1.7cm,textsize=tiny,linecolor=orange!60!white,bordercolor=orange!60!white,color=orange!20!white]{todonotes}
\setlength{\marginparwidth}{1.7cm}
\usepackage{xspace}
\usepackage{soul}
\usepackage{siunitx}
\usepackage{natbib}
\usepackage{bm}
\usepackage[title]{appendix}
\usepackage[hidelinks]{hyperref}
\usetikzlibrary{external}
\tikzexternalize[prefix=figures/tikzexternal/]
\makeatletter
\renewcommand{\todo}[2][]{\tikzexternaldisable\@todo[#1]{#2}\tikzexternalenable}
\makeatother
\input{colors}
\input{figures/styles}
\input{figures/macros}
% references
\def\figref#1{Fig.~\ref{#1}}
\def\panelref#1{{\bf(#1)}}
\def\secref#1{Section~\ref{#1}}
\def\tabref#1{Table~\ref{#1}}
\def\eqref#1{(Eq.~\ref{#1})}
% common abbreviations
\newcommand{\eg}{\emph{e.g.}\xspace}
\newcommand{\ie}{\emph{i.e.}\xspace}
% introduce a new word
\def\introduce#1{{\color{funkey_color_1}\ul{#1}}}
%\def\introduce#1{#1} % uncomment this for final version
\def\mathlet#1#2{\pgfmathparse{#2}\let#1\pgfmathresult}