Deprecated: imwpcache\f884414bce24ee67f\f73723ec7b1919fa5::__construct(): Implicitly marking parameter $YECBGYFECGEAFWHA as nullable is deprecated, the explicit nullable type must be used instead in /www/wwwroot/www.chuangxiangniao.com/wp-content/plugins/imwpcache-dist/build/f884414bce24ee67ff73723ec7b1919fa5.php on line 2

Deprecated: imwpcache\f884414bce24ee67f\f73723ec7b1919fa5::__construct(): Implicitly marking parameter $BBWFDDBHHYHDXXAB as nullable is deprecated, the explicit nullable type must be used instead in /www/wwwroot/www.chuangxiangniao.com/wp-content/plugins/imwpcache-dist/build/f884414bce24ee67ff73723ec7b1919fa5.php on line 2
VScode如何配置LaTeX环境?_创想鸟

VScode如何配置LaTeX环境?

本篇文章给大家详细介绍一下vscode配置latex环境的方法。有一定的参考价值,有需要的朋友可以参考一下,希望对大家有所帮助。

VScode如何配置LaTeX环境?

Mac系统配置LaTeX环境

我们需要在settings.json文件中定义LaTeX的一些设置。下面找到这个文件:
在这里插入图片描述
粘贴下面的代码,这是我自己根据视频上以及网上的众多代码修改的,直到系统没有再报错,最终得到以下的图,我的最后四行代码是修改VScode底部状态栏的颜色,我把默认的蓝色改为自己喜欢的葡萄紫色。

{    "latex-workshop.latex.tools": [        {        "name": "latexmk",        "command": "latexmk",        "args": [        "-synctex=1",        "-interaction=nonstopmode",        "-file-line-error",        "-pdf",        "%DOC%"        ]        },        {        "name": "xelatex",        "command": "xelatex",        "args": [        "-synctex=1",        "-interaction=nonstopmode",        "-file-line-error",        "%DOC%"            ]        },                  {        "name": "pdflatex",        "command": "pdflatex",        "args": [        "-synctex=1",        "-interaction=nonstopmode",        "-file-line-error",        "%DOC%"        ]        },        {        "name": "bibtex",        "command": "bibtex",        "args": [        "%DOCFILE%"        ]        }    ],"latex-workshop.latex.recipes": [        {        "name": "xelatex",        "tools": [        "xelatex"                    ]                },        {        "name": "latexmk",        "tools": [        "latexmk"                    ]        },        {        "name": "pdflatex -> bibtex -> pdflatex*2",        "tools": [        "pdflatex",        "bibtex",        "pdflatex",        "pdflatex"                    ]        },        {            "name": "xelatex->bibtex->xelatex->xelatex",            "tools": [              "xelatex",              "bibtex",              "xelatex",            ]          }      ],    //"latex-workshop.view.pdf.viewer": "tab",  "latex-workshop.latex.clean.fileTypes": [    "*.aux",    "*.bbl",    "*.blg",    "*.idx",    "*.ind",    "*.lof",    "*.lot",    "*.out",    "*.toc",    "*.acn",    "*.acr",    "*.alg",    "*.glg",    "*.glo",    "*.gls",    "*.ist",    "*.fls",    "*.log",    "*.fdb_latexmk"    ],   //下面这段是语法检查模块//{"ltex.enabled": true, // 启用插件"ltex.language": "en-US",// 设置语言,这里是德语// 要英语就下载对应 English Support,然后这里填 en, 或者 en-US,en-GB 等*/ "ltex.de.dictionary": ["Niubility", "Zhihu"],  //注意根据要对应语言,ltex..dictionary//"ltex.environments.ignore": [//    "lstlisting", //   "verbatim"//],//"ltex.commands.ignore": [//    "documentclass[]{}", //   "renewcommand*{}[]{}"//],"editor.fontSize": 14,//}语法检查功能在这里结束"latex-workshop.view.pdf.viewer": "external","latex-workshop.view.pdf.external.synctex.command": "/Applications/Skim.app/Contents/SharedSupport/displayline","latex-workshop.view.pdf.external.synctex.args": ["-r","%LINE%","%PDF%","%TEX%"],"latex-workshop.view.pdf.external.viewer.command": "/Applications/Skim.app/Contents/MacOS/Skim","latex-workshop.view.pdf.external.viewer.args": [    "%PDF%"],"workbench.colorCustomizations": {    "statusBar.background" : "#711d81",    "statusBar.noFolderBackground" : "#4e187a",    "statusBar.debuggingBackground": "#511f1f"},}

在这里插入图片描述
每次运行tex文件,只需要点Recipe:xelatex即可。

琅琅配音 琅琅配音

全能AI配音神器

琅琅配音 208 查看详情 琅琅配音

推荐学习:《vscode教程》

以上就是VScode如何配置LaTeX环境?的详细内容,更多请关注创想鸟其它相关文章!

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 chuangxiangniao@163.com 举报,一经查实,本站将立刻删除。
发布者:程序猿,转转请注明出处:https://www.chuangxiangniao.com/p/503216.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
php 文件包含有哪些方式
上一篇 2025年11月8日 21:18:21
如何让你的Laravel在15毫秒内返回一个”hello world!”
下一篇 2025年11月8日 21:18:23

相关推荐

发表回复

登录后才能评论
关注微信