latex-packages/removed.sty

43 lines
1.4 KiB
Plaintext
Raw Normal View History

2021-09-08 18:57:39 +02:00
% Quotations
\RequirePackage{csquotes} % quotations
%%%% Utilities
\RequirePackage{comment} %comments
2021-09-09 23:01:19 +02:00
\RequirePackage{todonotes} % todo notes
\RequirePackage{blindtext} % \blindtext filling
2021-09-08 18:57:39 +02:00
\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}
}
2021-09-12 00:04:15 +02:00
\newcommand\setItemnumber[1]{\setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax}}
\newcommand{\emphasize}[1]{{\color{red} #1}}
2021-09-08 18:57:39 +02:00
%%% Figures
\RequirePackage{caption} % Caption in minipages
\RequirePackage{subcaption} % Subfigures / captions
\RequirePackage{wrapfig} % Wrap text around figures
% Math-related
\RequirePackage[export]{adjustbox}
2021-09-12 12:36:36 +02:00
%%% 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}}