Giter VIP home page Giter VIP logo

zjuthesis's Introduction

浙江大学学位论文 LaTeX 模板

ZJUTHESIS GitHub release GitHub All Releases Commit Since Latest Release GithubAction Gitter

简介

本项目为浙江大学学位论文的 LaTeX 模板,包含本科生、硕士生与博士生模板,以及英文硕博士模板。

This is a LaTeX template for Zhejiang University graduation thesis/design. It provides undergraduate and graduate (master and phd) template. It also provides an English template for graduate students.

CC98 校内讨论贴

Gitter 聊天室

使用

zjuthesis 模板有两种使用方式,Overleaf 或本地编译:

  • Overleaf 是一个线上 LaTeX 编辑器,可以在不安装任何工具的情况下编写 LaTeX 文档,同时也可以和其他人共享文档,共同编辑。
  • 本地编译比 Overleaf 更快,而且本地编译可以使用 Git 来记录版本 (Overleaf 的版本记录功能需要订阅)。推荐有能力的同学设置本地编译环境,并推荐使用 Visual Studio Code 配合 LaTeX workshop 插件 (vscode 使用方式见FAQ)。

Overleaf

  1. 下载模板代码 中的 zjuthesis-overleaf-v*.*.*.zip 文件。
  2. 在 Overleaf 中上传这个 .zip 压缩文件以创建一个新 Overleaf 项目。
  3. 在 Overleaf 界面左上角点击 "Menu"
    • 选择 "Compiler" 为 "XeLaTeX"
    • 选择 "TeX Live version" 为 "2019" 或者更新的版本。
  4. 参照 Overleaf 项目中 fonts/README.md 的说明下载所需字体,并上传到 fonts 文件夹中。
  5. 使用 Overleaf 编译。
    • 选择专业模板与毕业学位的方式参见下文 "本地编译"。

本地编译

  1. 安装 TeXLive 工具包,编译需要 XeTeX 引擎。安装所需的镜像文件可以选用浙江大学开源镜像站提供的镜像以便在校内网下更快下载。

  2. 下载模板代码, 每个专业模板都有预览 pdf 文件,可以单独下载查看。 模板代码请下载 zjuthesis-v*.*.*.zip 文件。

  3. zjuthesis.tex\documentclass[]{zjuthesis} 部分填写个人信息,其中以下信息用于控制文档的生成:

    • Degreeundergraduate 时,编译本科生论文:
    Type Period BlindReview MajorFormat
    thesis: 论文类 proposal: 开题报告 true: 生成盲审用 pdf(隐藏个人信息) 默认: general
    design: 设计类 final: 最终论文/设计 false: 生成提交用 pdf config/format/major/ 下目录名相同
    • Degreegraduate 时,编译硕士生/博士生论文:
    Type BlindReview MajorFormat GradLevel
    thesis: 学术论文 true: 生成盲审用 pdf(隐藏个人信息) 默认: general master: 硕士
    design: 专业学术论文 false: 生成提交用 pdf config/format/major/ 下目录名相同 doctor: 博士
  4. body 目录下编写内容

  5. pages 目录下填写必要的内容,如审核评语等

  6. figure 目录下保存图片,在 body/ref.bib 内插入文献条目

  7. 在根目录下运行命令 latexmk(或者 latexmk -xelatex -outdir=out zjuthesis)即可编译 pdf 文件到 out 目录(该目录不会被记录版本)

注意:

  • 本模板已经兼容 TeXLive 2020。TeXLive 2019 之前的版本复制伪粗体文字会产生乱码,建议单独使用 TeXLive 的同学尽快升级至 2019 或更新的版本
  • 本模板默认情况下使用 general 格式,如需使用其他专业格式,请修改 zjuthesis.tex\documentclass 部分的 MajorFormat
  • 计算机专业的部分页面与学校通用格式不同,如果你是计算机专业的同学,请使用计算机专业的模板

English Template Usage

The English zjuthesis currently only provides graduate student templates (i.e. master and PhD templates). If you are undergraduate student and wish to use English zjuthesis, please open an new GitHub issue or chat with me on Gitter.

Install TexLive and Chinese Fonts, Download zjuthesis

  1. Install TexLive toolchain, zjuthesis relies on XeTeX engine provided by TexLive. You may visit official TexLive website for installation instructions, or visit TexLive mirror provided by Zhejiang University Open Source Mirror Site for better download speed with ZJU on-campus network.
  2. Install several Chinese fonts if you are using English Windows/MacOS:
    1. For Windows: install 仿宋 font (FangSong) and 宋体 font (STSong and SimSun), or you can install fonts for all languages which includes all the fonts required.
    2. For MacOS: install 仿宋 font (STFangSong) and 宋体 font (Songti SC).
  3. Download zjuthesis template code. The code is named as zjuthesis-v*.*.*.zip. You may also download the PDF files with -english in filename for preview.

Usage

After installing TexLive and downloading zjuthesis code, you can start to write your thesis:

  1. Open zjuthesis.tex file in template code, set \documentclass fields as follows (remember to set Degree = graduate and Language = english, all settings are case sensitive):

    Field Value
    Degree graduate
    Type thesis or design
    MajorFormat general
    Language english
    GradLevel master or doctor
  2. Update the thesis content under body/graduate directory, put your figures and graphs under figure directory, update special pages (e.g. thesis cover) under page/graduate-eng directory, put your biblography in body/ref.bib.

  3. To compile the zjuthesis template, open a command prompt (Windows) or terminal (MacOS/Linux), navigate the zjuthesis root directory, execute latexmk command. latexmk can compile the whole zjuthesis template including updating contents and biblography.

Slides 模板

这是作者用于毕业答辩的一个 Slides 模板,现在转移到 GitHub/Gitee 方便同学们连同 LaTeX 模板一起下载:

参考文档

常见问题与解决方案请参考FAQ,模板使用请参考使用手册,模板修改与二次开发请参考开发手册

开源许可

本项目代码基于 MIT 协议开源

学校标志与学校文件的版权归浙江大学所有

zjuthesis's People

Contributors

thenetadmin avatar azdet avatar megrxu avatar

Watchers

James Cloos 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.