Further changes to tex snippets

This commit is contained in:
Yannick Reiß 2023-09-04 16:40:02 +02:00
parent 269232fbca
commit b202113132
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
1 changed files with 4 additions and 4 deletions

View File

@ -173,7 +173,7 @@ snippet () "( ... )"
endsnippet endsnippet
snippet ,t "Mathmode-text" iA snippet ,t "Mathmode-text" iA
\\text{ $1 }$0 \\text{$1}$0
endsnippet endsnippet
snippet period "Periodic number" i snippet period "Periodic number" i
@ -407,7 +407,7 @@ endsnippet
snippet def "Box with definition" snippet def "Box with definition"
\\framebox{ \\framebox{
\\colorbox{blue!25}{ \\colorbox{blue!25}{
\\begin{minipage}{1.0\\textwidth} \\begin{minipage}{0.90\\textwidth}
\\textbf{Definition: $1}\\\\ \\textbf{Definition: $1}\\\\
$2 $2
\\end{minipage}}} \\end{minipage}}}
@ -417,7 +417,7 @@ endsnippet
snippet attention "Box for attention" snippet attention "Box for attention"
\\framebox{ \\framebox{
\\colorbox{red!25}{ \\colorbox{red!25}{
\\begin{minipage}{1.0\\textwidth} \\begin{minipage}{0.90\\textwidth}
\\textbf{Achtung: $1}\\\\ \\textbf{Achtung: $1}\\\\
$2 $2
\\end{minipage}}} \\end{minipage}}}
@ -483,7 +483,7 @@ endsnippet
snippet colorbox "color box: set own caption and content" snippet colorbox "color box: set own caption and content"
\\framebox{ \\framebox{
\\colorbox{${1:green}!20}{ \\colorbox{${1:green}!20}{
\\begin{minipage}{1.0\\textwidth} \\begin{minipage}{0.90\\textwidth}
\\textbf{$2}\\\\ \\textbf{$2}\\\\
$3 $3
\\end{minipage}}} \\end{minipage}}}