Feat: add image snippet

This commit is contained in:
Bertrand Benjamin 2022-09-04 15:55:06 +02:00
parent ffb20ec8a4
commit f796d0775e

View File

@ -64,6 +64,7 @@
], ],
"description": "tabular" "description": "tabular"
}, },
"minipage": { "minipage": {
"prefix": "minipage", "prefix": "minipage",
"body": [ "body": [
@ -73,6 +74,7 @@
], ],
"description": "minipage" "description": "minipage"
}, },
"multicols": { "multicols": {
"prefix": "multicols", "prefix": "multicols",
"body": [ "body": [
@ -82,6 +84,16 @@
], ],
"description": "multicols" "description": "multicols"
}, },
"image": {
"prefix": "image",
"body": [
"\\\\includegraphics[scale=${1:1}]{${2:./fig/}}",
"$0"
],
"description": "exercise xsim"
},
"exercise": { "exercise": {
"prefix": "exercise", "prefix": "exercise",
"body": [ "body": [
@ -90,6 +102,5 @@
"\\\\end{exercise}" "\\\\end{exercise}"
], ],
"description": "exercise xsim" "description": "exercise xsim"
} }
} }