当前位置:网站首页>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
边栏推荐
- 刚刚好,才是最理想的状态
- 契约式设计(Dbc)以及其在C语言中的应用
- How to make a correct summary for 7 years?
- GopherChina 2020大会
- Summary: in October, more investment management strategies have come to the new overseas defi project!
- 基于阿里云日志服务快速打造简版业务监控看板
- Restfulapi learning notes -- father son resources (4)
- Application of four ergodic square of binary tree
- Apache Kylin远程代码执行漏洞复现(CVE-2020-1956)
- SQL quick query
猜你喜欢
It's just right. It's the ideal state
I used Python to find out all the people who deleted my wechat and deleted them automatically
这几个C++的坑,一旦踩中了,加班是肯定避免不了了!
机械硬盘随机IO慢的超乎你的想象
CSP考试须知与各种小技巧
How much disk IO does a byte of read file actually take place?
Comics: looking for the best time to buy and sell stocks
Huawei has an absolute advantage in the 5g mobile phone market, and the market share of Xiaomi is divided by the market survey organization
我用 Python 找出了删除我微信的所有人并将他们自动化删除了
What are the necessary laws and regulations to know when entering the Internet?
随机推荐
Talking about, check the history of which famous computer viruses, 80% of the people do not know!
Talk about go code coverage technology and best practices
使用K3S创建本地开发集群
C++的那些事儿:从电饭煲到火箭,C++无处不在
Flink的sink实战之一:初探
2020-11-05
It's just right. It's the ideal state
框架-SPI四种模式+通用设备驱动实现-源码
实验
WebGL 水波及焦散(刻蚀)的渲染总结
laravel8更新之维护模式改进
How much faster is a server equipped with a SSD than a mechanical hard disk
Framework - SPI four modes + general device driver implementation - source code
One minute comprehensive understanding of forsage smart contract global shared Ethereum matrix plan
On the concurrency of update operation
Is there no way out for older programmers?
Simple process of reading pictures by QT program developed by Python
性能压测时,并发压力增加,系统响应时间和吞吐量如何变化
c++ opencv4.3 sift匹配
API生命周期的5个阶段