added snippets
This commit is contained in:
8
snippets/latex.json
Normal file
8
snippets/latex.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"Insert Figure": {
|
||||
"scope": "latex",
|
||||
"prefix": "\\fig",
|
||||
"body":"\\begin{figure}\n\\centering\n\includegraphics[width=1\\linewidth]{${1:fig_path}}\n\\caption{${2:caption}}\n\label{fig:${3:label}}\n\\end{figure}",
|
||||
"description": "Inserts a figure",
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user