Further changes to tex snippets

This commit is contained in:
2023-09-04 16:40:02 +02:00
parent 269232fbca
commit b202113132

View File

@@ -407,7 +407,7 @@ endsnippet
snippet def "Box with definition"
\\framebox{
\\colorbox{blue!25}{
\\begin{minipage}{1.0\\textwidth}
\\begin{minipage}{0.90\\textwidth}
\\textbf{Definition: $1}\\\\
$2
\\end{minipage}}}
@@ -417,7 +417,7 @@ endsnippet
snippet attention "Box for attention"
\\framebox{
\\colorbox{red!25}{
\\begin{minipage}{1.0\\textwidth}
\\begin{minipage}{0.90\\textwidth}
\\textbf{Achtung: $1}\\\\
$2
\\end{minipage}}}
@@ -483,7 +483,7 @@ endsnippet
snippet colorbox "color box: set own caption and content"
\\framebox{
\\colorbox{${1:green}!20}{
\\begin{minipage}{1.0\\textwidth}
\\begin{minipage}{0.90\\textwidth}
\\textbf{$2}\\\\
$3
\\end{minipage}}}