Skip to content

广州大学学士学位论文 Typst 模板 gzhu-typst-thesis

License

Notifications You must be signed in to change notification settings

bigsaltyfishes/gzhu-typst-thesis

Repository files navigation

基于 Typst 的广州大学学位论文模板

参考规范

使用方法

Windows 用户

  1. [下载本仓库][download],或者使用 git clone https://github.com/sysu/better-thesis 命令克隆本仓库。
  2. 右键 install_typst.ps1 文件,选择“用 Powershell 运行”,等待 Typst 安装完成。
  3. 根据 Typst 文档,参考 项目结构 中的说明,按照你的需要修改论文的各个部分。
  4. 双击运行 compile.bat,即可生成 thesis.pdf 文件。

Linux/macOS 用户

  1. [下载本仓库][download],或者使用 git clone https://github.com/sysu/better-thesis 命令克隆本仓库。
  2. 使用命令行安装 Rust 工具链以及 Typst:
# 安装 Rust 环境并激活,之前安装过则不需要执行下面这两行
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env

# 安装 Typst CLI
cargo install typst-cli

# 访问缓慢的话,执行以下命令设置清华镜像源,并从镜像站安装
cat << EOF > $HOME/.cargo/config
[source.crates-io]
replace-with = "tuna"

[source.tuna]
registry = "https://mirrors.tuna.tsinghua.edu.cn/git/crates.io-index.git"
EOF
cargo install typst-cli
  1. 根据 Typst 文档,参考 项目结构 中的说明,按照你的需要修改论文的各个部分。
  2. 执行 make 命令,即可生成 thesis.pdf 文件。

项目结构

详见 template\thesis.typ

致谢

  • 感谢 [sysu-thesis-typst] 提供了中山大学的页面样式与初版源码
  • 感谢 [modern-nju-thesis] 提供了一个更好的代码组织架构
  • 感谢中山大学 Typst 模板交流群(797942860)、Typst 中文交流群(793548390)群友的帮助交流。

About

广州大学学士学位论文 Typst 模板 gzhu-typst-thesis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •