#28 added VS Code snippet for chapters, sections and subsections

This commit is contained in:
Dominik Becker 2020-01-03 08:09:00 +00:00
parent 088c881edf
commit 1448beef39

View File

@ -1,5 +1,5 @@
{ {
"Figure": { "figure": {
"scope": "latex", "scope": "latex",
"prefix": "fig", "prefix": "fig",
"body": [ "body": [
@ -13,7 +13,7 @@
] ]
}, },
"Code Listing": { "code listing": {
"scope": "latex", "scope": "latex",
"prefix": "lst", "prefix": "lst",
"body": [ "body": [
@ -26,7 +26,7 @@
] ]
}, },
"Table": { "table": {
"scope": "latex", "scope": "latex",
"prefix": "tab", "prefix": "tab",
"body": [ "body": [
@ -91,4 +91,31 @@
"prefix": "ac", "prefix": "ac",
"body": "\\autocite[vgl.][${2:page}]{${1:bibentry}}" "body": "\\autocite[vgl.][${2:page}]{${1:bibentry}}"
}, },
}
"chapter": {
"scope": "latex",
"prefix": "chap",
"body": [
"\\chapter{$1}",
"\\label{chap:$2}"
]
},
"section": {
"scope": "latex",
"prefix": "sec",
"body": [
"\\section{$1}",
"\\label{sec:$2}",
],
},
"subsection": {
"scope": "latex",
"prefix": "subsec",
"body": [
"\\subsection{$1}",
"\\label{sec:$2}",
],
},
}