diff --git a/nvim/.config/nvim/vsnips/tex.json b/nvim/.config/nvim/vsnips/tex.json index 8c54491..1ffc385 100644 --- a/nvim/.config/nvim/vsnips/tex.json +++ b/nvim/.config/nvim/vsnips/tex.json @@ -102,5 +102,36 @@ "\\\\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" } }