#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",
"prefix": "fig",
"body": [
@ -13,7 +13,7 @@
]
},
"Code Listing": {
"code listing": {
"scope": "latex",
"prefix": "lst",
"body": [
@ -26,7 +26,7 @@
]
},
"Table": {
"table": {
"scope": "latex",
"prefix": "tab",
"body": [
@ -91,4 +91,31 @@
"prefix": "ac",
"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}",
],
},
}