Last active
June 12, 2018 09:09
-
-
Save Gram21/5f0758a97f6f69db163e31ef91864abe to your computer and use it in GitHub Desktop.
Snippets for VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Itemize Environment": { | |
"prefix": "item", | |
"body": [ | |
"\\begin{itemize}", | |
"\t\\item $0", | |
"\\end{itemize}" | |
], | |
"description": "Creates an Itemize Environment and add the first item" | |
}, | |
"Create Environment": { | |
"prefix": "begin", | |
"body": [ | |
"\\begin{$1}", | |
"\t$0", | |
"\\end{$1}" | |
], | |
"description": "Creates an Environment" | |
}, | |
"figure": { | |
"prefix": "figure", | |
"body": [ | |
"\\begin{figure}", | |
"\t\\centering", | |
"\t\\includegraphics[width=${3:width}\\textwidth]{${1:file}}", | |
"\t\\caption{${0:caption}}", | |
"\t\\label{fig:${2:label}}", | |
"\\end{figure}" | |
], | |
"description": "Creates a standard environment for figures" | |
}, | |
"Create new Section": { | |
"prefix": "section", | |
"body": [ | |
"\\section{$1}", | |
"\\label{sec:$1}", | |
"$0" | |
], | |
"description": "Creates a new section" | |
}, | |
"Create new Sub-Section": { | |
"prefix": "subsection", | |
"body": [ | |
"\\subsection{$1}", | |
"\\label{subsec:$1}", | |
"$0" | |
], | |
"description": "Creates a new subsection" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment