uni-ausarbeitung/.vscode/markdown.code-snippets

62 lines
1.6 KiB
Plaintext
Raw Normal View History

2020-05-19 19:43:28 +00:00
{
2021-10-12 10:15:03 +00:00
"figure": {
"scope": "latex",
"prefix": "fig",
"body": [
"\\begin{figure}[h]",
" \\centering",
" \\fbox{\\includegraphics[width=1\\textwidth]{resources/$1}}",
" \\caption{$2}",
" \\label{fig:$3}",
" \\source{$4}",
"\\end{figure}"
]
},
"code listing": {
"scope": "latex",
"prefix": "lst",
"body": [
"\\begin{code}",
" \\inputminted{${1:language}}{resources/${2:source file}}",
" \\label{lst:$3}",
" \\captionof{listing}{$4}",
" \\source{$5}",
"\\end{code}"
]
},
"table": {
"scope": "latex",
"prefix": "tab",
"body": [
"\\begin{table}[h]",
" \\centering",
" \\begin{tabularx}{\\textwidth}{$1}",
" $5",
" \\end{tabularx}",
" \\caption{$2}",
" \\label{tab:$3}",
" \\source{$4}",
"\\end{table}"
]
},
2020-05-19 19:43:28 +00:00
"online im Internet": {
"scope": "markdown",
"prefix": "oii",
"body": "online im Internet"
},
"autocite": {
"scope": "markdown",
2021-10-12 10:15:03 +00:00
"prefix": "ac",
"body": "[vgl. @${1:bibentry}, ${2:page}]"
2020-05-19 19:43:28 +00:00
},
"label": {
"scope": "markdown",
"prefix": "lbl",
"body": "{#${1:type}:${2:id}}"
},
"reference": {
"scope": "markdown",
"prefix": "ref",
"body": "[@$1]"
}
}