-
Notifications
You must be signed in to change notification settings - Fork 24
/
preamble.tex
53 lines (45 loc) · 1.05 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
\usepackage{booktabs}
\usepackage{epsfig}
\usepackage{epstopdf}
\usepackage{rotate}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{alphalph}
\usepackage{caption}
\usepackage[hang,flushmargin]{footmisc}
\usepackage{framed}
\usepackage{xcolor}
\usepackage{verbatim}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\usepackage{bm}
\setcounter{MaxMatrixCols}{20}
\newcommand{\Var}{\mathrm{Var}}
\newcommand{\SD}{\mathrm{SD}}
\newcommand{\Cov}{\mathrm{Cov}}
\newcommand{\fx}{f({\bf x})}
\newcommand\R{{\textsf R~}}
\newcommand\Rst{\textsf{RStudio}}
% spacing between environments
\usepackage{amsthm}
\makeatletter
\def\thm@space@setup{%
\thm@preskip=15pt plus 2pt minus 4pt
\thm@postskip=\thm@preskip
}
\makeatother
% link colors in pdf?
\usepackage{xcolor}
\definecolor{crimson}{RGB}{204,0,0}
\hypersetup{
colorlinks = true,
urlcolor = crimson,
linkbordercolor = {white},
linkcolor = crimson
}
% Title format
\usepackage{titling}
\pretitle{\Huge\sffamily}
\posttitle{\par\vskip 1em}
\predate{\LARGE\sffamily}
\postdate{\par}
\urlstyle{tt}