# nputhesisTemplate **Repository Path**: zhou-jiming/nputhesis-template ## Basic Information - **Project Name**: nputhesisTemplate - **Description**: 西北工业大学论文写作模板,基于emacs + xelatex编排论文。另附一个WPS模板文件,内含论文撰写时常用的样式,可按需修改。 - **Primary Language**: TeX/LaTeX - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-30 - **Last Updated**: 2024-04-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 文件说明 本文件(README.md)主要包含三个内容: 1.simpleDoctemplate部分: simpleDoctemplate.org是一个示例文档,该文档导出pdf文件时,不包括标题和目录,只包括正文内容,使用的是article文档类。 2.Yet-Another-LaTeX-Template-for-NPU-Thesis-master部分: Yet-Another-LaTeX-Template-for-NPU-Thesis-master.zip是一个打包文件,来自于github, 内容论文撰写的yanputhesisEmacsTemplate.tex模板文件,只要按需更改论文内容,利用texstudio编译即可输出pdf格式的论文; yanputhesisEmacsTemplate.org是使用Emacs编写论文时使用的模板,里面使用了yanputhesis模板,按需修改内容,导出pdf即可。 3.WPS模板部分 WPS常用自定义样式.wpt是WPS软件的模板文件,双击可编写WPS文档,里面内置了许多论文撰写时常用的样式,可酌情自行修改。 注1:本模板需要用Texlive2021及以上版本 注2:本模板包含硕博盲评及非盲评多种论文类型,可根据需求自行选择 %% 博士、正常版本、不使用 Adobe 字体 %% \documentclass[lang=chs, degree=phd, blindreview=false, adobe=false]{yanputhesis} %% 博士、盲评版本、不使用 Adobe 字体 %% \documentclass[lang=chs, degree=phd, blindreview=true, adobe=false]{yanputhesis} %% 博士、正常版本、强制使用 Windows 系统字体 \documentclass[lang=chs, degree=phd, blindreview=false, winfonts=true]{yanputhesis} %% 硕士、正常版本、不使用 Adobe 字体 %% \documentclass[lang=chs, degree=master, blindreview=false, adobe=false]{yanputhesis} %% 硕士、盲评版本、不使用 Adobe 字体 %% \documentclass[lang=chs, degree=master, blindreview=true, adobe=false]{yanputhesis} 注3:.emacs文件是Emacs软件的配置文件,只包括了非常简单的配置,包括两个常用的文档类,elegantbook和西北工业大学学位论文模板类yanputhesis,在用Emacs软件写org文档时, 可使用#+LaTeX_CLASS: 文档类 指定文档的类别,若使用以上两个模板,需要将C:\Users\dell\AppData\Roaming目录下.emacs文件替换为文件夹里的.emacs文件。 注4:关于西北工业大学学位论文模板类yanputhesis,关于其文献引用,可以使用两种模式, (1)第一种模式(本模板【包括org或tex文件】目前使用此种模式) 需要调用以下头文件 \usepackage{amsmath,metalogo,blindtext} \usepackage[binary-units=true]{siunitx} \usepackage[backend=bibtex,style=gb7714-2015]{biblatex} 并指定参考文献数据库,\addbibresource{ref},可以使用多个指定不同的文献数据库,如再增加\addbibresource{reference} 并且需要将yanputhesis.cls中234-236之间的代码注释掉以下三行 %\RequirePackage[numbers, sort&compress]{natbib} % 参考文献 %\let\oldcite\cite % 参考文献 %\renewcommand{\cite}[1]{\textsuperscript{\oldcite{#1}}} % 上标引用形式 (2)第二种模式 删除或注释掉当前模板【包括org或tex文件】中的以下头文件 \usepackage{amsmath,metalogo,blindtext} \usepackage[binary-units=true]{siunitx} \usepackage[backend=bibtex,style=gb7714-2015]{biblatex} \addbibresource{ref} \addbibresource{reference} 并且需要将yanputhesis.cls中234-236之间的代码注释取消掉—— \RequirePackage[numbers, sort&compress]{natbib} % 参考文献 \let\oldcite\cite % 参考文献 \renewcommand{\cite}[1]{\textsuperscript{\oldcite{#1}}} % 上标引用形式 并在待输出的参考文献位置,增加以下两行,用于输出参考文献列表 \bibliographystyle{nputhesis-noslash} % 参考文献改进格式 \bibliography{reference} % 参考文献