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

128 lines
2.1 KiB
Plaintext
Raw Normal View History

{
"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}"
]
},
"online im Internet": {
"scope": "latex",
"prefix": "oii",
"body": "online im Internet"
},
"bold": {
"scope": "latex",
"prefix": "bf",
"body": "\\textbf{$1}$0"
},
"italic": {
"scope": "latex",
"prefix": "it",
"body": "\\textit{$1}$0"
},
"enquote": {
"scope": "latex",
"prefix": "enq",
"body": "\\enquote{$1}$0"
},
"item": {
"scope": "latex",
"prefix": "item",
"body": [
"\\begin{compactitem}",
" \\item $1",
"\\end{compactitem}"
]
},
"enum": {
"scope": "latex",
"prefix": "enum",
"body": [
"\\begin{compactenum}",
" \\item $1",
"\\end{compactenum}"
]
},
"autocite": {
"scope": "latex",
"prefix": "ac",
"body": "\\autocite[vgl.][${2:page}]{${1:bibentry}}"
},
2020-05-10 07:25:53 +00:00
"chapter": {
"scope": "latex",
"prefix": "chap",
"body": [
"\\chapter{$1}",
"\\label{chap:$2}"
]
},
2020-05-10 07:25:53 +00:00
"citeauthor": {
"scope": "latex",
"prefix": "ca",
"body": "\\textit{\\citeauthor{$1}}"
},
"section": {
"scope": "latex",
"prefix": "sec",
"body": [
"\\section{$1}",
"\\label{sec:$2}",
],
},
"subsection": {
"scope": "latex",
"prefix": "subsec",
"body": [
"\\subsection{$1}",
"\\label{sec:$2}",
],
},
}