diff --git a/.config/Code/User/snippets/latex.json b/.config/Code/User/snippets/latex.json new file mode 100644 index 0000000..aab8433 --- /dev/null +++ b/.config/Code/User/snippets/latex.json @@ -0,0 +1,15 @@ +{ + "Centered figure": { + "prefix": [ "\\figure" ], + "body": [ + "\\begin{figure}[H]", + "\t\\centering", + "\t\\includegraphics[width=$2\\linewidth]{$1}", + "\t\\caption{", + "\t\t\\parbox[t]{$2\\linewidth}{$3}", + "\t}", + "\\end{figure}", + ], + "description": "Centered figure" + } +} \ No newline at end of file