硕士学位论文需要latex排版,提前折腾了下下载安装。
1. 使用在线latex工具overleaf进行编译预览,编译不通过少包。
原因使用gbk编码,确实ccmap包。
试过解决方案加入utf-8以及Xelatex编译无效。 放弃
2.使用最简单的ctex+texstudio 进行编译运行
下载ctex稳定版
http://www.ctex.org/CTeXDownload
选择其中一项下载大小1.3G
下载texstudio
http://texstudio.sourceforge.net/
3.安装 一路next安装ctex与texstudio
4.配置
将options->configure texstudio->build->defaultCompiler改为pdflatex
5.测试
\documentclass{article}
\begin{document}
Hello, LaTex.
\end{document}
-----------------------------------------以下非必须,石油大学计科院模板------------------------------------------------------
如果看你原始latex模板,编码,由于我的是gbk编码
所以设置options->configure texstudio->editor->default font encoding GBK
然后退出重启即可
来源:CSDN
作者:Co丿Hx
链接:https://blog.csdn.net/qq_23301703/article/details/103458272