masterthesis/commands.tex

30 lines
724 B
TeX
Raw Permalink Normal View History

2022-04-09 18:09:14 +02:00
\newcommand{\eg}{e.g.}
2021-11-16 16:02:08 +01:00
2022-04-07 19:37:02 +02:00
% Keywords command
\providecommand{\keywords}[1]
{
\small
\textbf{\textit{Keywords---}} #1
}
2021-11-16 16:02:08 +01:00
% absolute value
\DeclarePairedDelimiter\abs{\lvert}{\rvert}%
2022-04-08 18:23:44 +02:00
% fancyref for listings
\newcommand*{\fancyreflstlabelprefix}{lst}
\fancyrefaddcaptions{english}{%
\providecommand*{\freflstname}{listing}%
\providecommand*{\Freflstname}{Listing}%
}
\frefformat{plain}{\fancyreflstlabelprefix}{\freflstname\fancyrefdefaultspacing#1}
\Frefformat{plain}{\fancyreflstlabelprefix}{\Freflstname\fancyrefdefaultspacing#1}
\frefformat{vario}{\fancyreflstlabelprefix}{%
\freflstname\fancyrefdefaultspacing#1#3%
}
\Frefformat{vario}{\fancyreflstlabelprefix}{%
\Freflstname\fancyrefdefaultspacing#1#3%
}