blob: 777b64f1792be186d88d1911ca9d092ba4777fdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{tex/docmacros}[2021/09/27 v0.1 Document Macros]
\RequirePackage{amsmath}
\RequirePackage{amsthm}
% Probability
\DeclareMathOperator{\expectation}{E}
\newcommand{\E}[1]{\expectation \left\{#1\right\}}
\DeclareMathOperator{\variance}{Var}
\newcommand{\Var}[1]{\variance \left\{#1\right\}}
\DeclareMathOperator{\probability}{Pr}
\renewcommand{\Pr}[1]{\probability \left\{#1\right\}}
% Sampling
%% Impulse train distribution
\DeclareFontFamily{U}{wncy}{}
\DeclareFontShape{U}{wncy}{m}{n}{<->wncyr10}{}
\DeclareSymbolFont{mcy}{U}{wncy}{m}{n}
\DeclareMathSymbol{\Comb}{\mathord}{mcy}{"58}
|