aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/tex/docmacros.sty
diff options
context:
space:
mode:
Diffstat (limited to 'doc/thesis/tex/docmacros.sty')
-rw-r--r--doc/thesis/tex/docmacros.sty7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/thesis/tex/docmacros.sty b/doc/thesis/tex/docmacros.sty
index 4c71004..a29205d 100644
--- a/doc/thesis/tex/docmacros.sty
+++ b/doc/thesis/tex/docmacros.sty
@@ -6,6 +6,8 @@
\RequirePackage{amssymb}
\RequirePackage{bm}
+%% MATHEMATICS
+
% Probability
\DeclareMathOperator{\expectation}{E}
\newcommand{\E}[1]{\expectation \left\{#1\right\}}
@@ -36,3 +38,8 @@
\newcommand{\mx}[1]{\bm{\mathrm{#1}}}
+%% TYPESETTING
+
+% Custom command IEEE references for figures and tables
+\newcommand{\figref}[1]{Fig.~\ref{#1}}
+\newcommand{\tabref}[1]{Tab.~\ref{#1}}