-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpreamble.tex
58 lines (51 loc) · 1.61 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
\usepackage[margin=1in]{geometry}
\usepackage{enumitem}
\usepackage{fancyhdr} %for the top header
\usepackage{forest}
\usepackage{float}
\usepackage{graphicx}
\PassOptionsToPackage{hyphens}{url}\usepackage{hyperref} % allow for URL wrapping
\usepackage{mathtools}
\usepackage[standard]{ntheorem}
\usepackage[super]{nth}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\usepackage{physics}
\usepackage{siunitx}
\usepackage{subfig}
\usepackage{soul}
\usepackage{tikz}
\usetikzlibrary{patterns}
\usetikzlibrary{decorations.pathmorphing}
\usepackage{titling}
\usepackage{verbatim}
\usepackage{xspace}
\title{Understanding Analysis Solutions}
\author{Michael You}
\date{}
% Custom math shortcuts
\DeclareMathOperator{\Var}{Var}
\DeclareMathOperator{\sign}{sign}
\DeclarePairedDelimiter{\ceil}{\lceil}{\rceil}
\DeclarePairedDelimiter{\floor}{\lfloor}{\rfloor}
\DeclarePairedDelimiter{\paren}{(}{)}
\DeclarePairedDelimiter{\bracken}{[}{]}
\DeclarePairedDelimiter{\bracen}{\{}{\}}
\newcommand{\pa}[1]{\paren*{#1}}
\newcommand{\pbra}[1]{\bracken*{#1}}
\newcommand{\pbrac}[1]{\bracen*{#1}}
% Exercise theorem env
\theoremstyle{break}
\theorembodyfont{\upshape} % No italics in body font
\newtheorem{exercise}{Exercise}[section]
\newtheorem{tip}{Tip}[section]
\newtheorem{identity}{Identity}[section]
% Environment Shortcuts
\newcommand{\bx}[1]{\begin{exercise} #1 \end{exercise}}
\newcommand{\ea}[1]{\begin{enumerate}[label=(\alph*)] #1 \end{enumerate}}
% Shortcuts
\newcommand{\AFSOC}{\text{AFSOC}\xspace}
% Extras
\newcommand{\TODO}{\hl{\textbf{TODO}}\xspace}
% Pathing
\newcommand{\subDir}[1]{chapters/chapter\currChapter/chapter\currChapter-#1}