Skip to content

Instantly share code, notes, and snippets.

@TzuChiehHung
Last active February 10, 2020 04:51
Show Gist options
  • Save TzuChiehHung/c65d08c1eacee3b5872866d176841ad3 to your computer and use it in GitHub Desktop.
Save TzuChiehHung/c65d08c1eacee3b5872866d176841ad3 to your computer and use it in GitHub Desktop.
[VSCode user config] #vscode #config
{
// general
"editor.renderWhitespace": "all",
"terminal.integrated.fontFamily": "Source Code Pro for Powerline",
// LaTeX
"workbench.settings.editor": "json",
"latex-workshop.latex.tools": [
{
"name": "xelatex",
"command": "xelatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"-pdf",
"%DOCFILE%"
]
},
{
"name": "pdflatex",
"command": "pdflatex",
"args": [
"-synctex=1",
"-interaction=nonstopmode",
"-file-line-error",
"%DOCFILE%"
]
},
{
"name": "bibtex",
"command": "bibtex",
"args": [
"%DOCFILE%"
]
}
],
"latex-workshop.latex.recipes": [
{
"name": "xelatex",
"tools": [
"xelatex"
]
},
{
"name": "xe->bib->xe->xe",
"tools": [
"xelatex",
"bibtex",
"xelatex",
"xelatex"
]
},
{
"name": "pdflatex",
"tools": [
"pdflatex"
]
}
],
"[latex]": {
"editor.wordWrap": "on",
},
"latex-workshop.view.pdf.viewer": "tab",
"latex-workshop.synctex.afterBuild.enabled": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment