GithubHelp home page GithubHelp logo

sorryto / pkuthss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thesharing/pkuthss

0.0 0.0 0.0 1.85 MB

LaTeX template for dissertations in Peking University

TeX 73.26% Makefile 2.04% PostScript 23.18% Batchfile 1.52%

pkuthss's Introduction

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模板由CapserVector改为biblatex-gb7714-2015

Environment

参考 VSCode + LaTeX

For TeX compiler:

  1. Install TeXLive 2020 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. hushidong/biblatex-gb7714-2015
  4. VSCode + LaTeX
  5. 使用VSCode编写LaTeX
  6. 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"
            ]
        }
    ]
}

pkuthss's People

Contributors

thesharing 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.