mirror of
https://github.com/Wessel/boilerplate-tex.git
synced 2026-06-08 14:18:46 +02:00
chore: Update template to current used one
This commit is contained in:
31
.vscode/LaTeX.code-snippets
vendored
Normal file
31
.vscode/LaTeX.code-snippets
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"Create Table": {
|
||||
"prefix": "tbl",
|
||||
"body": [
|
||||
"\\begin{table}[ht]",
|
||||
" \\centering",
|
||||
" \\begin{threeparttable}",
|
||||
" \\begin{tabular}{p{2.5cm}|p{8.5cm}}",
|
||||
" \\toprule",
|
||||
" $1 & $2 \\\\\\\\",
|
||||
" \\hline",
|
||||
" $3 & $4 \\\\\\\\",
|
||||
" \\bottomrule",
|
||||
" \\end{tabular}",
|
||||
" \\end{threeparttable}",
|
||||
"\\end{table}"
|
||||
],
|
||||
"description": "Create a table with two columns",
|
||||
},
|
||||
"Create Figure": {
|
||||
"prefix": "fig",
|
||||
"body": [
|
||||
"\\begin{figure}[H]",
|
||||
" \\includegraphics[width=1\\textwidth]{../img/$1}",
|
||||
" \\caption{$2}",
|
||||
" \\label{fig:$3}",
|
||||
"\\end{figure}"
|
||||
],
|
||||
"description": "Create a figure ",
|
||||
}
|
||||
}
|
||||
112
.vscode/settings.json
vendored
Normal file
112
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"latex-workshop.latex.autoBuild.cleanAndRetry.enabled": true,
|
||||
"latex-workshop.latex.clean.subfolder.enabled": true,
|
||||
"latex-workshop.latex.external.build.args": [ "--shell-escape" ],
|
||||
"latex-workshop.latex.outDir": "tmp",
|
||||
"latex-workshop.latex.tools": [
|
||||
{
|
||||
"name": "latexmk",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"-pdf",
|
||||
"-outdir=%OUTDIR%",
|
||||
"%DOC%",
|
||||
"--shell-escape",
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "lualatexmk",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"-lualatex",
|
||||
"-outdir=%OUTDIR%",
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "xelatexmk",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"-xelatex",
|
||||
"-outdir=%OUTDIR%",
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "latexmk_rconly",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "pdflatex",
|
||||
"command": "pdflatex",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"%DOC%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "bibtex",
|
||||
"command": "bibtex",
|
||||
"args": [
|
||||
"%DOCFILE%"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "rnw2tex",
|
||||
"command": "Rscript",
|
||||
"args": [
|
||||
"-e",
|
||||
"knitr::opts_knit$set(concordance = TRUE); knitr::knit('%DOCFILE_EXT%')"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "jnw2tex",
|
||||
"command": "julia",
|
||||
"args": [
|
||||
"-e",
|
||||
"using Weave; weave(\"%DOC_EXT%\", doctype=\"tex\")"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "jnw2texmintex",
|
||||
"command": "julia",
|
||||
"args": [
|
||||
"-e",
|
||||
"using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")"
|
||||
],
|
||||
"env": {}
|
||||
},
|
||||
{
|
||||
"name": "tectonic",
|
||||
"command": "tectonic",
|
||||
"args": [
|
||||
"--synctex",
|
||||
"--keep-logs",
|
||||
"%DOC%.tex"
|
||||
],
|
||||
"env": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user