35 lines
957 B
TeX
35 lines
957 B
TeX
% 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}
|
|
}
|
|
|
|
\newcommand{\emphasize}[1]{{\color{red} #1}}
|
|
|
|
|
|
%%% Figures
|
|
\RequirePackage{caption} % Caption in minipages
|
|
\RequirePackage{subcaption} % Subfigures / captions
|
|
|
|
\RequirePackage{wrapfig} % Wrap text around figures
|
|
|
|
\newcommand\setItemnumber[1]{\setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax}}
|
|
|
|
% Math-related
|
|
\RequirePackage[export]{adjustbox}
|
|
|
|
\def\category#1{\mathcat{#1}}
|
|
\newcommand{\cat}[1]{ \mathscr{#1} }
|
|
|