Merge branch '28-add-additional-snippets-for-chapters-sections-and-subsections' into 'master'

Resolve "Add additional snippets for chapters, sections and subsections"

Closes #28

See merge request fastexitlane/latex-boilerplate!13
This commit is contained in:
Dominik Becker 2020-01-03 09:26:49 +00:00
commit 7f53d0f826

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}",
],
},
}