LaTeX-Workshop/snippets/latex.json

283 lines
5.5 KiB
JSON
Raw Normal View History

{
"subscript" : {
"prefix": "__",
"body": "_{$0}",
"description": "Add a subscript"
},
"superscript" : {
"prefix": "**",
"body": "^{$0}",
"description": "Add a superscript"
},
"etc" : {
"prefix": "...",
"body": "\\dots",
"description": "Insert \\dots"
},
"cdot" : {
"prefix": "@.",
"body": "\\cdot",
"description": "Insert \\cdot"
},
"infinity" : {
"prefix": "@8",
"body": "\\infty",
"description": "Insert infinity symbol"
},
"equation" : {
"prefix": "BEQ",
"body": "\\begin{equation}\n\t\\label{${1:<label>}}\n\t$0\n\\end{equation}",
"description": "Insert an equation environment"
},
"equation*" : {
"prefix": "BSEQ",
"body": "\\begin{equation*}\n\t$0\n\\end{equation*}",
"description": "Insert an equation* environment"
},
"align" : {
"prefix": "BAL",
"body": "\\begin{align}\n\t\\label{${1:<label>}}\n\t$0\n\\end{align}",
"description": "Insert an align environment"
},
"align*" : {
"prefix": "BSAL",
"body": "\\begin{align*}\n\t$0\n\\end{align*}",
"description": "Insert an align* environment"
},
"itemize" : {
"prefix": "BIT",
"body": "\\begin{itemize}\n\t\\item $0\n\\end{itemize}",
"description": "Insert an itemize environment"
},
"enumerate" : {
"prefix": "BEN",
"body": "\\begin{enumerate}\n\t\\item $0\n\\end{enumerate}",
"description": "Insert an enumerate environment"
},
"split" : {
"prefix": "BSPL",
"body": "\\begin{split}\n\t$0\n\\end{split}",
"description": "Insert a split environment"
},
"cases" : {
"prefix": "BCAS",
"body": "\\begin{cases}\n\t$0\n\\end{cases}",
"description": "Insert a cases environment"
},
"frame" : {
"prefix": "BFR",
"body": "\\begin{frame}\n\t\\frametitle{${1:<title>}}\n\n\t$0\n\n\\end{frame}",
"description": "Insert a new frame"
},
"bf" : {
"prefix": "FBF",
"body": "\\textbf{${1:${TM_SELECTED_TEXT:text}}}",
"description": "Use a bold font"
},
"it" : {
"prefix": "FIT",
"body": "\\textit{${1:${TM_SELECTED_TEXT:text}}}",
"description": "Use an italic font"
},
"em" : {
"prefix": "FEM",
"body": "\\emph{${1:${TM_SELECTED_TEXT:text}}}",
"description": "Use an emphasis font"
},
"tt" : {
"prefix": "FTT",
"body": "\\texttt{${1:${TM_SELECTED_TEXT:text}}}",
"description": "Use a typewriter font"
},
/* Insert Gree letter with @ + corresponding latin letter */
"alpha": {
"prefix": "@a",
"body": "\\alpha",
"description": "Insert alpha"
},
"beta": {
"prefix": "@b",
"body": "\\beta",
"description": "Insert beta"
},
"chi": {
"prefix": "@c",
"body": "\\chi",
"description": "Insert chi"
},
"delta": {
"prefix": "@d",
"body": "\\delta",
"description": "Insert delta"
},
"varepsilon": {
"prefix": "@e",
"body": "\\varepsilon",
"description": "Insert varepsilon"
},
"varphi": {
"prefix": "@f",
"body": "\\varphi",
"description": "Insert varphi"
},
"gamma": {
"prefix": "@g",
"body": "\\gamma",
"description": "Insert gamma"
},
"eta": {
"prefix": "@h",
"body": "\\eta",
"description": "Insert eta"
},
"iota": {
"prefix": "@i",
"body": "\\iota",
"description": "Insert iota"
},
"kappa": {
"prefix": "@k",
"body": "\\kappa",
"description": "Insert kappa"
},
"lambda": {
"prefix": "@l",
"body": "\\lambda",
"description": "Insert lambda"
},
"mu": {
"prefix": "@m",
"body": "\\mu",
"description": "Insert mu"
},
"nu": {
"prefix": "@n",
"body": "\\nu",
"description": "Insert nu"
},
"pi": {
"prefix": "@p",
"body": "\\pi",
"description": "Insert pi"
},
"theta": {
"prefix": "@q",
"body": "\\theta",
"description": "Insert theta"
},
"rho": {
"prefix": "@r",
"body": "\\rho",
"description": "Insert rho"
},
"sigma": {
"prefix": "@s",
"body": "\\sigma",
"description": "Insert sigma"
},
"tau": {
"prefix": "@t",
"body": "\\tau",
"description": "Insert tau"
},
"upsilon": {
"prefix": "@u",
"body": "\\upsilon",
"description": "Insert upsilon"
},
"varsigma": {
"prefix": "@v",
"body": "\\varsigma",
"description": "Insert varsigma"
},
"omega": {
"prefix": "@o",
"body": "\\omega",
"description": "Insert omega"
},
"wedge": {
"prefix": "@w",
"body": "\\wedge",
"description": "Insert wedge"
},
"xi": {
"prefix": "@x",
"body": "\\xi",
"description": "Insert xi"
},
"psi": {
"prefix": "@y",
"body": "\\psi",
"description": "Insert psi"
},
"zeta": {
"prefix": "@z",
"body": "\\zeta",
"description": "Insert zeta"
},
"Delta": {
"prefix": "@D",
"body": "\\Delta",
"description": "Insert Delta"
},
"Phi": {
"prefix": "@F",
"body": "\\Phi",
"description": "Insert Phi"
},
"Gamma": {
"prefix": "@G",
"body": "\\Gamma",
"description": "Insert Gamma"
},
"Theta": {
"prefix": "@Q",
"body": "\\Theta",
"description": "Insert Theta"
},
"Lambda": {
"prefix": "@L",
"body": "\\Lambda",
"description": "Insert Lambda"
},
"Xi": {
"prefix": "@X",
"body": "\\Xi",
"description": "Insert Xi"
},
"Psi": {
"prefix": "@Y",
"body": "\\Psi",
"description": "Insert Psi"
},
"Sigma": {
"prefix": "@S",
"body": "\\Sigma",
"description": "Insert Sigma"
},
"Upsilon": {
"prefix": "@U",
"body": "\\Upsilon",
"description": "Insert Upsilon"
},
"Omega": {
"prefix": "@W",
"body": "\\Omega",
"description": "Insert Omega"
},
"(": {
"prefix": "@(",
"body": "\\left( $0 \\right",
"description": "Insert left( ... right)"
},
"{": {
"prefix": "@{",
"body": "\\left\\{ $0\\right\\",
"description": "Insert left{ ... right}"
},
"[": {
"prefix": "@[",
"body": "\\left[ $0 \\right",
"description": "Insert left[ ... right]"
}
}