Add different color for Definition colorboxes
This commit is contained in:
parent
3ab7bec456
commit
7cfcedfd3d
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue