107 lines
2.4 KiB
JSON
107 lines
2.4 KiB
JSON
{
|
|
"\\begin{}…\\end{}": {
|
|
"prefix": "begin",
|
|
"body": [
|
|
"\\\\begin{${1:env}}",
|
|
"\t$0",
|
|
"\\\\end{${1:env}}"
|
|
],
|
|
"description": "Begin - End"
|
|
},
|
|
"Display Math — \\[ … \\]": {
|
|
"prefix": "$$",
|
|
"body": [
|
|
"\\[",
|
|
"\t$TM_SELECTED_TEXT$1",
|
|
"\\]"
|
|
],
|
|
"description": "Display Math"
|
|
},
|
|
"Itemize": {
|
|
"prefix": "item",
|
|
"body": [
|
|
"\\\\begin{itemize}",
|
|
"\t\\item $0",
|
|
"\\\\end{itemize}"
|
|
],
|
|
"description": "Itemize"
|
|
},
|
|
"Enumerate": {
|
|
"prefix": "enum",
|
|
"body": [
|
|
"\\\\begin{enumerate}",
|
|
"\t\\item $0",
|
|
"\\\\end{enumerate}"
|
|
],
|
|
"description": "enumerate"
|
|
},
|
|
"Task": {
|
|
"prefix": "task",
|
|
"body": [
|
|
"\\\\begin{tasks}(${1:2})",
|
|
"\t\\item $0",
|
|
"\\\\end{task}"
|
|
],
|
|
"description": "enumerate"
|
|
},
|
|
"center": {
|
|
"prefix": "center",
|
|
"body": [
|
|
"\\\\begin{center}",
|
|
"\t$0",
|
|
"\\\\end{center}"
|
|
],
|
|
"description": "center"
|
|
},
|
|
"tabular": {
|
|
"prefix": "tabular",
|
|
"body": [
|
|
"\\\\begin{tabular}{$1}",
|
|
"\t\\\\hline",
|
|
"\t$0",
|
|
"\t\\\\hline",
|
|
"\\\\end{tabular}"
|
|
],
|
|
"description": "tabular"
|
|
},
|
|
|
|
"minipage": {
|
|
"prefix": "minipage",
|
|
"body": [
|
|
"\\\\begin{minipage}{${1:0.5}${2:\\\\linewidth}}",
|
|
"\t$0",
|
|
"\\\\end{minipage}"
|
|
],
|
|
"description": "minipage"
|
|
},
|
|
|
|
"multicols": {
|
|
"prefix": "multicols",
|
|
"body": [
|
|
"\\\\begin{multicols}{${1:2}}",
|
|
"\t$0",
|
|
"\\\\end{multicols}"
|
|
],
|
|
"description": "multicols"
|
|
},
|
|
|
|
"image": {
|
|
"prefix": "image",
|
|
"body": [
|
|
"\\\\includegraphics[scale=${1:1}]{${2:./fig/}}",
|
|
"$0"
|
|
],
|
|
"description": "exercise xsim"
|
|
},
|
|
|
|
"exercise": {
|
|
"prefix": "exercise",
|
|
"body": [
|
|
"\\\\begin{exercise}[subtitle={${1:subtitle}}, step={${2:1}}, origin={${3:Création}}, topics={${4:chapitre}}, tags={${5:tags}}, mode={${5:groupe}}]",
|
|
"\t$0",
|
|
"\\\\end{exercise}"
|
|
],
|
|
"description": "exercise xsim"
|
|
}
|
|
}
|