138 lines
3.4 KiB
JSON
138 lines
3.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\\task $0",
|
|
"\\\\end{tasks}"
|
|
],
|
|
"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"
|
|
},
|
|
|
|
"AMC_multquestion": {
|
|
"prefix": "multquestion",
|
|
"body": [
|
|
"\\\\element{${1:group}}{",
|
|
"\\\\begin{questionmult}{${2:name}}\\\\bareme{b=0.5,m=0.5,p=0}",
|
|
"\t$3",
|
|
"\t\\\\begin{reponseshoriz}",
|
|
"\t\t\\\\bonne{$4}",
|
|
"\t\t\\\\mauvaise{$5}",
|
|
"\t\\\\end{reponseshoriz}",
|
|
"\\\\end{questionmult}",
|
|
"}"
|
|
],
|
|
"description": "Question simple pour AMC"
|
|
},
|
|
"AMC_question": {
|
|
"prefix": "question",
|
|
"body": [
|
|
"\\\\element{${1:group}}{",
|
|
"\\\\begin{question}{${2:name}}",
|
|
"\t$3",
|
|
"\t\\\\begin{reponseshoriz}",
|
|
"\t\t\\\\bonne{$4}",
|
|
"\t\t\\\\mauvaise{$5}",
|
|
"\t\\\\end{reponseshoriz}",
|
|
"\\\\end{question}",
|
|
"}"
|
|
],
|
|
"description": "Question multiple pour AMC"
|
|
}
|
|
}
|