latex-packages/removed.sty
2021-09-12 12:36:36 +02:00

42 lines
1.4 KiB
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\setItemnumber[1]{\setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax}}
\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}
%%% A bad geoTopo hack
%%Aufgaben environment to include exercises at the end of the documnt
%%%This is really a UGLY hack, since autoref actlly does not work properly, so we overwrite the autoref-name of itmes (!)
\declaretheorem[style = thmgreenmargin, numberwithin = blatt, name =Aufgabe]{aufgabe}
\newcommand\blatt{\refstepcounter{blatt}\subsection*{\theblatt. Übungsblatt}\addcontentsline{toc}{subsection}{\theblatt. Übungsblatt}}
\AtEndEnvironment{aufgabe}{\label{aufgabe-\theaufgabe}}
\AtBeginDocument{\def\itemautorefname{Aufgabe}}