当前位置:   article > 正文

论文写作之latex配置(VSCODE+TEXT LIVE)

论文写作之latex配置(VSCODE+TEXT LIVE)

1.overleaf

初学者学习latex可以用这个练习,可以在线编辑十分方便,但是编译时间受限制

网站:https://www.overleaf.com/project

2.Tex live

选择一个.iso文件下载

网站:Index of /CTAN/systems/texlive/Images/

下载成功!!文件比较大5.6G,耐心等待

点击打开,再点这个.bat文件

点击advanced

1.可以修改路径,到自己想安装的位置就行

2.取消勾选Texworks,我们使用vscode不需要这个

3.选择语言,选英文和中文就行

完事可以安装,安装需要1个小时,请耐心等待

安装完成之后,在cmd中输入 latex -v,可以看到以下,表示成功

3.VSCODE

网站:Visual Studio Code - Code Editing. Redefined

这个安装比较简单

在vscode扩展中安装latex workshop这个插件

在这个插件的setting.json中

输入:

  1. {
  2. "latex-workshop.latex.tools": [
  3. {
  4. "name": "pdflatex",
  5. "command": "pdflatex",
  6. "args": [
  7. "-synctex=1",
  8. "-interaction=nonstopmode",
  9. "-file-line-error",
  10. "%DOC%"
  11. ]
  12. },
  13. {
  14. "name": "xelatex",
  15. "command": "xelatex",
  16. "args": [
  17. "-synctex=1",
  18. "-interaction=nonstopmode",
  19. "-file-line-error",
  20. "%DOC%"
  21. ]
  22. },
  23. {
  24. "name": "bibtex",
  25. "command": "bibtex",
  26. "args": [
  27. "%DOCFILE%"
  28. ]
  29. }
  30. ],
  31. "latex-workshop.latex.recipes": [
  32. {
  33. "name": "pdflatex",
  34. "tools": [
  35. "pdflatex"
  36. ]
  37. },
  38. {
  39. "name": "xelatex",
  40. "tools": [
  41. "xelatex"
  42. ]
  43. },
  44. {
  45. "name": "xe->bib->xe->xe",
  46. "tools": [
  47. "xelatex",
  48. "bibtex",
  49. "xelatex",
  50. "xelatex"
  51. ]
  52. },
  53. {
  54. "name": "pdflatex -> bibtex -> pdflatex*2",
  55. "tools": [
  56. "pdflatex",
  57. "bibtex",
  58. "pdflatex",
  59. "pdflatex"
  60. ]
  61. }
  62. ],
  63. "latex-workshop.latex.autoBuild.run": "never",
  64. "latex-workshop.synctex.afterBuild.enabled": true,
  65. "latex-workshop.view.pdf.viewer": "external",
  66. "latex-workshop.view.pdf.external.viewer.command": "D:/SumatraPDF/SumatraPDF.exe",
  67. "latex-workshop.view.pdf.external.synctex.command": "D:/SumatraPDF/SumatraPDF.exe",
  68. "latex-workshop.view.pdf.external.synctex.args": [
  69. "-forward-search",
  70. "%TEX%",
  71. "%LINE%",
  72. "-reuse-instance",
  73. "-inverse-search",
  74. "\"D:/Microsoft VS Code/Code.exe\" -g \"%f:%l\"",
  75. "%PDF%"
  76. ],
  77. "latex-workshop.view.pdf.internal.synctex.keybinding": "double-click",
  78. "editor.semanticTokenColorCustomizations": {
  79. "rules": {}
  80. }
  81. }

sumatrapdf:

上述链接可以下载这个sumatrapdf软件,安装简单,配置到json中修改对应路径就行

4.表格编辑软件

网站:https://www.latex-tables.com/

5.公式编辑软件

网站:在线LaTeX公式编辑器-编辑器

祝顺利!!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/码创造者/article/detail/876266
推荐阅读
相关标签
  

闽ICP备14008679号