notes: add useful operators
This commit is contained in:
parent
681b1b62b8
commit
686d2d4554
@ -29,24 +29,36 @@ header-includes: |
|
||||
\usepackage{float}
|
||||
\floatplacement{figure}{H}
|
||||
|
||||
% customer macros
|
||||
%% "with" in formulas
|
||||
\DeclareMathOperator*{\with}{%
|
||||
|
||||
%% customer macros
|
||||
% "with" in formulas
|
||||
\DeclareMathOperator{\with}{%
|
||||
\hspace{30pt} \text{with} \hspace{30pt}
|
||||
}
|
||||
%% "thus" in formulas
|
||||
\DeclareMathOperator*{\thus}{%
|
||||
|
||||
% "thus" in formulas
|
||||
\DeclareMathOperator{\thus}{%
|
||||
\hspace{30pt} \Longrightarrow \hspace{30pt}
|
||||
}
|
||||
%% "et" in formulas
|
||||
\DeclareMathOperator*{\et}{%
|
||||
|
||||
% "et" in formulas
|
||||
\DeclareMathOperator{\et}{%
|
||||
\hspace{30pt} \wedge \hspace{30pt}
|
||||
}
|
||||
%% "if" in formulas
|
||||
\DeclareMathOperator*{\incase}{%
|
||||
|
||||
% "if" in formulas
|
||||
\DeclareMathOperator{\incase}{%
|
||||
\hspace{20pt} \text{if} \hspace{20pt}
|
||||
}
|
||||
|
||||
% expectation and variance operators
|
||||
\DeclareMathOperator{\Exp}{\mathbb{E}}
|
||||
\DeclareMathOperator{\Var}{Var}
|
||||
|
||||
% average value with angle brakets
|
||||
\newcommand{\avg}[1]{\langle#1\rangle}
|
||||
|
||||
% book cover
|
||||
\makeatletter
|
||||
\renewcommand\maketitle{
|
||||
\begin{titlepage}
|
||||
|
Loading…
Reference in New Issue
Block a user