add praise env
This commit is contained in:
parent
95c92b148e
commit
810e7aab5d
1 changed files with 23 additions and 1 deletions
|
@ -116,7 +116,10 @@
|
||||||
\RequirePackage{thmtools}
|
\RequirePackage{thmtools}
|
||||||
\RequirePackage{hyperref}
|
\RequirePackage{hyperref}
|
||||||
\RequirePackage[skins]{tcolorbox}
|
\RequirePackage[skins]{tcolorbox}
|
||||||
%\RequirePackage[usenames,svgnames,dvipsnames]{xcolor}
|
\RequirePackage{xcolor}
|
||||||
|
\definecolor{gold}{rgb}{218,165,32}
|
||||||
|
|
||||||
|
|
||||||
\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
|
\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
|
||||||
|
|
||||||
%%mdframed styles
|
%%mdframed styles
|
||||||
|
@ -167,6 +170,18 @@
|
||||||
bottomline=false
|
bottomline=false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
\mdfdefinestyle{mdgoldmargin}{%
|
||||||
|
skipabove =\fancythmskipabove,
|
||||||
|
linecolor=gold,
|
||||||
|
linewidth = \fancythmlinewidth,
|
||||||
|
leftmargin = 0cm,
|
||||||
|
rightmargin=0cm,
|
||||||
|
rightline=false,
|
||||||
|
topline=false,
|
||||||
|
bottomline=false
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
\mdfdefinestyle{mdyellowmargin}{%
|
\mdfdefinestyle{mdyellowmargin}{%
|
||||||
skipabove =\fancythmskipabove,
|
skipabove =\fancythmskipabove,
|
||||||
linecolor=yellow!80!orange,
|
linecolor=yellow!80!orange,
|
||||||
|
@ -301,6 +316,12 @@
|
||||||
notefont=\mdseries
|
notefont=\mdseries
|
||||||
]{thmgreenmargin}
|
]{thmgreenmargin}
|
||||||
|
|
||||||
|
\declaretheoremstyle[
|
||||||
|
mdframed={style=mdgoldmargin},
|
||||||
|
postheadspace={0.3em},
|
||||||
|
notefont=\mdseries
|
||||||
|
]{thmgoldmargin}
|
||||||
|
|
||||||
\declaretheoremstyle[
|
\declaretheoremstyle[
|
||||||
mdframed={style=mdyellowmargin},
|
mdframed={style=mdyellowmargin},
|
||||||
postheadspace={0.3em},
|
postheadspace={0.3em},
|
||||||
|
@ -454,6 +475,7 @@
|
||||||
\declaresmalltheorem[Notationsmissbrauch][Abuse of Notation]{thmvioletmargin}{abuse}
|
\declaresmalltheorem[Notationsmissbrauch][Abuse of Notation]{thmvioletmargin}{abuse}
|
||||||
\declaresmalltheorem[Beispiel]{thmgreenmargin}{example}
|
\declaresmalltheorem[Beispiel]{thmgreenmargin}{example}
|
||||||
\declaresmalltheorem[Bemerkung]{thmyellowmargin}{remark}
|
\declaresmalltheorem[Bemerkung]{thmyellowmargin}{remark}
|
||||||
|
\declaresmalltheorem[Lob]{thmgoldmargin}{praise}
|
||||||
\declaresmalltheorem[Trivial Nonsense][Trivial Nonsense]{thmyellowmargin}{trivial}
|
\declaresmalltheorem[Trivial Nonsense][Trivial Nonsense]{thmyellowmargin}{trivial}
|
||||||
\declaresmalltheorem[Frage]{thmblackmarginandfill}{question}
|
\declaresmalltheorem[Frage]{thmblackmarginandfill}{question}
|
||||||
\declaresmalltheorem[Organisatorisches][Organisational stuff]{thmblackmargin}{orga}
|
\declaresmalltheorem[Organisatorisches][Organisational stuff]{thmblackmargin}{orga}
|
||||||
|
|
Loading…
Reference in a new issue