Giter VIP home page Giter VIP logo

cumtthesis's Introduction

上海交通大学学位论文模板

这是为撰写上海交通大学学士、硕士或博士论文而准备的 XeLaTeX 模板,非官方出品。生成的学位论文文件参见 README.pdf,详细使用说明参见 SJTUThesis Wiki,欢迎大家分享使用经验。

如何使用

SJTUThesis可以在本地编译,也可以在线编译。

本地编译 - 系统需求

TeX 发行版

SJTUThesis 需要使用 XeTeX 引擎编译。2016年的 TeXLiveMacTeX 发行版都能编译此模板。Windows 下的 CTeX(2.9.2) 也能顺利编译此模板。Windows用户推荐使用 Babun 作为命令行终端。Babun 已默认安装有这些工具:git(版本控制)、GNUmake(编译控制)、perl(字数统计)。

字体

中英文分别依赖 Adobe 的四套简体中文字体和 TeX Gyre Termes 西文字体。Tex Gyre Termes 可从 CTAN 下载四种不同字型。出于版权考虑,需要大家自行解决 AdobeSongStd, AdobeKaitiStd, AdobeHeitiStd, AdobeFangsongStd 四款中文字体的授权问题。

获取模板

根据「系统需求」中情形选择适合你系统情况的分支,然后根据情况选择 git 克隆最新版代码或者下载稳定版压缩包。

终端中克隆最新版

cd
git clone https://github.com/weijianwen/SJTUThesis.git

如果之前有克隆过此模板但是想与 GitHub 上的最新版本同步,以master分支为例,执行以下命令更新到最新版。

git pull origin master

若是自己 fork 后克隆下来的,则执行以下命令。

git pull upstream master

压缩包下载

SJTUThesis提供了多个稳定版供您使用,这些版本的输出结果具有相近的外观,但依赖不同的TeXLive发行版和参考文献处理程序。

TeXLive发行版 参考文献风格 SJTUThesis版本
2016 GB7714 0.9.5

编译模板

编译模板,生成学位论文PDF文件。GNUMake将调用latexmk程序,自动完成模板的多轮编译。

make pvc

定稿后可使用以下命令生成最终版本。

make clean thesis.pdf

若需要生成用于提交盲审的论文(隐去作者、导师等信息),可在thesis.tex中为sjtuthesis文档类添加review选项。 若需要生成包含“原创性声明扫描件”和“授权书”签名扫描件的学位论文,请将扫描件分别保存为pdf/origignal.pdfpdf/authorization.pdf,然后添加submit选项重新编译模板。

Windows用户编译

双击compile.bat即可完成编译过程,生成thesis.pdf,不依赖于 GNUMake。

字数统计

make wordcount

问题诊断

编译失败时,可以尝试手动逐次编译。 结合文档 README.pdf 中的说明,有助于定位故障。

xelatex -no-pdf thesis
biber --debug thesis
xelatex thesis
xelatex thesis

反馈问题

建议以如下的顺序反馈使用问题:

后续工作计划

  • 精简代码;
  • 改进开章页设计;

软件许可证

上海交通大学校徽图片(sjtulog.png)和横幅图片(sjtubanner.png)的版权归原作者所有。其他部分使用 Apache License 2.0 授权。

cumtthesis's People

Contributors

0ssifrage avatar 0x333333 avatar at15 avatar billryan avatar bluaxe avatar endle avatar facaiy avatar frandy avatar gaocegege avatar goodbest avatar jiajunw avatar lastland avatar liaorc avatar linhao-sjtu avatar oncemore2020 avatar scotv avatar tq5124 avatar weijianwen avatar yanlongli avatar zjing7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.