2022-09-09 00:16:11 +02:00
|
|
|
|
{
|
|
|
|
|
"Begin": {
|
|
|
|
|
"prefix": "begin",
|
|
|
|
|
"description": "Begin anything",
|
|
|
|
|
"body": ["\\begin{$1}", "\t$0", "\\end{$1}"]
|
|
|
|
|
},
|
|
|
|
|
"Set": {
|
|
|
|
|
"prefix": "set",
|
|
|
|
|
"description": "Set I guess",
|
|
|
|
|
"body": "\\{$1\\\\}$0"
|
|
|
|
|
},
|
|
|
|
|
"Absolute value": {
|
|
|
|
|
"prefix": "abs",
|
|
|
|
|
"description": "Absolute values",
|
|
|
|
|
"body": "|$1|$0"
|
|
|
|
|
},
|
|
|
|
|
"Lemma": {
|
|
|
|
|
"prefix": "lemma",
|
|
|
|
|
"description": "Create a lemma",
|
|
|
|
|
"body": ["\\begin{lemma}[$1] \\label{lem:$1}", "\t$0", "\\end{lemma}"]
|
|
|
|
|
},
|
2022-09-25 22:03:11 +02:00
|
|
|
|
"Example*": {
|
|
|
|
|
"prefix": "example*",
|
|
|
|
|
"description": "Create an example*",
|
|
|
|
|
"body": ["\\begin{example*}", "\t$0", "\\end{example*}"]
|
|
|
|
|
},
|
|
|
|
|
"Example": {
|
|
|
|
|
"prefix": "example",
|
|
|
|
|
"description": "Create an example",
|
|
|
|
|
"body": ["\\begin{example}[$1] \\label{exp:$1}", "\t$0", "\\end{example}"]
|
|
|
|
|
},
|
2022-09-09 00:16:11 +02:00
|
|
|
|
"Theorem": {
|
|
|
|
|
"prefix": "theorem",
|
|
|
|
|
"description": "Create a theorem",
|
|
|
|
|
"body": ["\\begin{theorem}[$1] \\label{thm:$1}", "\t$0", "\\end{theorem}"]
|
|
|
|
|
},
|
|
|
|
|
"Exercise": {
|
|
|
|
|
"prefix": "exercise",
|
|
|
|
|
"description": "Create a exercise",
|
|
|
|
|
"body": ["\\begin{exercise}[$1] \\label{exe:$1}", "\t$0", "\\end{exercise}"]
|
|
|
|
|
},
|
|
|
|
|
"Definition": {
|
|
|
|
|
"prefix": "definition",
|
|
|
|
|
"description": "Create a definition",
|
|
|
|
|
"body": [
|
|
|
|
|
"\\begin{definition}[$1] \\label{def:$1}",
|
|
|
|
|
"\t$0",
|
|
|
|
|
"\\end{definition}"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Display math": {
|
|
|
|
|
"prefix": "dm",
|
|
|
|
|
"description": "Display math section",
|
|
|
|
|
"body": ["\\[", "$0", "\\]"]
|
|
|
|
|
},
|
|
|
|
|
"Subscript": {
|
|
|
|
|
"prefix": "ss",
|
|
|
|
|
"description": "Subscript",
|
|
|
|
|
"body": "_{$1}$0"
|
|
|
|
|
},
|
2022-09-12 13:50:02 +02:00
|
|
|
|
"Exponent": {
|
|
|
|
|
"prefix": "ee",
|
|
|
|
|
"description": "Exponent",
|
|
|
|
|
"body": "^{$1}$0"
|
|
|
|
|
},
|
2022-09-25 22:03:11 +02:00
|
|
|
|
"Nth derivative": {
|
|
|
|
|
"prefix": "dd",
|
|
|
|
|
"description": "Nth derivative",
|
|
|
|
|
"body": "^{($1)}$0"
|
|
|
|
|
},
|
2022-09-09 00:16:11 +02:00
|
|
|
|
"Section": {
|
|
|
|
|
"prefix": "section",
|
|
|
|
|
"description": "Add section",
|
|
|
|
|
"body": ["\\section{$1}", "$0"]
|
|
|
|
|
},
|
|
|
|
|
"Subsection": {
|
|
|
|
|
"prefix": "subsection",
|
|
|
|
|
"description": "Add subsection",
|
|
|
|
|
"body": ["\\subsection{$1}", "$0"]
|
|
|
|
|
},
|
|
|
|
|
"Subsubsection": {
|
|
|
|
|
"prefix": "subsubsection",
|
|
|
|
|
"description": "Add subsubsection",
|
|
|
|
|
"body": ["\\subsubsection{$1}", "$0"]
|
|
|
|
|
},
|
|
|
|
|
"Chapter": {
|
|
|
|
|
"prefix": "chapter",
|
|
|
|
|
"description": "Add chapter",
|
|
|
|
|
"body": ["\\chapter{$1}", "$0"]
|
|
|
|
|
},
|
|
|
|
|
"Proof": {
|
|
|
|
|
"prefix": "proof",
|
|
|
|
|
"description": "Create proof",
|
|
|
|
|
"body": ["\\begin{proof}", "\t$0", "\\end{proof}"]
|
|
|
|
|
},
|
|
|
|
|
"Itemize": {
|
|
|
|
|
"prefix": "item",
|
|
|
|
|
"body": ["\\\\begin{itemize}", "\t\\item $0", "\\\\end{itemize}"],
|
2022-09-25 22:03:11 +02:00
|
|
|
|
"description": "Itemize env"
|
|
|
|
|
},
|
|
|
|
|
"Enumerate": {
|
|
|
|
|
"prefix": "enum",
|
|
|
|
|
"body": ["\\\\begin{enumerate}", "\t\\item $0", "\\\\end{enumerate}"],
|
|
|
|
|
"description": "Enumerate env"
|
2022-09-09 00:16:11 +02:00
|
|
|
|
},
|
|
|
|
|
"Reference definition": {
|
|
|
|
|
"prefix": "rdef",
|
|
|
|
|
"description": "Reference a definition",
|
|
|
|
|
"body": "\\ref{def:$1}$0"
|
|
|
|
|
},
|
|
|
|
|
"Reference lemma": {
|
|
|
|
|
"prefix": "rlemma",
|
|
|
|
|
"description": "Reference a lemma",
|
|
|
|
|
"body": "\\ref{lem:$1}$0"
|
|
|
|
|
},
|
|
|
|
|
"Reference theorem": {
|
|
|
|
|
"prefix": "rtheorem",
|
|
|
|
|
"description": "Reference a theorem",
|
|
|
|
|
"body": "\\ref{thm:$1}$0"
|
|
|
|
|
},
|
2022-09-25 22:03:11 +02:00
|
|
|
|
"Sigma sum": {
|
|
|
|
|
"prefix": "bsum",
|
|
|
|
|
"description": "Create a sum using sigma notation",
|
|
|
|
|
"body": "\\sum_{$1 = $2}^{$3}$0"
|
|
|
|
|
},
|
|
|
|
|
"Pi product": {
|
|
|
|
|
"prefix": "bproduct",
|
|
|
|
|
"description": "Create a produt using pi notation",
|
|
|
|
|
"body": "\\product_{$1 = $2}^{$3}$0"
|
|
|
|
|
},
|
2022-09-09 00:16:11 +02:00
|
|
|
|
"Fraction": {
|
|
|
|
|
"prefix": "frac",
|
|
|
|
|
"description": "Create a fraction",
|
|
|
|
|
"body": "\\frac{$1}{$2}$0"
|
|
|
|
|
},
|
2022-09-25 22:03:11 +02:00
|
|
|
|
"Choose": {
|
|
|
|
|
"prefix": "binom",
|
|
|
|
|
"description": "Create a (n choose k) thingy",
|
|
|
|
|
"body": "\\binom{$1}{$2}$0"
|
|
|
|
|
},
|
2022-09-09 00:16:11 +02:00
|
|
|
|
"Limit": {
|
|
|
|
|
"prefix": "lim",
|
|
|
|
|
"description": "Create a limit",
|
|
|
|
|
"body": "\\lim _{$1 \\to $2}$0"
|
|
|
|
|
},
|
2022-09-18 01:00:32 +02:00
|
|
|
|
"Limit to infinity": {
|
|
|
|
|
"prefix": "ilim",
|
|
|
|
|
"description": "Create a limit as a variable goes to infinity",
|
|
|
|
|
"body": "\\lim _{$1 \\to \\infty}$0"
|
|
|
|
|
},
|
|
|
|
|
"Limit to negative infinity": {
|
|
|
|
|
"prefix": "nlim",
|
|
|
|
|
"description": "Create a limit as a variable goes to negative infinity",
|
|
|
|
|
"body": "\\lim _{$1 \\to -\\infty}$0"
|
|
|
|
|
},
|
2022-09-26 02:17:39 +02:00
|
|
|
|
"Limit to zero": {
|
|
|
|
|
"prefix": "zlim",
|
|
|
|
|
"description": "Create a limit as a variable goes to 0",
|
|
|
|
|
"body": "\\lim _{$1 \\to 0}$0"
|
|
|
|
|
},
|
2022-09-09 00:16:11 +02:00
|
|
|
|
"Sqrt": {
|
|
|
|
|
"prefix": "sqrt",
|
|
|
|
|
"description": "Create a sqrt",
|
|
|
|
|
"body": "\\sqrt[$1]{$2}$0"
|
|
|
|
|
},
|
2022-09-25 22:03:11 +02:00
|
|
|
|
"Sin": {
|
|
|
|
|
"prefix": "sin",
|
|
|
|
|
"description": "Create a sin call",
|
|
|
|
|
"body": "\\sin($1)$0"
|
|
|
|
|
},
|
|
|
|
|
"Cos": {
|
|
|
|
|
"prefix": "cos",
|
|
|
|
|
"description": "Create a cos call",
|
|
|
|
|
"body": "\\cos($1)$0"
|
|
|
|
|
},
|
|
|
|
|
"Ln": {
|
|
|
|
|
"prefix": "ln",
|
|
|
|
|
"description": "Create a ln call",
|
|
|
|
|
"body": "\\ln($1)$0"
|
|
|
|
|
},
|
2022-09-09 00:16:11 +02:00
|
|
|
|
"Real numbers": {
|
|
|
|
|
"prefix": "reals",
|
|
|
|
|
"description": "ℝ",
|
|
|
|
|
"body": "\\mathbb{R}"
|
|
|
|
|
},
|
|
|
|
|
"Complex numbers": {
|
|
|
|
|
"prefix": "complex",
|
|
|
|
|
"description": "Fancy C symbol",
|
|
|
|
|
"body": "\\mathbb{C}"
|
|
|
|
|
},
|
|
|
|
|
"Natural numbers": {
|
|
|
|
|
"prefix": "nats",
|
|
|
|
|
"description": "ℕ",
|
|
|
|
|
"body": "\\mathbb{N}"
|
|
|
|
|
},
|
|
|
|
|
"Integers": {
|
|
|
|
|
"prefix": "ints",
|
|
|
|
|
"description": "ℤ",
|
|
|
|
|
"body": "\\mathbb{Z}"
|
|
|
|
|
},
|
|
|
|
|
"Rationals": {
|
|
|
|
|
"prefix": "rats",
|
|
|
|
|
"description": "ℚ",
|
|
|
|
|
"body": "\\mathbb{Q}"
|
|
|
|
|
},
|
|
|
|
|
"Fields": {
|
|
|
|
|
"prefix": "fields",
|
|
|
|
|
"description": "Fanch F symbol",
|
|
|
|
|
"body": "\\mathbb{F}"
|
|
|
|
|
},
|
|
|
|
|
"Aligned": {
|
|
|
|
|
"prefix": "aligned",
|
|
|
|
|
"description": "Create an aligned environment",
|
|
|
|
|
"body": ["\\begin{aligned}", "\t$0", "\\end{aligned}"]
|
|
|
|
|
},
|
2022-09-18 01:00:32 +02:00
|
|
|
|
"Explanation in math mode": {
|
|
|
|
|
"prefix": "texpl",
|
|
|
|
|
"description": "Explain a step in math mode",
|
|
|
|
|
"body": "&& \\text{$1}$0"
|
|
|
|
|
},
|
|
|
|
|
"Let": {
|
|
|
|
|
"prefix": "let",
|
|
|
|
|
"description": "Let something equal something else",
|
|
|
|
|
"body": "Let $$1 = $2$. $0"
|
|
|
|
|
},
|
|
|
|
|
"Force newline": {
|
|
|
|
|
"prefix": "cr",
|
|
|
|
|
"description": "Force newline in math mode",
|
2022-09-25 22:03:11 +02:00
|
|
|
|
"body": "{\\ \\\\\\\\}"
|
2022-09-18 01:00:32 +02:00
|
|
|
|
},
|
2022-09-09 00:16:11 +02:00
|
|
|
|
"Aligned display math": {
|
|
|
|
|
"prefix": "maligned",
|
|
|
|
|
"description": "Create an aligned display math environment",
|
|
|
|
|
"body": ["\\[", "\t\\begin{aligned}", "\t\t$0", "\t\\end{aligned}", "\\]"]
|
2022-09-26 02:17:39 +02:00
|
|
|
|
},
|
|
|
|
|
"System of equations": {
|
|
|
|
|
"prefix": "eqsystem",
|
|
|
|
|
"description": "Create a system of equations",
|
|
|
|
|
"body": [
|
|
|
|
|
"\\left\\{",
|
|
|
|
|
"\t\\begin{array}{rl}",
|
|
|
|
|
"\t\t$0",
|
|
|
|
|
"\t\\end{array}",
|
|
|
|
|
"\\right\\\\\\}"
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"Aligned equation": {
|
|
|
|
|
"prefix": "aleq",
|
|
|
|
|
"description": "Aligned equation",
|
|
|
|
|
"body": ["\\\\\\ $1 &= $2", "$0"]
|
2022-09-09 00:16:11 +02:00
|
|
|
|
}
|
|
|
|
|
}
|