-
Notifications
You must be signed in to change notification settings - Fork 4
/
header.tex
156 lines (129 loc) · 4.67 KB
/
header.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
\documentclass[12pt]{article}
\setlength{\topmargin} {-1in}
% Style modifications
\oddsidemargin 0.25in
\evensidemargin 0.25in
\textwidth 6.0in
%\textheight 8.0in
%\textheight 8.5in % Changed on 13 September 2012
\textheight 9in % Changed on 3 October 2013
\parskip 0.1in
\parindent 0.0in
\headheight 1.0in
\headsep .25in
\usepackage{comment} % For gitbook support
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amssymb,amscd,verbatim,graphicx,fancyhdr,tikz}
\usepackage{mathtools} %for minus plus sign alignment in matrices and vectors, added 13 Feb 2017
\usepackage{bbm}
\usepackage[ruled,vlined]{algorithm2e}
\usepackage{pgfplots}
\usetikzlibrary{arrows,automata}
\usetikzlibrary{positioning}
\usetikzlibrary{shapes.geometric}
\usepgfplotslibrary{groupplots}
\pgfplotsset{compat=1.16}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\usepackage{circuitikz}
\usepackage{esdiff}
\usepackage{siunitx}
\usepackage{palatino}
\usepackage{enumerate}
\usepackage{multicol}
\usepackage{listings}
\usepackage{color}
\usepackage{float}
\usepackage{esdiff} % Derivatives
\usepackage{hyperref}
\usepackage{cleveref}
\usepackage{bookmark}
\usepackage{slashbox}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{siunitx}
\newcolumntype{Y}{>{\centering\arraybackslash}X}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=blue,
}
\newcommand{\bblue}{\color[rgb]{0.2,0.2,0.7}}
\usepackage{mcode}
%Alternative: http://perso.telecom-bretagne.eu/gillesbertrand/tutorials/#sujet44
%This latter one uses the xypackage
%\usepackage{x}
\newcommand\eqnnumber{\addtocounter{equation}{1}\tag{\theequation}} % Allows us to tag the last equation in an align
\usepackage{accents}
\newcommand*{\dt}[1]{%
\accentset{\mbox{\large\bfseries .}}{#1}}
\newcommand*{\ddt}[1]{%
\accentset{\mbox{\large\bfseries .\hspace{-0.25ex}.}}{#1}}
\newcommand{\B}[1]{\mathbf{#1}}
\DeclareMathAlphabet{\V}{OML}{cmm}{b}{it}
% To get decent pdf files:
\usepackage{caption}
\usepackage{subcaption}
\newcommand{\bs}[1]{\boldsymbol{#1}}
\newcommand{\underscore}{\char`\_}
\newcommand{\tildetext}{\char`\~}
\newcommand{\defn}{\stackrel{\triangle}{=}}
\newcommand{\deriv}[2]{\frac{d{#1}}{d{#2}}}
\newcommand{\cas}{\text{cas }}
\lstset{columns=fullflexible,
xleftmargin=0pt,
frame=single,
keepspaces=false,
tabsize=2,
breaklines=true,%
morekeywords={matlab2tikz},
keywordstyle=\color{blue},%
morekeywords=[2]{1}, keywordstyle=[2]{\color{black}},
identifierstyle=\color{black},%
showstringspaces=false,%without this there will be a symbol in the places where there is a space
numbers=left,%
numberstyle={\tiny \color{black}},% size of the numbers
numbersep=5pt, % this defines how far the numbers are from the text
emph=[1]{for,end,break},emphstyle=[1]\color{red}, %some words to emphasise
%emph=[2]{word1,word2}, emphstyle=[2]{style},
}
\newtheorem{theorem}{Theorem}
\newtheorem{definition}{Definition}
\newtheorem{corollary}{Corollary}
\newtheorem{proof}{Proof}
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator*{\argmax}{argmax}
\DeclareMathOperator*{\sinc}{sinc}
\DeclareMathOperator*{\divergence}{div}
\DeclareMathOperator*{\ad}{ad}
\newcommand{\trunc}[1]{\left[#1\right]_+}
\newcommand{\prob}[1]{\mathbb{P}\left[#1\right]}
\newcommand{\pr}[1]{\text{Pr}\left\{#1\right\}}
\newcommand{\expect}[1]{\mathbb{E}\left[#1\right]}
\newcommand{\llse}[2]{\mathbb{L}\left[#1|#2\right]}
\newcommand{\var}[1]{Var\left(#1\right)}
\newcommand{\cov}[1]{Cov\left(#1\right)}
\newcommand{\normal}[3]{#1\sim\mathcal{N}\left(#2, #3\right)}
\newcommand{\norm}[1]{\|#1\|}
\newcommand{\vecnorm}[1]{\|\vec{#1}\|}
\newcommand{\iid}{independently and identically distributed }
\newcommand{\ip}[2]{\langle #1, #2 \rangle}
\newcommand{\markov}[3]{#1\text{\textemdash}#2\text{\textemdash}#3}
\newcommand{\R}{\mathbb{R}}
\renewcommand{\arraystretch}{1.5}
\DeclareSIUnit\decade{decade}
\tikzstyle{circleblock} = [draw, fill=white, circle, node distance=0.5cm]
\tikzstyle{block} = [draw, fill=white, rectangle,
minimum height=3em, minimum width=6em]
\tikzstyle{matrix} = [draw, fill=white, rectangle,
minimum height=1em, minimum width=1em]
\tikzstyle{sum} = [draw, fill=white, circle, node distance=1cm]
\tikzstyle{amp} = [regular polygon, regular polygon sides=3, shape border rotate=-90, draw]
\tikzstyle{input} = [coordinate]
\tikzstyle{output} = [coordinate]
\tikzstyle{pinstyle} = [pin edge={to-,thin,black}]
\tikzstyle{int}=[draw, fill=white, minimum size=2em]
\tikzstyle{init} = [pin edge={to-,thin,black}]
\tikzstyle{filter} = [draw, fill=white, rectangle, minimum height=3em, minimum width=6em, align=center, text width=2cm]
\includecomment{gitbook-image}