-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwill_handley.sty
28 lines (25 loc) · 965 Bytes
/
will_handley.sty
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
\usepackage{matplotlibcolors}
\usepackage{codelistings}
\usepackage[en-GB,showdow=true]{datetime2}
\DTMlangsetup[en-GB]{ord=raise}
\def\firstlecture{2022-10-07}
\DTMsavedate{firstlecture}{\firstlecture}
% custom citations
\newcommand{\email}[1]{\textcolor{C0}{\href{mailto:#1}{\texttt{<#1>}}}}
\newcommand{\tthref}[1]{\textcolor{C0}{\texttt{\href{https://www.#1}{#1}}}}
\newcommand{\citehref}[3]{[\textcolor{C0}{\href{#1/#2}{#3#2}}]}
\newcommand{\doi}[1]{\citehref{https://doi.org}{#1}{doi:}}
\newcommand{\oldarxiv}[1]{\citehref{https://arxiv.org/}{#1}{}}
\newcommand{\arxiv}[1]{\citehref{https://arxiv.org/abs}{#1}{}}
\newcommand{\xkcd}[1]{\citehref{https://xkcd.com}{#1}{xkcd:}}
\newcommand{\github}[1]{\citehref{https://github.com}{#1}{github:}}
% general packages
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{mathtools}
\usepackage{mathabx}
\usepackage{cleveref}
\usepackage{pgfplots}
\usepackage{siunitx}
\usepackage{bm}
\usepackage[percent]{overpic}