Skip to content

LaTeX template for dissertations in Peking University

Notifications You must be signed in to change notification settings

Mrzhouqifei/pkuthss

 
 

Repository files navigation

pkuthss: LaTeX template for dissertations in Peking University

Source: CasperVector/pkuthss

Changes

相比于原模板有以下改动:

  • 修改了copy.tex的行距
  • 修改了origin.tex的勾选框和行距
  • 将make.bat和Makefile中默认编译方式改为xelatex
  • 将Hyperlink的颜色修改为黑色
  • 为目录添加了点线
  • 增加了nopkumathfont选项,仅将数学公式字体恢复为默认字体
  • 将页眉修改为“硕士学位论文”(如果需要修改成其他的,参考pkuthss.cls的313行)
  • 修改了封面标题的字体大小
  • 为中英文关键字添加了缩进
  • 将Bibtex的排序方式修改为引用顺序制

How to install original version?

参考 TeX Live + pkuthss 安装使用傻瓜指南 v0.1.6

Environment

参考 VSCode + LaTeX

For TeX compiler:

  1. Install TeXLive 2019 here.

For editor:

  1. Install Visual Studio Code here.
  2. Install LaTeX Workshop here.
  3. Install LaTeX Untilities here

For bibliography:

  1. Install Zotero here.
  2. Install ZotFile here.
  3. Install Better BibTex for Zotero here.

Recommend:

Use MathPix Snip to OCR the equations.

Compile

For Windows, run make.bat doc.

For Linux/macOS, run make doc.

Reference

  1. TeX Live + pkuthss 安装使用傻瓜指南 v0.1.6
  2. CasperVector/pkuthss
  3. VSCode + LaTeX
  4. 使用VSCode编写LaTeX
  5. VS Code 与 LaTeX 真乃天作之合

Appendix

LaTeX Workshop Setting

{
    "latex-workshop.latex.tools": [
        {
            "name": "xelatex",
            "command": "xelatex",
            "args": [
                "-synctex=1",
                "-interaction=nonstopmode",
                "-file-line-error",
                "%DOC%"
            ]
        }, 
        {
            "name": "biber",
            "command": "biber",
            "args": [
                "-l",
                "zh__pinyin",
                "--output-safechars",
                "%DOCFILE%"
            ],
        }
    ],
    "latex-workshop.latex.recipes": [
        {
            "name": "Compile thesis",
            "tools": [
                "xelatex",
                "biber",
                "xelatex",
                "xelatex"
            ]
        }
    ]
}

About

LaTeX template for dissertations in Peking University

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TeX 72.5%
  • PostScript 23.8%
  • Makefile 2.1%
  • Batchfile 1.6%