253 lines
6.2 KiB
JSON
253 lines
6.2 KiB
JSON
{
|
||
"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}"]
|
||
},
|
||
"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}"]
|
||
},
|
||
"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"
|
||
},
|
||
"Exponent": {
|
||
"prefix": "ee",
|
||
"description": "Exponent",
|
||
"body": "^{$1}$0"
|
||
},
|
||
"Nth derivative": {
|
||
"prefix": "dd",
|
||
"description": "Nth derivative",
|
||
"body": "^{($1)}$0"
|
||
},
|
||
"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}"],
|
||
"description": "Itemize env"
|
||
},
|
||
"Enumerate": {
|
||
"prefix": "enum",
|
||
"body": ["\\\\begin{enumerate}", "\t\\item $0", "\\\\end{enumerate}"],
|
||
"description": "Enumerate env"
|
||
},
|
||
"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"
|
||
},
|
||
"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"
|
||
},
|
||
"Fraction": {
|
||
"prefix": "frac",
|
||
"description": "Create a fraction",
|
||
"body": "\\frac{$1}{$2}$0"
|
||
},
|
||
"Choose": {
|
||
"prefix": "binom",
|
||
"description": "Create a (n choose k) thingy",
|
||
"body": "\\binom{$1}{$2}$0"
|
||
},
|
||
"Limit": {
|
||
"prefix": "lim",
|
||
"description": "Create a limit",
|
||
"body": "\\lim _{$1 \\to $2}$0"
|
||
},
|
||
"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"
|
||
},
|
||
"Limit to zero": {
|
||
"prefix": "zlim",
|
||
"description": "Create a limit as a variable goes to 0",
|
||
"body": "\\lim _{$1 \\to 0}$0"
|
||
},
|
||
"Sqrt": {
|
||
"prefix": "sqrt",
|
||
"description": "Create a sqrt",
|
||
"body": "\\sqrt[$1]{$2}$0"
|
||
},
|
||
"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"
|
||
},
|
||
"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}"]
|
||
},
|
||
"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",
|
||
"body": "{\\ \\\\\\\\}"
|
||
},
|
||
"Aligned display math": {
|
||
"prefix": "maligned",
|
||
"description": "Create an aligned display math environment",
|
||
"body": ["\\[", "\t\\begin{aligned}", "\t\t$0", "\t\\end{aligned}", "\\]"]
|
||
},
|
||
"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"]
|
||
}
|
||
}
|