Add LaTeX figure snippet

This commit is contained in:
2024-09-23 11:48:01 +02:00
parent 1c5bb8b86b
commit 4fca59102b

View File

@ -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"
}
}