当前位置:网站首页>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
边栏推荐
- . net large data concurrency solution
- Welcome to offer, grade P7, face-to-face sharing, 10000 words long text to take you through the interview process
- Alibaba cloud accelerates its growth and further consolidates its leading edge
- How much disk IO does a byte of read file actually take place?
- 2020-11-05
- Golang ICMP Protocol detects viable hosts
- 关于adb连接手机offline的问题解决
- 机械硬盘随机IO慢的超乎你的想象
- Awk implements SQL like join operation
- 框架-SPI四种模式+通用设备驱动实现-源码
猜你喜欢

Is there no way out for older programmers?

Application of four ergodic square of binary tree

It's just right. It's the ideal state

LiteOS-消息队列

The first open source Chinese Bert pre training model in the financial field

(O) Analysis of service manager (1) BinderInternal.getContextObject

学习记录并且简单分析

3、 The parameters of the function

搭载固态硬盘的服务器究竟比机械硬盘快多少

Comics: looking for the best time to buy and sell stocks
随机推荐
进入互联网得知道的必备法律法规有哪些?
2020-11-05
c++ opencv4.3 sift匹配
Do these mistakes in your resume affect your annual salary of one million?
二叉树的四种遍历方应用
How to make a correct summary for 7 years?
Is there no way out for older programmers?
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
GopherChina 2020大会
The birth of a new integrated memory and computing chip is conducive to the application of artificial intelligence~
Build simple business monitoring Kanban based on Alibaba cloud log service
实验
TypeScript(1-2-2)
Js中常见的内存泄漏场景
总结: 10月海外DeFi新项目,更多资管策略来了!
这几个C++的坑,一旦踩中了,加班是肯定避免不了了!
Dev-c++在windows环境下无法debug(调试)的解决方案
Using k3s to create local development cluster
Learn to record and analyze
Simple process of reading pictures by QT program developed by Python