Add new Tcolorbox template
This commit is contained in:
parent
ffe81249b0
commit
4eb7b4881c
@ -36,6 +36,10 @@ overlay={\node[overlaystyle,draw=Peach!75!black,,fill=Peach!75!black] at (frame.
|
||||
overlay={\node[overlaystyle,draw=green!75!black,,fill=green!75!black] at (frame.north east) {\large \translate{Usage }{Nutzung }};},#1}
|
||||
|
||||
|
||||
% Task
|
||||
\newtcolorbox{task}[2][]{mainboxstyle,colback=gray!5!white,colframe=gray!75!black,colbacktitle=gray!75!black,title={\large #2},overlay={\node[overlaystyle,draw=gray!75!black,fill=gray!75!black] at (frame.north east) {\large \translate{Task}{Aufgabe}};},#1}
|
||||
|
||||
|
||||
% Proof
|
||||
\newtcolorbox{proof}[2][]{mainboxstyle,colback=magenta!5!white,colframe=magenta!75!black,colbacktitle=magenta!75!black,title={\large #2},overlay={\node[overlaystyle,draw=magenta!75!black,fill=magenta!75!black] at (frame.north east) {\large \translate{Proof}{Beweis}};},#1}
|
||||
|
||||
|
@ -177,15 +177,24 @@
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show notation"
|
||||
},
|
||||
"Example": {
|
||||
"prefix": "example",
|
||||
"body": [
|
||||
"\\begin{example}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{example}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show example"
|
||||
},
|
||||
"Example": {
|
||||
"prefix": "example",
|
||||
"body": [
|
||||
"\\begin{example}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{example}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show example"
|
||||
},
|
||||
"Task": {
|
||||
"prefix": "task",
|
||||
"body": [
|
||||
"\\begin{task}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{task}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show example"
|
||||
},
|
||||
"Usage": {
|
||||
"prefix": "usage",
|
||||
"body": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user