LaTeX新手上路

1.环境确认

C:\Users\latex>ver
Microsoft Windows [版本 10.0.10240]

2.下载并安装TexLive2015

安装之前记得把所有Tex环境先清除,包括MikTex/CTex之类的.免得麻烦!

C:\Users\latex>tex
This is TeX, Version 3.14159265 (TeX Live 2015/W32TeX) (preloaded format=tex)
**

恭喜,安装成功!!

3.选择一款编辑器

这里我选择TeXstudio,下载网址:
http://texstudio.sourceforge.net/
然后默认安装,安装好后修改Default Compiler:
Opitons–>Configure TeXstudio–>Build–>Default Compiler 选择XeLaTeX.

4.找个好模版

到这里下载清华的论文模版:
https://github.com/xueruini/thuthesis
解压到一个目录,如c:\thuthesis-master

5.编译测试

#进入论文路径
cd c:\thuthesis-master
#编译main.tex
latexmk -xelatex main.tex
#清理临时文件
latexmk -c

不出意外的话c:\thuthesis-master目录下将出现一个main.pdf

6.关于文档

由于这个LaTeX在国内太高冷,网上很多文档都过期了,特别是关于中文处理之类的.文档推荐:

  • lshort-new-zh-cn.pdf
    https://github.com/louisstuart96/lshort-new-zh-cn

  • texlive-zh-cn.pdf
    在你的本地安装目录里面
    C:\texlive\2015\texmf-dist\doc\texlive\texlive-zh-cn\texlive-zh-cn.pdf

  • thuthesis.pdf
    在你的本地安装目录里面
    C:\texlive\2015\texmf-dist\doc\latex\thuthesis\thuthesis.pdf

  • 刘海洋. 《LATEX入门》2013版,电子工业出版社

猜你喜欢

转载自blog.csdn.net/dgatiger/article/details/51594146