Skip to content

Commit

Permalink
Code snippets for latex
Browse files Browse the repository at this point in the history
  • Loading branch information
YaelDillies committed Sep 6, 2024
1 parent 7f714f2 commit 79ef149
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions .vscode/latex.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"Definition": {
"scope": "latex",
"prefix": "dfn",
"body": [
"\\begin{definition}[$1]",
" \\label{$2}",
" \\uses{$3}",
" \\lean{$4}",
" % \\leanok",
"",
" $5",
"\\end{definition}"
],
"description": "Definition"
},
"Theorem": {
"scope": "latex",
"prefix": "thm",
"body": [
"\\begin{theorem}[$1]",
" \\label{$2}",
" \\uses{$3}",
" \\lean{$4}",
" % \\leanok",
"",
" $5",
"\\end{theorem}"
],
"description": "Theorem"
},
"Lemma": {
"scope": "latex",
"prefix": "lem",
"body": [
"\\begin{lemma}[$1]",
" \\label{$2}",
" \\uses{$3}",
" \\lean{$4}",
" % \\leanok",
"",
" $5",
"\\end{lemma}"
],
"description": "Lemma"
},
"Proposition": {
"scope": "latex",
"prefix": "prop",
"body": [
"\\begin{proposition}[$1]",
" \\label{$2}",
" \\uses{$3}",
" \\lean{$4}",
" % \\leanok",
"",
" $5",
"\\end{proposition}",
],
"description": "Proposition"
},
"Proof": {
"scope": "latex",
"prefix": "proof",
"body": [
"\\begin{proof}",
" \\uses{$1}",
" % \\leanok",
"",
" $2",
"\\end{proof}",
],
"description": "Proof"
}
}

0 comments on commit 79ef149

Please sign in to comment.