当前位置:网站首页>latex入门
latex入门
2020-11-08 16:57:00 【zli_】
参考:
https://liam.page/2014/09/08/latex-introduction/#TeX_%E5%AE%B6%E6%97%8F
https://zhuanlan.zhihu.com/p/38178015
https://www.latexstudio.net/archives/12260.html
https://www.zhihu.com/question/23658979
1.TexLive是必须要有的tex引擎,VSCode的插件只是用来调用texlive方便一些。
2.VSCode的插件默认用pdflatex编译引擎,pdflatex不支持ctex或者xeCJK的编译(中文),所以需要更改setting,用xelatex进行编译: 
"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": "pdfLaTeX",
"tools": [
"pdflatex"
]
},
{
"name": "xelatex",
"tools": [
"xelatex"
]
},
{
"name": "latexmk",
"tools": [
"latexmk"
]
},
{
"name": "bibteX",
"tools": [
"bibtex"
]
},
{
"name": "xelatex -> bibtex -> xelatex × 2",
"tools": [
"xelatex",
"bibtex",
"xelatex",
"xelatex"
]
},
{
"name": "pdflatex -> bibtex -> pdflatex × 2",
"tools": [
"pdflatex",
"bibtex",
"pdflatex",
"pdflatex"
]
}
],
3.中文需要:
\usepausepackage[UTF8]{ctex}
如果电脑默认是UTF8可以去掉。
4.bibtex是用来索引参考文献的,参考:https://www.zhihu.com/question/30344123
版权声明
本文为[zli_]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/4681268/blog/4708276
边栏推荐
- experiment
- [开源] .Net 使用 ORM 访问 华为GaussDB数据库
- Welcome to offer, grade P7, face-to-face sharing, 10000 words long text to take you through the interview process
- 我用 Python 找出了删除我微信的所有人并将他们自动化删除了
- jsliang 求职系列 - 07 - Promise
- Station B STM32 video learning
- TypeScript(1-2-2)
- When to write disk IO after one byte of write file
- I used Python to find out all the people who deleted my wechat and deleted them automatically
- 浅谈OpenGL之DSA
猜你喜欢

The birth of a new integrated memory and computing chip is conducive to the application of artificial intelligence~

.NET 大数据量并发解决方案

Flink's sink: a preliminary study

浅谈,盘点历史上有哪些著名的电脑病毒,80%的人都不知道!

Improvement of rate limit for laravel8 update
![[open source]. Net uses ORM to access Huawei gaussdb database](/img/f8/50715c25a9d49b010cba2ff442c04e.jpg)
[open source]. Net uses ORM to access Huawei gaussdb database

Millet and oppo continue to soar in the European market, and Xiaomi is even closer to apple

AI perfume is coming. Will you buy it?

进入互联网得知道的必备法律法规有哪些?

Your random IO hard disk
随机推荐
京东落地DevOps平台时爆发的冲突如何解决?
Solution to the problem of offline connection between ADB and mobile phone
二叉树的四种遍历方应用
I used Python to find out all the people who deleted my wechat and deleted them automatically
Development of uni app imitating wechat app
uni-app实战仿微信app开发
Blockchain weekly: the development of digital currency is written into the 14th five year plan; Biden invited senior adviser of MIT digital currency program to join the presidential transition team; V
聊聊Go代码覆盖率技术与最佳实践
TypeScript(1-2-2)
laravel8更新之速率限制改进
CSP考试须知与各种小技巧
markdown使用
框架-SPI四种模式+通用设备驱动实现-源码
性能压测时,并发压力增加,系统响应时间和吞吐量如何变化
Build simple business monitoring Kanban based on Alibaba cloud log service
AI perfume is coming. Will you buy it?
PHP生成唯一字符串
2020-11-05
Xiaoqingtai officially set foot on the third day of no return
experiment