Add different color for Definition colorboxes

This commit is contained in:
Anton Mosich 2022-06-09 10:59:32 +02:00
parent 3ab7bec456
commit 7cfcedfd3d
Signed by: Flugschwein
GPG Key ID: 9303E1C32E3A14A0
1 changed files with 6 additions and 3 deletions

View File

@ -38,9 +38,10 @@
\newcommand\mapsfrom{\rotatebox{180}{$\mapsto$}}
\theoremstyle{break}
\theoremseparator{\smallskip}
\theoremseparator{:\smallskip}
\theoremindent=1em
\theoremheaderfont{\kern-1em\normalfont\bfseries}
\theorembodyfont{\normalfont}
\theoreminframepreskip{0em}
\theoreminframepostskip{0em}
\newtcbox{theoremBox}{colback=NavyBlue!17,colframe=NavyBlue!87,boxsep=0pt,left=7pt,right=7pt,top=7pt,bottom=7pt}
@ -48,11 +49,13 @@
\newshadedtheorem{theo}{Theorem}[section]
\newshadedtheorem{lemma}[theo]{Lemma}
\newshadedtheorem{defin}[theo]{Definition}
\newshadedtheorem{satz}[theo]{Satz}
\newshadedtheorem{lemma}[theo]{Lemma}
\newshadedtheorem{korollar}[theo]{Korollar}
\newshadedtheorem{folgerung}[theo]{Folgerung}
\newtcbox{definBox}{colback=Green!17,colframe=Green!87,boxsep=0pt,left=7pt,right=7pt,top=7pt,bottom=7pt}
\def\theoremframecommand{\definBox}
\newshadedtheorem{defin}[theo]{Definition}
\DeclareMathOperator{\sgn}{sgn}
\DeclareMathOperator{\rg}{rg}