diff --git a/fancythm.sty b/fancythm.sty index 0a17f3f..0d13f74 100644 --- a/fancythm.sty +++ b/fancythm.sty @@ -106,3 +106,7 @@ \draw[gray, line width=2pt] (frame.north west) -- ++ (0pt, -0.5cm); \draw[gray, line width=2pt] (frame.south east) -- ++(0pt, 0.5cm); }} + +\newtheorem*{reminder}{\ifenglish Reminder\else Erinnerung\fi} + + diff --git a/mymath.sty b/mymath.sty index caaff38..e26a41d 100644 --- a/mymath.sty +++ b/mymath.sty @@ -11,6 +11,10 @@ \DeclareOption{nobeamer}{\beamerfalse} \DeclareOption{beamer}{\beamertrue} +\newif\ifsubfig\subfigtrue +\DeclareOption{nosubfig}{\subfigfalse} + + %Options for onehalf-spacing of lines \newif\ifonehalfspacing\onehalfspacingfalse %default is normalspace \DeclareOption{onehalfspacing}{\onehalfspacingtrue} @@ -84,7 +88,8 @@ \fi \RequirePackage{comment} \RequirePackage{soul} -\RequirePackage{subfig} +\ifsubfig +\RequirePackage{subfig}\else\fi \RequirePackage{mathrsfs} \RequirePackage{bbm} \ifbeamer @@ -107,26 +112,25 @@ %%% AMSTHM \iffancythm - \RequirePackage{fancythm} + \RequirePackage{mkessler-fancythm} \else \theoremstyle{plain} \ifbeamer\else \newtheorem{theorem}{\ifenglish Theorem\else Satz\fi} \newtheorem{corollary}{\ifenglish Corollary\else Korollar\fi} \newtheorem*{lemma}{Lemma} -\fi \newtheorem{proposition}{Proposition} +\fi \theoremstyle{definition} \ifbeamer\else \newtheorem{definition}{Definition} \newtheorem{example}{\ifenglish Example\else Beispiel\fi} -\fi \newtheorem*{remark}{\ifenglish Remark\else Bemerkung\fi} \newtheorem*{notation}{Notation} +\fi -\fi %end of theorem definitions %%Theorems needed in any case (fancy or not fancy theorems) @@ -154,9 +158,10 @@ \newtheorem*{recall}{\ifenglish Recall\else Erinnerung\fi} \newtheorem*{idea}{\ifenglish Idea\else Idee\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 +\fi %end of theorem definitions + + % Für Formeln @@ -252,7 +257,7 @@ \RequirePackage{IEEEtrantools} -\usepackage[ngerman,ruled,vlined]{algorithm2e} +\RequirePackage[ngerman,ruled,vlined]{algorithm2e} \iflukas \newcommand{\RrClA}{\begin{IEEEeqnarray*}{RrCl}} diff --git a/operators.sty b/operators.sty index ab061e6..1337a23 100644 --- a/operators.sty +++ b/operators.sty @@ -19,6 +19,7 @@ \DeclareMathOperator{\id}{id} \DeclareMathOperator{\im}{im} \DeclareMathOperator{\Bild}{Bild} +\DeclareMathOperator{\Span}{Span} \let\ggT\relax\DeclareMathOperator{\ggT}{\ifenglish gcd \else ggT\fi} \let\kgV\relax\DeclareMathOperator{\kgV}{\ifenglish lcm \elese kgV\fi} \DeclareMathOperator{\rhs}{RHS} %Right hand side