41 lines
1.1 KiB
TeX
41 lines
1.1 KiB
TeX
%%%% Bibliography
|
|
\RequirePackage[backend=biber,style=alphabetic]{biblatex}
|
|
|
|
% Quotations
|
|
\RequirePackage{csquotes} % quotations
|
|
|
|
|
|
%%%% Utilities
|
|
\RequirePackage{comment} %comments
|
|
\RequirePackage{todonotes} % todo notes
|
|
\RequirePackage{blindtext} % \blindtext filling
|
|
|
|
\RequirePackage[export]{adjustbox} %
|
|
\RequirePackage{pdfpages} % Include external PDF files easily
|
|
|
|
% only load enumitem if beamer class has not been loaded
|
|
% This is based on the internal command beamer@tempdim that beamer.sty defines
|
|
\RequirePackage{etoolbox}
|
|
\ifdef{\beamer@tempdim}{}{
|
|
\RequirePackage[shortlabels]{enumitem}
|
|
}
|
|
\RequirePackage[mathscr]{eucal} % \mathscr alphabet
|
|
\newcommand{\cat}[1]{ \mathscr{#1} }
|
|
|
|
\newcommand{\emphasize}[1]{{\color{red} #1}}
|
|
|
|
|
|
%%% Figures
|
|
\RequirePackage{caption} % Caption in minipages
|
|
\RequirePackage{subcaption} % Subfigures / captions
|
|
|
|
\RequirePackage{wrapfig} % Wrap text around figures
|
|
|
|
|
|
% Math-related
|
|
\RequirePackage[export]{adjustbox}
|
|
|
|
|
|
\def\category#1{\mathcat{#1}}
|
|
|
|
\newcommand\setItemnumber[1]{\setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax}}
|