当前位置:网站首页>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
边栏推荐
猜你喜欢
Don't release resources in finally, unlock a new pose!
搭载固态硬盘的服务器究竟比机械硬盘快多少
PHP generates unique strings
3、 The parameters of the function
laravel8更新之速率限制改进
[open source]. Net uses ORM to access Huawei gaussdb database
I used Python to find out all the people who deleted my wechat and deleted them automatically
Flink的sink实战之一:初探
C + + opencv4.3 sift matching
函数分类大pk!sigmoid和softmax,到底分别怎么用?
随机推荐
TypeScript(1-2-2)
What is forsage Ethereum smart contract? What is the global decline of Ethereum
(O) Analysis of service manager (1) BinderInternal.getContextObject
How does the system response time and throughput change with the increase of concurrency pressure during performance pressure testing
Application of four ergodic square of binary tree
RestfulApi 学习笔记——父子资源(四)
基于阿里云日志服务快速打造简版业务监控看板
浅谈,盘点历史上有哪些著名的电脑病毒,80%的人都不知道!
Your random IO hard disk
markdown使用
第五章编程题
Five phases of API life cycle
.NET 大数据量并发解决方案
Learn to record and analyze
(O)ServiceManager分析(一)之BinderInternal.getContextObject
I used Python to find out all the people who deleted my wechat and deleted them automatically
Travel notes of Suzhou
Summary: in October, more investment management strategies have come to the new overseas defi project!
IT行业薪资一直遥遥领先!十年后的程序员,是否还是一个高薪职业?
IT industry salary has been far ahead! Ten years later, is the programmer still a high paying profession?