some stuff

This commit is contained in:
Maximilian Keßler 2021-05-12 20:15:34 +02:00
parent c96b9a969e
commit dc1961950e
2 changed files with 16 additions and 3 deletions

View File

@ -65,8 +65,9 @@
\newunicodechar{χ}{\ensuremath\chi} \newunicodechar{χ}{\ensuremath\chi}
\newunicodechar{ψ}{\ensuremath\psi} \newunicodechar{ψ}{\ensuremath\psi}
\newunicodechar{ω}{\ensuremath\omega} \newunicodechar{ω}{\ensuremath\omega}
\ifbeamer\else
\RequirePackage[backend=biber,style=alphabetic]{biblatex} \RequirePackage[backend=biber,style=alphabetic]{biblatex}
\fi
\else \else
\RequirePackage[mathletters]{ucs} \RequirePackage[mathletters]{ucs}
\fi \fi
@ -78,7 +79,9 @@
\RequirePackage{mathtools} \RequirePackage{mathtools}
\RequirePackage{amsthm} \RequirePackage{amsthm}
\RequirePackage{amssymb} \RequirePackage{amssymb}
\ifbeamer\else
\RequirePackage{bm} % bold math symbols \RequirePackage{bm} % bold math symbols
\fi
\RequirePackage{comment} \RequirePackage{comment}
\RequirePackage{soul} \RequirePackage{soul}
\RequirePackage{subfig} \RequirePackage{subfig}
@ -86,7 +89,9 @@
\RequirePackage{bbm} \RequirePackage{bbm}
\ifbeamer \ifbeamer
\else \RequirePackage[shortlabels]{enumitem}\fi \else \RequirePackage[shortlabels]{enumitem}\fi
\ifbeamer\else
\RequirePackage[colorlinks=true]{hyperref} % Hyperlinks \RequirePackage[colorlinks=true]{hyperref} % Hyperlinks
\fi
% TIKZ % TIKZ
\RequirePackage{tikz} \RequirePackage{tikz}
@ -132,12 +137,14 @@
\newtheorem{assumption}{\ifenglish Assumption\else Annahme\fi} \newtheorem{assumption}{\ifenglish Assumption\else Annahme\fi}
\theoremstyle{definition} \theoremstyle{definition}
\ifbeamer\else
\newtheorem*{fact}{\ifenglish Fact\else Fakt\fi} \newtheorem*{fact}{\ifenglish Fact\else Fakt\fi}
\newtheorem*{note}{\ifenglish Note\else Anmerkung\fi} \newtheorem*{note}{\ifenglish Note\else Anmerkung\fi}
\newtheorem*{problem}{Problem}
\fi
\newtheorem*{warning}{\color{red}\ifenglish Warning \else Warnung\fi} \newtheorem*{warning}{\color{red}\ifenglish Warning \else Warnung\fi}
\newtheorem*{goal}{\ifenglish Goal \else Ziel\fi} \newtheorem*{goal}{\ifenglish Goal \else Ziel\fi}
\newtheorem*{question}{\ifenglish Question \else Frage \fi} \newtheorem*{question}{\ifenglish Question \else Frage \fi}
\newtheorem*{problem}{Problem}
\newtheorem*{info}{Information} \newtheorem*{info}{Information}
\newtheorem*{moral}{Moral} \newtheorem*{moral}{Moral}
\newtheorem*{answer}{\ifenglish Answer\else Antwort\fi} \newtheorem*{answer}{\ifenglish Answer\else Antwort\fi}
@ -159,7 +166,9 @@
\RequirePackage{blindtext} \RequirePackage{blindtext}
\RequirePackage{tabto} \RequirePackage{tabto}
\ifbeamer\else
\RequirePackage{lastpage} %\pageref{LastPage} for reference on the last page \RequirePackage{lastpage} %\pageref{LastPage} for reference on the last page
\fi
% Für Tabulatoren % Für Tabulatoren

View File

@ -12,7 +12,6 @@
%Packages %Packages
\RequirePackage{amsmath} \RequirePackage{amsmath}
\newcommand*{\One}{\ensuremath{\mathbbm{1}}}
%%%%%%%%%%% Operators %%%%%%%%%%% Operators
%Basic commands %Basic commands
@ -88,4 +87,9 @@
% Characteristic function % Characteristic function
\newcommand*{\cfun}{\ensuremath{\mathbbm{1}}} \newcommand*{\cfun}{\ensuremath{\mathbbm{1}}}
\newcommand*{\One}{\ensuremath{\mathbbm{1}}}
\DeclareMathOperator\lhs{LHS}