-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlatex.json
130 lines (130 loc) · 3.21 KB
/
latex.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
// Place your snippets for latex here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"note": {
"prefix": "@note",
"body": ["\\begin{note}",
"\t\\tags{${1|statement,definition|}}",
"\t\\begin{plain}",
"\t% ID",
"\t\t$1:$2",
"\t\\end{plain}",
"\t% Reference",
"\t\\begin{plain}",
"\t\t${3|Lemma,Definition,Korollar,Satz,Bemerkung,Beispiel|} in ${4|Kapitel 1: Hilbertscher Nullstellensatz,Kapitel 2: Noethersche, Artimche Ringe und Moduln|}",
"\t\\end{plain}",
"\t% Text",
"\t\\begin{plain}",
"\t\t$5",
"\t\\end{plain}",
"\t% Extra",
"\t\\begin{plain}",
"\t\t$6",
"\t\\end{plain}",
"\\end{note}",
"",
""]
},
"cloze": {
"prefix": "@cl",
"body": "{{c$1::${2:${TM_SELECTED_TEXT}}::${3:...}}}"
},
"Inline math": {
"prefix": "inm",
"body": "\\( ${1:${TM_SELECTED_TEXT}} \\)"
},
"Display math": {
"prefix": "dm",
"body": "\\[ ${1:${TM_SELECTED_TEXT}} \\]"
},
"enquote": {
"prefix": "@en",
"body": "\\enquote{${1:${TM_SELECTED_TEXT}}}"
},
"textforall": {
"prefix": "@taa",
"body": "\\tforall "
},
"textexists": {
"prefix": "@tee",
"body": "\\texists "
},
"New lecture": {
"prefix": "NLE",
"body": [
"% !TEX root = ./Vorlesungsmitschrift ${1:Algebraic Geometry 2}.tex ",
"\\DTMsavetimestamp{lecturetime}{$CURRENT_YEAR-$CURRENT_MONTH-${CURRENT_DATE}T$CURRENT_HOUR:15:00Z}",
"\\lecture{\\DTMUse{lecturetime}}{$5}"
]
},
"No brace expansion": {
"prefix": "{",
"body": "",
"description": "No brace expansion"
},
"Mathtext": {
"prefix": "MTE",
"body": "\\text{${1:${TM_SELECTED_TEXT}}}",
"description": "Insert mathtext"
},
"Set": {
"prefix": "BSE",
"body": "\\Set$1{${2:${TM_SELECTED_TEXT}}}",
"description": "Insert a set, we don't use pure braces here!"
},
"Begin Something": {
"prefix": "beg",
"body": [
"\\begin{${1:...}}",
"\t${2:${TM_SELECTED_TEXT}}",
"\\end{${1:...}}",
],
"description": "Insert an environment to be specified"
},
"Begin Proof": {
"prefix": "bpr",
"body": [
"\\begin{proof}",
"\t${1:${TM_SELECTED_TEXT}}",
"\\end{proof}"
],
"description": "Insert a proof environment"
},
"Begin Subroof": {
"prefix": "bspr",
"body": [
"\\begin{subproof}",
"\t${1:${TM_SELECTED_TEXT}}",
"\\end{subproof}"
],
"description": "Insert a subproof environment"
},
"Begin Figure": {
"prefix": "bfi",
"body": [
"\\begin{figure}[H]",
"\t\\centering",
"\t\\includegraphics[width=${4:0.5}\\linewidth]{$1}",
"\t\\caption${2:*}{$3}",
"\t\\label{fig:$1}",
"\\end{figure}"
],
"description": "Insert a figure with caption and label"
},
"Inline Graphic": {
"prefix": "@inlgr",
"body": "\\includegraphics[height=\\baselineskip]{$1}",
"description": "Insert a graphic at lineheight"
}
}