当前位置:网站首页>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
边栏推荐
- 2035 we will build such a country
- Chapter 5 programming
- Tips and skills of CSP examination
- Don't release resources in finally, unlock a new pose!
- jsliang 求职系列 - 07 - Promise
- awk实现类sql的join操作
- On DSA of OpenGL
- 我用 Python 找出了删除我微信的所有人并将他们自动化删除了
- 这几个C++的坑,一旦踩中了,加班是肯定避免不了了!
- Restfulapi learning notes -- father son resources (4)
猜你喜欢
第二章编程练习
When to write disk IO after one byte of write file
How to make a correct summary for 7 years?
Simple process of reading pictures by QT program developed by Python
Station B STM32 video learning
Builder pattern
习题五
Application of four ergodic square of binary tree
趣文分享:C 语言和 C++、C# 的区别在什么地方?
CSP考试须知与各种小技巧
随机推荐
阿里云的MaxCompute数加(原ODPS)用的怎样?
Improvement of rate limit for laravel8 update
搭载固态硬盘的服务器究竟比机械硬盘快多少
Restfulapi learning notes -- father son resources (4)
Tencent: Although Ali's Taichung is good, it is not omnipotent!
Js中常见的内存泄漏场景
How to cooperate with people in software development? |Daily anecdotes
2035 we will build such a country
2020-11-05
LeanCloud 十月变化
C + + things: from rice cookers to rockets, C + + is everywhere
Flink's sink: a preliminary study
[open source]. Net uses ORM to access Huawei gaussdb database
How much disk IO does a byte of read file actually take place?
Your random IO hard disk
Examples of unconventional aggregation
Golang ICMP协议探测存活主机
Mac环境安装Composer
京东落地DevOps平台时爆发的冲突如何解决?
学习记录并且简单分析