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