-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHTNotes-math.sty
More file actions
30 lines (22 loc) · 786 Bytes
/
HTNotes-math.sty
File metadata and controls
30 lines (22 loc) · 786 Bytes
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
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{HTNotes-math}
% \RequirePackage{amsmath,amssymb,ntheorem}
\everymath{\displaystyle}
\DeclareMathOperator{\dif}{\mathop{}\!\mathrm{d}}
\DeclareMathOperator{\upe}{\operatorname{e}}
\DeclareMathOperator{\cov}{\operatorname{cov}}
\DeclareMathOperator{\upi}{\operatorname{i}}
\DeclareMathOperator{\sgn}{\operatorname{sgn}}
\DeclareMathOperator{\grad}{\operatorname{grad}}
\DeclareRobustCommand{\uppartial}{%
\text{\rotatebox[origin=t]{15}%
{\scalebox{0.95}[1]{$\partial$}}}\hspace{-1pt}%
}
\newcommand{\abs}[1]{\left| #1 \right|}
\renewcommand{\Re}{\operatorname{Re}}
\renewcommand{\Im}{\operatorname{Im}}
\renewcommand{\le}{\leqslant}
\renewcommand{\leq}{\leqslant}
\renewcommand{\ge}{\geqslant}
\renewcommand{\geq}{\geqslant}
\endinput