当前位置:网站首页>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
边栏推荐
- 构建者模式(Builder pattern)
- 前后端分离跨域问题解决方案
- PHP生成唯一字符串
- 函数分类大pk!sigmoid和softmax,到底分别怎么用?
- Huawei has an absolute advantage in the 5g mobile phone market, and the market share of Xiaomi is divided by the market survey organization
- Solution to cross domain problem of front end separation
- It's just right. It's the ideal state
- Interesting article sharing: what is the difference between C language and C + +, C?
- Gopherchina 2020 Conference
- 10 common software architecture patterns
猜你喜欢
Don't release resources in finally, unlock a new pose!
GopherChina 2020大会
Gopherchina 2020 Conference
Tencent: Although Ali's Taichung is good, it is not omnipotent!
. net large data concurrency solution
C + + opencv4.3 sift matching
Solution to the problem of offline connection between ADB and mobile phone
我用 Python 找出了删除我微信的所有人并将他们自动化删除了
Station B STM32 video learning
构建者模式(Builder pattern)
随机推荐
Xiaoqingtai officially set foot on the third day of no return
TypeScript(1-2-2)
jsliang 求职系列 - 07 - Promise
我用 Python 找出了删除我微信的所有人并将他们自动化删除了
Your random IO hard disk
IT行业薪资一直遥遥领先!十年后的程序员,是否还是一个高薪职业?
RabbitMQ之Helloworld
Build simple business monitoring Kanban based on Alibaba cloud log service
How to solve the conflict when JD landed on Devops platform?
C++的那些事儿:从电饭煲到火箭,C++无处不在
Jsliang job series - 07 - promise
What are the necessary laws and regulations to know when entering the Internet?
It's just right. It's the ideal state
Elasticsearch learning one (basic introduction)
实验
Learn to record and analyze
Learn to record and analyze
Don't release resources in finally, unlock a new pose!
关于adb连接手机offline的问题解决
习题五