[Snippets] Update more

This commit is contained in:
2026-02-23 10:00:20 +01:00
parent cb4057298d
commit d713505729

View File

@@ -1,6 +1,36 @@
{ {
"prepare LaTeX Document": { "prepare LaTeX Document": {
"prefix": "latex-prepare", "prefix": "latex-prepare",
"body": [
"\\documentclass{article}\n",
"\\newcommand{\\input}{~/projects/latex/janishutz-helpers.tex}\n",
"\\usepackage{lmodern}",
"\\setFontType{sans}\n",
"\\setup{$1}\n",
"\\begin{document}",
"\\startDocument\n\n",
"$2\n\n",
"\\end{document}"
],
"description": "Prepares a simple LaTeX Document"
},
"LaTeX CheatSheet Setup": {
"prefix": "latex-cheatsheet",
"body": [
"\\documentclass{article}\n",
"\\newcommand{\\input}{~/projects/latex/janishutz-helpers.tex}\n",
"\\usepackage{lmodern}",
"\\setFontType{sans}\n",
"\\setupCheatSheet{$1}\n",
"\\begin{document}",
"\\startDocument\n\n",
"$2\n\n",
"\\end{document}"
],
"description": "Prepares to write a LaTeX CheatSheet"
},
"Full Summary LaTeX Setup": {
"prefix": "latex-summary",
"body": [ "body": [
"\\documentclass{article}\n", "\\documentclass{article}\n",
"\\newcommand{\\input}{~/projects/latex/janishutz-helpers.tex}\n", "\\newcommand{\\input}{~/projects/latex/janishutz-helpers.tex}\n",
@@ -10,8 +40,8 @@
"\\begin{document}", "\\begin{document}",
"\\startDocument\n\n", "\\startDocument\n\n",
"\\vspace{2cm}", "\\vspace{2cm}",
"\\begin{center}\n\n", "\\begin{center}",
"\\includegraphics[width=0.6\\linewidth]{~/projects/latex/assets/logo.jpg}", "\t\\includegraphics[width=0.6\\linewidth]{~/projects/latex/assets/logo.jpg}",
"\\end{center}\n\n", "\\end{center}\n\n",
"\\vspace{3cm}", "\\vspace{3cm}",
"\\begin{center}", "\\begin{center}",
@@ -26,10 +56,13 @@
"\t\\begin{Large}", "\t\\begin{Large}",
"\t\tSummary of the Script and Lectures", "\t\tSummary of the Script and Lectures",
"\t\\end{Large}\\\\[0.2cm]", "\t\\end{Large}\\\\[0.2cm]",
"\\end{center}", "\\end{center}\n\n",
"\\newpage",
"\\printtoc{Aquamarine}\n\n",
"$2\n\n",
"\\end{document}" "\\end{document}"
], ],
"description": "Prepares a full LaTeX Document for use and compiling" "description": "Prepares a full LaTeX Summary"
}, },
"Fancy table": { "Fancy table": {
"prefix": "table", "prefix": "table",