当前位置:   article > 正文

用VScode写Latex

用VScode写Latex

主要内容可以直接导到这里

A Fast Guide on Writing LaTeX with LaTeX Workshop in VS Code - Jia Jia Math

其中关于TexLive安装完成之后的路径设置有一些迷惑,win11下测试是不需要手动去添加的,去系统变量里检查一下就可以了,应该点开path就是最后一个

其他部分应该比较顺利,还有后面json配置是这样的:

  1. {
  2. "editor.inlineSuggest.enabled": true,
  3. "security.workspace.trust.untrustedFiles": "open",
  4. "files.autoSave": "afterDelay",
  5. "editor.fontFamily": "Fira Code, Fira Code Mono",
  6. "protoc": {
  7. },
  8. "editor.unicodeHighlight.ambiguousCharacters": false,
  9. "cmake.configureOnOpen": true,
  10. "editor.fontSize": 16,
  11. "accessibility.dimUnfocused.opacity": 1,
  12. "debug.terminal.clearBeforeReusing": true,
  13. "terminal.integrated.fontSize": 15,
  14. "terminal.integrated.lineHeight": 1.2,
  15. "terminal.integrated.letterSpacing": 0.9,
  16. "terminal.integrated.inheritEnv": false,
  17. "terminal.integrated.fontFamily": "Fira Code",
  18. "explorer.confirmDragAndDrop": false,
  19. "workbench.iconTheme": "material-icon-theme",
  20. "workbench.productIconTheme": "vscode-v1-icons",
  21. "explorer.confirmDelete": false,
  22. "workbench.colorTheme": "Default Dark+"
  23. "latex-workshop.latex.tools": [
  24. {
  25. "name": "latexmk",
  26. "command": "latexmk",
  27. "args": [
  28. "-synctex=1",
  29. "-interaction=nonstopmode",
  30. "-file-line-error",
  31. "-pdf",
  32. "-outdir=%OUTDIR%",
  33. "%DOC%"
  34. ],
  35. "env": {}
  36. },
  37. {
  38. "name": "xelatex",
  39. "command": "xelatex",
  40. "args": [
  41. "-synctex=1",
  42. "-interaction=nonstopmode",
  43. "-file-line-error",
  44. "%DOC%"
  45. ],
  46. "env": {}
  47. },
  48. {
  49. "name": "pdflatex",
  50. "command": "pdflatex",
  51. "args": [
  52. "-synctex=1",
  53. "-interaction=nonstopmode",
  54. "-file-line-error",
  55. "%DOC%"
  56. ],
  57. "env": {}
  58. },
  59. {
  60. "name": "bibtex",
  61. "command": "bibtex",
  62. "args": [
  63. "%DOCFILE%"
  64. ],
  65. "env": {}
  66. }
  67. ],
  68. "latex-workshop.latex.recipes": [
  69. {
  70. "name": "pdfLaTeX",
  71. "tools": [
  72. "pdflatex"
  73. ]
  74. },
  75. {
  76. "name": "latexmk
    声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/花生_TL007/article/detail/65862
    推荐阅读
    相关标签