added snippets

This commit is contained in:
Phani Pavan K
2025-12-15 14:35:20 +05:30
parent e4f83f8d5a
commit b4def0815d
2 changed files with 16 additions and 0 deletions

8
snippets/latex.json Normal file
View 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",
}
}