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{hyperref}
|
||||
\RequirePackage[skins]{tcolorbox}
|
||||
%\RequirePackage[usenames,svgnames,dvipsnames]{xcolor}
|
||||
\RequirePackage{xcolor}
|
||||
\definecolor{gold}{rgb}{218,165,32}
|
||||
|
||||
|
||||
\mdfsetup{skipabove=\topskip,skipbelow=\topskip}
|
||||
|
||||
%%mdframed styles
|
||||
|
@ -167,6 +170,18 @@
|
|||
bottomline=false
|
||||
}
|
||||
|
||||
\mdfdefinestyle{mdgoldmargin}{%
|
||||
skipabove =\fancythmskipabove,
|
||||
linecolor=gold,
|
||||
linewidth = \fancythmlinewidth,
|
||||
leftmargin = 0cm,
|
||||
rightmargin=0cm,
|
||||
rightline=false,
|
||||
topline=false,
|
||||
bottomline=false
|
||||
}
|
||||
|
||||
|
||||
\mdfdefinestyle{mdyellowmargin}{%
|
||||
skipabove =\fancythmskipabove,
|
||||
linecolor=yellow!80!orange,
|
||||
|
@ -301,6 +316,12 @@
|
|||
notefont=\mdseries
|
||||
]{thmgreenmargin}
|
||||
|
||||
\declaretheoremstyle[
|
||||
mdframed={style=mdgoldmargin},
|
||||
postheadspace={0.3em},
|
||||
notefont=\mdseries
|
||||
]{thmgoldmargin}
|
||||
|
||||
\declaretheoremstyle[
|
||||
mdframed={style=mdyellowmargin},
|
||||
postheadspace={0.3em},
|
||||
|
@ -454,6 +475,7 @@
|
|||
\declaresmalltheorem[Notationsmissbrauch][Abuse of Notation]{thmvioletmargin}{abuse}
|
||||
\declaresmalltheorem[Beispiel]{thmgreenmargin}{example}
|
||||
\declaresmalltheorem[Bemerkung]{thmyellowmargin}{remark}
|
||||
\declaresmalltheorem[Lob]{thmgoldmargin}{praise}
|
||||
\declaresmalltheorem[Trivial Nonsense][Trivial Nonsense]{thmyellowmargin}{trivial}
|
||||
\declaresmalltheorem[Frage]{thmblackmarginandfill}{question}
|
||||
\declaresmalltheorem[Organisatorisches][Organisational stuff]{thmblackmargin}{orga}
|
||||
|
|
Loading…
Reference in a new issue