From 18c041b1fd8af1c5fb8548984c2118aeba0e96bb Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Wed, 10 Nov 2021 22:54:27 +0100 Subject: Doc corrections from feedback --- doc/thesis/tex/docmacros.sty | 7 +++++++ doc/thesis/tex/docstyle.sty | 5 +++++ 2 files changed, 12 insertions(+) (limited to 'doc/thesis/tex') 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: -- cgit v1.2.1