From 02d73560db466aa6155bebbd8d0f8405211ccfab Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 16 Apr 2025 12:15:49 +0200 Subject: [PATCH] snippets: Reorga and add latex snippets --- snippets/latex.json | 22 ---------------------- snippets/latex/beamer.json | 25 +++++++++++++++++++++++++ snippets/latex/exam.json | 12 ++++++++++++ snippets/latex/tikz.json | 7 +++++++ 4 files changed, 44 insertions(+), 22 deletions(-) delete mode 100644 snippets/latex.json create mode 100644 snippets/latex/beamer.json create mode 100644 snippets/latex/exam.json create mode 100644 snippets/latex/tikz.json diff --git a/snippets/latex.json b/snippets/latex.json deleted file mode 100644 index 922fb93..0000000 --- a/snippets/latex.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "only": { - "prefix": "only", - "body": "\\only<${1}>{\n\t${0:${TM_SELECTED_TEXT}}\n}", - "description": "\\only wrap" - }, - "exercise": { - "prefix": "EX", - "body": "\\begin{exercise}\n\t${0:${TM_SELECTED_TEXT}}\n\\end{exercise}", - "description": "exercise environment" - }, - "choices": { - "prefix": "choices", - "body": "\\begin{choices}\n\t${0:${TM_SELECTED_TEXT}}\n\\end{choices}", - "description": "exercise environment" - }, - "inputtikz": { - "prefix": "ITIKZ", - "body": "\\begin{figure}[${1:htbp}]\n\t\\centering\n\t\\inputtikz{${2}}\n\t\\caption{${3:}}\\label{${4: