当前位置:网站首页>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
边栏推荐
- One minute comprehensive understanding of forsage smart contract global shared Ethereum matrix plan
- Interesting article sharing: what is the difference between C language and C + +, C?
- 性能压测时,并发压力增加,系统响应时间和吞吐量如何变化
- Returning to the third place in the world, what did Xiaomi do right?
- 苏州游记
- 腾讯:阿里的大中台虽好,但也不是万能的!
- API生命周期的5个阶段
- GopherChina 2020大会
- Golang system ping program to detect the surviving host (any permission)
- Arduino ide build esp8266 development environment, slow file download solution | esp-01 make WiFi switch tutorial, transform dormitory lights
猜你喜欢
随机推荐
(O)ServiceManager分析(一)之BinderInternal.getContextObject
这几个C++的坑,一旦踩中了,加班是肯定避免不了了!
I used Python to find out all the people who deleted my wechat and deleted them automatically
laravel8更新之速率限制改进
Huawei has an absolute advantage in the 5g mobile phone market, and the market share of Xiaomi is divided by the market survey organization
进入互联网得知道的必备法律法规有哪些?
How to cooperate with people in software development? |Daily anecdotes
Interesting article sharing: what is the difference between C language and C + +, C?
刚刚好,才是最理想的状态
How does Alibaba cloud's maxcompute add (original ODPs) work?
IT industry salary has been far ahead! Ten years later, is the programmer still a high paying profession?
I used Python to find out all the people who deleted my wechat and deleted them automatically
LiteOS-消息队列-实战
Js中常见的内存泄漏场景
I used Python to find out all the people who deleted my wechat and deleted them automatically
Learn to record and analyze
Travel notes of Suzhou
技术总监7年总结,如何进行正确的沟通?
2035 we will build such a country
experiment



