feat: add latex playground
This commit is contained in:
parent
1d8c4546a6
commit
ab6cb5ad3d
6 changed files with 29 additions and 5 deletions
3
.vscode/extensions.json
vendored
3
.vscode/extensions.json
vendored
|
@ -4,6 +4,7 @@
|
||||||
"ms-python.black-formatter",
|
"ms-python.black-formatter",
|
||||||
"ms-vscode.cpptools",
|
"ms-vscode.cpptools",
|
||||||
"13xforever.language-x86-64-assembly",
|
"13xforever.language-x86-64-assembly",
|
||||||
"skellock.just"
|
"skellock.just",
|
||||||
|
"james-yu.latex-workshop"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
|
@ -27,9 +27,7 @@
|
||||||
"[c]": {
|
"[c]": {
|
||||||
"editor.defaultFormatter": "ms-vscode.cpptools"
|
"editor.defaultFormatter": "ms-vscode.cpptools"
|
||||||
},
|
},
|
||||||
"files.associations": {
|
"[latex]": {
|
||||||
"*.ejs": "html",
|
"editor.defaultFormatter": "James-Yu.latex-workshop"
|
||||||
"ostream": "cpp",
|
|
||||||
"format": "cpp"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
1
justfile
1
justfile
|
@ -3,6 +3,7 @@ import 'c/c.justfile'
|
||||||
import 'cpp/cpp.justfile'
|
import 'cpp/cpp.justfile'
|
||||||
import 'go/go.justfile'
|
import 'go/go.justfile'
|
||||||
import 'js/js.justfile'
|
import 'js/js.justfile'
|
||||||
|
import 'latex/latex.justfile'
|
||||||
import 'py/py.justfile'
|
import 'py/py.justfile'
|
||||||
import 'rust/rust.justfile'
|
import 'rust/rust.justfile'
|
||||||
|
|
||||||
|
|
4
latex/.gitignore
vendored
Normal file
4
latex/.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
!a.tex
|
||||||
|
!latex.justfile
|
18
latex/a.tex
Normal file
18
latex/a.tex
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
\documentclass[11pt, a4paper]{article}
|
||||||
|
|
||||||
|
\title{pomp's awesome research paper}
|
||||||
|
\author{developomp}
|
||||||
|
\date{July 2018}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\maketitle
|
||||||
|
|
||||||
|
\newpage
|
||||||
|
|
||||||
|
cool formula made with \LaTeX:
|
||||||
|
|
||||||
|
$$
|
||||||
|
y = \int_{0}^{\infty} \frac{1}{x}
|
||||||
|
$$
|
||||||
|
|
||||||
|
\end{document}
|
2
latex/latex.justfile
Normal file
2
latex/latex.justfile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
@build-latex:
|
||||||
|
cd latex && pdflatex ./a.tex && vscodium ./a.pdf
|
Loading…
Add table
Add a link
Reference in a new issue