[Snippets] Update
This commit is contained in:
@@ -3,12 +3,30 @@
|
||||
"prefix": "latex-prepare",
|
||||
"body": [
|
||||
"\\documentclass{article}\n",
|
||||
"\\input{~/projects/latex/dist/recommended.tex}\n",
|
||||
"\\newcommand{\\input}{~/projects/latex/janishutz-helpers.tex}\n",
|
||||
"\\usepackage{lmodern}",
|
||||
"\\setFontType{sans}\n",
|
||||
"\\setup{$1}\n",
|
||||
"\\begin{document}",
|
||||
"\\startDocument",
|
||||
"\\usetcolorboxes",
|
||||
"$2\n\n",
|
||||
"\\startDocument\n\n",
|
||||
"\\vspace{2cm}",
|
||||
"\\begin{center}\n\n",
|
||||
"\\includegraphics[width=0.6\\linewidth]{~/projects/latex/assets/logo.jpg}",
|
||||
"\\end{center}\n\n",
|
||||
"\\vspace{3cm}",
|
||||
"\\begin{center}",
|
||||
"\t\\begin{Large}",
|
||||
"\t\t\\quote{A funny quote by a professor}",
|
||||
"\t\\end{Large}",
|
||||
"\\hspace{3cm} - Prof. Dr. Professor Name, YEAR",
|
||||
"\\end{center}\n",
|
||||
"\\vspace{2cm}",
|
||||
"\\begin{center}",
|
||||
"\tSEMESTER, ETHZ\\\\[0.2cm]",
|
||||
"\t\\begin{Large}",
|
||||
"\t\tSummary of the Script and Lectures",
|
||||
"\t\\end{Large}\\\\[0.2cm]",
|
||||
"\\end{center}",
|
||||
"\\end{document}"
|
||||
],
|
||||
"description": "Prepares a full LaTeX Document for use and compiling"
|
||||
@@ -47,18 +65,9 @@
|
||||
"\t$2",
|
||||
"\\end{recall}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a recall / revision of previous knowledge (yellow)"
|
||||
"description": "Inserts a tcolorbox to point out / revise of previous knowledge (yellow)"
|
||||
},
|
||||
"Important Remarks": {
|
||||
"prefix": "remarks",
|
||||
"body": [
|
||||
"\\begin{remark}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{remark}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide remarks (green), but here numbered"
|
||||
},
|
||||
"Remark (numbered)": {
|
||||
"Remark": {
|
||||
"prefix": "remark",
|
||||
"body": [
|
||||
"\\begin{remarks}[]{$1}",
|
||||
@@ -67,15 +76,6 @@
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide remarks (green)"
|
||||
},
|
||||
"Guides": {
|
||||
"prefix": "guides",
|
||||
"body": [
|
||||
"\\begin{guides}[]{$1}{${2:Usage}}",
|
||||
"\t$2",
|
||||
"\\end{guides}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide guides / instructions on how to use (red)"
|
||||
},
|
||||
"Properties": {
|
||||
"prefix": "properties",
|
||||
"body": [
|
||||
@@ -119,7 +119,7 @@
|
||||
"\t$2",
|
||||
"\\end{theorem}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about theorems"
|
||||
"description": "Inserts a tcolorbox to state a theorem"
|
||||
},
|
||||
"Lemma": {
|
||||
"prefix": "lemma",
|
||||
@@ -128,7 +128,7 @@
|
||||
"\t$2",
|
||||
"\\end{lemma}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about lemmas"
|
||||
"description": "Inserts a tcolorbox to state a lemma"
|
||||
},
|
||||
"Corollary": {
|
||||
"prefix": "corollary",
|
||||
@@ -137,7 +137,7 @@
|
||||
"\t$2",
|
||||
"\\end{corollary}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about corollaries"
|
||||
"description": "Inserts a tcolorbox to state a corollary"
|
||||
},
|
||||
"Proposition": {
|
||||
"prefix": "proposition",
|
||||
@@ -146,7 +146,7 @@
|
||||
"\t$2",
|
||||
"\\end{proposition}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about propositions"
|
||||
"description": "Inserts a tcolorbox to state a proposition"
|
||||
},
|
||||
"Fact": {
|
||||
"prefix": "fact",
|
||||
@@ -155,7 +155,7 @@
|
||||
"\t$2",
|
||||
"\\end{fact}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about facts"
|
||||
"description": "Inserts a tcolorbox to state a fact"
|
||||
},
|
||||
"Terms": {
|
||||
"prefix": "terms",
|
||||
@@ -220,24 +220,6 @@
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about usage"
|
||||
},
|
||||
"Conjugation": {
|
||||
"prefix": "conjugation",
|
||||
"body": [
|
||||
"\\begin{conjugation}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{conjugation}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about conjugation"
|
||||
},
|
||||
"Forms": {
|
||||
"prefix": "forms",
|
||||
"body": [
|
||||
"\\begin{forms}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{forms}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about forms of e.g. grammatical structures"
|
||||
},
|
||||
"General-Tcolorbox": {
|
||||
"prefix": "general-tcb",
|
||||
"body": [
|
||||
@@ -256,120 +238,6 @@
|
||||
],
|
||||
"description": "Inserts a simple tcolorbox. No title, first argument the colour colour"
|
||||
},
|
||||
"Derivative": {
|
||||
"prefix": "derivative",
|
||||
"body": [
|
||||
"\\frac{\\mbox{d}}{\\mbox{d}x}$1"
|
||||
]
|
||||
},
|
||||
"Example (inline)": {
|
||||
"prefix": "example-inline",
|
||||
"body": [
|
||||
"\\inlineex"
|
||||
]
|
||||
},
|
||||
"Example (short)": {
|
||||
"prefix": "example-short",
|
||||
"body": [
|
||||
"\\shortex"
|
||||
]
|
||||
},
|
||||
"Definition (inline)": {
|
||||
"prefix": "definition-inline",
|
||||
"body": [
|
||||
"\\inlinedef"
|
||||
]
|
||||
},
|
||||
"Definition (short)": {
|
||||
"prefix": "definition-short",
|
||||
"body": [
|
||||
"\\shortdef"
|
||||
]
|
||||
},
|
||||
"Theorem (inline)": {
|
||||
"prefix": "theorem-inline",
|
||||
"body": [
|
||||
"\\inlinetheorem"
|
||||
]
|
||||
},
|
||||
"Theorem (short)": {
|
||||
"prefix": "theorem-short",
|
||||
"body": [
|
||||
"\\shorttheorem"
|
||||
]
|
||||
},
|
||||
"Lemma (inline)": {
|
||||
"prefix": "lemma-inline",
|
||||
"body": [
|
||||
"\\inlinelemma"
|
||||
]
|
||||
},
|
||||
"Lemma (short)": {
|
||||
"prefix": "lemma-short",
|
||||
"body": [
|
||||
"\\shortlemma"
|
||||
]
|
||||
},
|
||||
"Corollary (inline)": {
|
||||
"prefix": "corollary-inline",
|
||||
"body": [
|
||||
"\\inlinecorollary"
|
||||
]
|
||||
},
|
||||
"Corollary (short)": {
|
||||
"prefix": "corollary-short",
|
||||
"body": [
|
||||
"\\shortcorollary"
|
||||
]
|
||||
},
|
||||
"Proposition (inline)": {
|
||||
"prefix": "proposition-inline",
|
||||
"body": [
|
||||
"\\inlineproposition"
|
||||
]
|
||||
},
|
||||
"Proposition (short)": {
|
||||
"prefix": "proposition-short",
|
||||
"body": [
|
||||
"\\shortproposition"
|
||||
]
|
||||
},
|
||||
"Fact (inline)": {
|
||||
"prefix": "fact-inline",
|
||||
"body": [
|
||||
"\\inlinefact"
|
||||
]
|
||||
},
|
||||
"Fact (short)": {
|
||||
"prefix": "fact-short",
|
||||
"body": [
|
||||
"\\shortfact"
|
||||
]
|
||||
},
|
||||
"Axiom (inline)": {
|
||||
"prefix": "axiom-inline",
|
||||
"body": [
|
||||
"\\inlineaxiom"
|
||||
]
|
||||
},
|
||||
"Axiom (short)": {
|
||||
"prefix": "axiom-short",
|
||||
"body": [
|
||||
"\\shortaxiom"
|
||||
]
|
||||
},
|
||||
"Proof (inline)": {
|
||||
"prefix": "proof-inline",
|
||||
"body": [
|
||||
"\\inlineproof"
|
||||
]
|
||||
},
|
||||
"Proof (short)": {
|
||||
"prefix": "proof-short",
|
||||
"body": [
|
||||
"\\shortproof"
|
||||
]
|
||||
},
|
||||
"bold": {
|
||||
"prefix": "#bold",
|
||||
"body": [
|
||||
@@ -428,7 +296,9 @@
|
||||
"prefix": "latex-letter",
|
||||
"body": [
|
||||
"\\documentclass[12pt,a4paper]{scrlttr2}\n",
|
||||
"\\input{~/projects/latex/dist/letter.tex}\n",
|
||||
"\\newcommand{\\dir}{~/projects/latex} % IMPORTANT: No trailing slashes!",
|
||||
"\\input{\\dir/include.tex}",
|
||||
"\\load{letter}\n",
|
||||
"% Subject",
|
||||
"\\setkomavar{subject}{$1}",
|
||||
"\\begin{document}\\raggedright",
|
||||
|
||||
Reference in New Issue
Block a user