-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmacros.sty
31 lines (29 loc) · 990 Bytes
/
macros.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
%% ----------------------------------------------------------------------------
% CVG SA/MA thesis template
%
% Created 03/08/2024 by Tobias Fischer
%% ----------------------------------------------------------------------------
\ProvidesPackage{mydefs}
\usepackage{graphicx,calc} % for pix
\usepackage{subfigure}
\usepackage{color} % for colored text
\usepackage{ifthen}
\usepackage{paralist}
\usepackage{times}
\usepackage{longtable}
\usepackage{colortbl}
\usepackage{nomencl}
\renewcommand{\vec}[1]{\mathbf{#1}}
\newcommand{\mat}[1]{\mathtt{#1}}
\newcommand{\pinv}{^{+}}
\newcommand{\inv}{^{-1}}
\newcommand{\trans}{^{\!\top}}
\newcommand{\invtrans}{^{-\!\top}}
\newcommand{\myref}[1]{(\ref{#1})}
\newcommand{\myeqref}[1]{Eq.~\myref{#1}}
\newcommand{\myfigref}[1]{Fig.~\ref{#1}}
\newcommand{\mychapterref}[1]{Chapter~\ref{#1}}
\newcommand{\mysecref}[1]{Section~\ref{#1}}
\newcommand{\myalgoref}[1]{Algorithm~\ref{#1}}
\newcommand{\ie}{\textit{i.e.}}
\newcommand{\eg}{\textit{e.g.}}