Feat: add image snippet
This commit is contained in:
parent
ffb20ec8a4
commit
f796d0775e
@ -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"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user