feat: add latex playground

This commit is contained in:
Kim, Jimin 2024-04-26 22:01:05 +09:00
parent 1d8c4546a6
commit ab6cb5ad3d
Signed by: pomp
GPG key ID: D3932F82A0667A3B
6 changed files with 29 additions and 5 deletions

View file

@ -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"
] ]
} }

View file

@ -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"
} }
} }

View file

@ -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
View file

@ -0,0 +1,4 @@
*
!.gitignore
!a.tex
!latex.justfile

18
latex/a.tex Normal file
View 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
View file

@ -0,0 +1,2 @@
@build-latex:
cd latex && pdflatex ./a.tex && vscodium ./a.pdf