当前位置:网站首页>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
边栏推荐
- C + + opencv4.3 sift matching
- Examples of unconventional aggregation
- Using k3s to create local development cluster
- Golang system ping program to detect the surviving host (any permission)
- Solution to cross domain problem of front end separation
- 京东落地DevOps平台时爆发的冲突如何解决?
- AI perfume is coming. Will you buy it?
- Summary: in October, more investment management strategies have come to the new overseas defi project!
- Summary of rendering of water wave and caustics (etching) in webgl
- TypeScript(1-2-2)
猜你喜欢

Build simple business monitoring Kanban based on Alibaba cloud log service

experiment

第二章编程练习

Your random IO hard disk

experiment

How much faster is a server equipped with a SSD than a mechanical hard disk

Do these mistakes in your resume affect your annual salary of one million?

. 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

浅谈,盘点历史上有哪些著名的电脑病毒,80%的人都不知道!
随机推荐
python开发qt程序读取图片的简单流程
.NET 大数据量并发解决方案
On the concurrency of update operation
PHP generates unique strings
C + + things: from rice cookers to rockets, C + + is everywhere
read文件一个字节实际会发生多大的磁盘IO?
Interpretation of deepmind's latest paper: the causal reasoning algorithm in discrete probability tree is proposed for the first time
Arduino IDE搭建ESP8266开发环境,文件下载过慢解决方法 | ESP-01制作WiFi开关教程,改造宿舍灯
Exercise 5
Improvement of rate limit for laravel8 update
c++ opencv4.3 sift匹配
一分钟全面看懂forsage智能合约全球共享以太坊矩阵计划
这几个C++的坑,一旦踩中了,加班是肯定避免不了了!
Tips and skills of CSP examination
Chapter 2 programming exercises
How much disk IO does a byte of read file actually take place?
趣文分享:C 语言和 C++、C# 的区别在什么地方?
[open source]. Net uses ORM to access Huawei gaussdb database
Golang ICMP Protocol detects viable hosts
Xiaoqingtai officially set foot on the third day of no return