diff options
author | Nao Pross <np@0hm.ch> | 2021-11-10 22:54:27 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-11-10 22:54:27 +0100 |
commit | 18c041b1fd8af1c5fb8548984c2118aeba0e96bb (patch) | |
tree | 5da2e5734ee5077cd52e2cf64783c94f71a171c1 /doc/thesis/tex | |
parent | Merge branch 'master' of github.com:NaoPross/Fading (diff) | |
download | Fading-18c041b1fd8af1c5fb8548984c2118aeba0e96bb.tar.gz Fading-18c041b1fd8af1c5fb8548984c2118aeba0e96bb.zip |
Doc corrections from feedback
Diffstat (limited to 'doc/thesis/tex')
-rw-r--r-- | doc/thesis/tex/docmacros.sty | 7 | ||||
-rw-r--r-- | doc/thesis/tex/docstyle.sty | 5 |
2 files changed, 12 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}} diff --git a/doc/thesis/tex/docstyle.sty b/doc/thesis/tex/docstyle.sty index b33e206..2adec0f 100644 --- a/doc/thesis/tex/docstyle.sty +++ b/doc/thesis/tex/docstyle.sty @@ -84,4 +84,9 @@ urlcolor = black, } +%% Set up subfigures to look like in IEEE classes +\RequirePackage{subcaption} +\usepackage[labelformat=simple]{subcaption} +\renewcommand\thesubfigure{(\alph{subfigure})} + % vim: set ts=2 sw=2 noet: |