Ycmiao / XMU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XMU 中英文版本

英文版本:

XMU-egthesis-template.zip

中文版本:

XMU-thesis-template.zip

运行脚本

  • 系统环境用texlive2018以上版本,配置好环境后,可执行

  • windows系统点击运行XMU-thesis-run.bat脚本

  • linux系统以及mac系统请点击运行XMU-thesis-run.sh脚本

运行命令

本模板使用~\XeTeX~ 引擎提供的~\XeLaTeX~的命令处理

如使用Texmaker等编辑器,可使用自定义命令对文档快速构建:

xelatex -no-pdf -interaction=nonstopmode %.tex

bibtex %

xelatex -no-pdf -interaction=nonstopmode %.tex

xelatex -interaction=nonstopmode %.tex

更新添加伪代码:

在XMU-thesis-grd.cls文件中添加:

%% algorithm package \RequirePackage{algorithm,algorithmicx,algpseudocode}

\floatname{algorithm}{算法}

\renewcommand{\algorithmicrequire}{\textbf{输入:}}

\renewcommand{\algorithmicensure}{\textbf{输出:}}

\renewcommand\thealgorithm{\arabic{chapter}.\arabic{algorithm}}

例子https://blog.csdn.net/miao0967020148/article/details/110677763

添加Wordcount.bat:统计文字个数

cmd->命令提示符

切换到文本所在的目录下

cd E:\Thesis\XMU-thesis-template

运行:

.\Wordcount.bat clean # 删除编译所产生的中间文件

.\Wordcount.bat cleanall # 删除 main.pdf 和所有中间文件

.\Wordcount.bat wordcount # 论文字数统计

使用中,如有问题,请入群或CSDN中LaTeX模板

About