首先确保环境的配置正确。
默认的编辑器为:XeLaTeX。
默认的字体编码为:UTF8。
接着要引入中文包
\usepackage{ctex}
其中:
\title{\heiti 杂谈勾股定理} %\heiti ,是黑体。
\newcommand\degree{^\circ} %没有degree命令,自己定义命令。
\begin{equation} %产生的公式有序号。
其他补充:
下面来自:https://blog.csdn.net/lyhan1998/article/details/79588078
在Dos命令行中,输入命令"texdoc ctex"可以查看ctex宏包手册。
通过texdoc 命令,我们可以查找任何一个帮助文件。
这里我们用"texdoc lshort-zh"
参考文章:https://blog.csdn.net/lyhan1998/article/details/79588078