update packages

This commit is contained in:
Maximilian Keßler 2021-08-26 09:18:18 +02:00
parent b2296d33f0
commit 2b663bb7d1
3 changed files with 18 additions and 8 deletions

View File

@ -106,3 +106,7 @@
\draw[gray, line width=2pt] (frame.north west) -- ++ (0pt, -0.5cm); \draw[gray, line width=2pt] (frame.north west) -- ++ (0pt, -0.5cm);
\draw[gray, line width=2pt] (frame.south east) -- ++(0pt, 0.5cm); \draw[gray, line width=2pt] (frame.south east) -- ++(0pt, 0.5cm);
}} }}
\newtheorem*{reminder}{\ifenglish Reminder\else Erinnerung\fi}

View File

@ -11,6 +11,10 @@
\DeclareOption{nobeamer}{\beamerfalse} \DeclareOption{nobeamer}{\beamerfalse}
\DeclareOption{beamer}{\beamertrue} \DeclareOption{beamer}{\beamertrue}
\newif\ifsubfig\subfigtrue
\DeclareOption{nosubfig}{\subfigfalse}
%Options for onehalf-spacing of lines %Options for onehalf-spacing of lines
\newif\ifonehalfspacing\onehalfspacingfalse %default is normalspace \newif\ifonehalfspacing\onehalfspacingfalse %default is normalspace
\DeclareOption{onehalfspacing}{\onehalfspacingtrue} \DeclareOption{onehalfspacing}{\onehalfspacingtrue}
@ -84,7 +88,8 @@
\fi \fi
\RequirePackage{comment} \RequirePackage{comment}
\RequirePackage{soul} \RequirePackage{soul}
\RequirePackage{subfig} \ifsubfig
\RequirePackage{subfig}\else\fi
\RequirePackage{mathrsfs} \RequirePackage{mathrsfs}
\RequirePackage{bbm} \RequirePackage{bbm}
\ifbeamer \ifbeamer
@ -107,26 +112,25 @@
%%% AMSTHM %%% AMSTHM
\iffancythm \iffancythm
\RequirePackage{fancythm} \RequirePackage{mkessler-fancythm}
\else \else
\theoremstyle{plain} \theoremstyle{plain}
\ifbeamer\else \ifbeamer\else
\newtheorem{theorem}{\ifenglish Theorem\else Satz\fi} \newtheorem{theorem}{\ifenglish Theorem\else Satz\fi}
\newtheorem{corollary}{\ifenglish Corollary\else Korollar\fi} \newtheorem{corollary}{\ifenglish Corollary\else Korollar\fi}
\newtheorem*{lemma}{Lemma} \newtheorem*{lemma}{Lemma}
\fi
\newtheorem{proposition}{Proposition} \newtheorem{proposition}{Proposition}
\fi
\theoremstyle{definition} \theoremstyle{definition}
\ifbeamer\else \ifbeamer\else
\newtheorem{definition}{Definition} \newtheorem{definition}{Definition}
\newtheorem{example}{\ifenglish Example\else Beispiel\fi} \newtheorem{example}{\ifenglish Example\else Beispiel\fi}
\fi
\newtheorem*{remark}{\ifenglish Remark\else Bemerkung\fi} \newtheorem*{remark}{\ifenglish Remark\else Bemerkung\fi}
\newtheorem*{notation}{Notation} \newtheorem*{notation}{Notation}
\fi
\fi %end of theorem definitions
%%Theorems needed in any case (fancy or not fancy theorems) %%Theorems needed in any case (fancy or not fancy theorems)
@ -154,9 +158,10 @@
\newtheorem*{recall}{\ifenglish Recall\else Erinnerung\fi} \newtheorem*{recall}{\ifenglish Recall\else Erinnerung\fi}
\newtheorem*{idea}{\ifenglish Idea\else Idee\fi} \newtheorem*{idea}{\ifenglish Idea\else Idee\fi}
\newtheorem{exercise}{\ifenglish Exercise\else Aufgabe\fi} \newtheorem{exercise}{\ifenglish Exercise\else Aufgabe\fi}
\ifbeamer\else\newenvironment{solution}[1][]{\begin{proof}[\ifenglish{}Solution\else{}Lösung\fi{}#1]}{\end{proof}}\fi \ifbeamer\else\newenvironment{solution}[1][]{\begin{proof}[\ifenglish{}Solution\else{}Lösung\fi{}#1]}{\end{proof}}\fi
\fi %end of theorem definitions
% Für Formeln % Für Formeln
@ -252,7 +257,7 @@
\RequirePackage{IEEEtrantools} \RequirePackage{IEEEtrantools}
\usepackage[ngerman,ruled,vlined]{algorithm2e} \RequirePackage[ngerman,ruled,vlined]{algorithm2e}
\iflukas \iflukas
\newcommand{\RrClA}{\begin{IEEEeqnarray*}{RrCl}} \newcommand{\RrClA}{\begin{IEEEeqnarray*}{RrCl}}

View File

@ -19,6 +19,7 @@
\DeclareMathOperator{\id}{id} \DeclareMathOperator{\id}{id}
\DeclareMathOperator{\im}{im} \DeclareMathOperator{\im}{im}
\DeclareMathOperator{\Bild}{Bild} \DeclareMathOperator{\Bild}{Bild}
\DeclareMathOperator{\Span}{Span}
\let\ggT\relax\DeclareMathOperator{\ggT}{\ifenglish gcd \else ggT\fi} \let\ggT\relax\DeclareMathOperator{\ggT}{\ifenglish gcd \else ggT\fi}
\let\kgV\relax\DeclareMathOperator{\kgV}{\ifenglish lcm \elese kgV\fi} \let\kgV\relax\DeclareMathOperator{\kgV}{\ifenglish lcm \elese kgV\fi}
\DeclareMathOperator{\rhs}{RHS} %Right hand side \DeclareMathOperator{\rhs}{RHS} %Right hand side