Skip to content

memset0/ZJU-Project-Report-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZJU-Project-Report-Template License

简体中文 | English

Typst 是一种新兴的文本标记语言,被认为是 LaTeX 的继任者。本项目是一个基于 Typst 的浙江大学课程实验报告模板,主要面向“数据结构基础(211C0020)”和“数字逻辑设计(211C0060)”等课程。

要求:Typst 版本需大于等于 0.13。推荐在 VS Code 中安装最新版的 tinymist 插件实现编辑与预览的一体化。

配置

主题

目前我提供了两种主题,分别对应浙大计算机类课程中常见的实验报告和项目报告。

theme: project theme: lab
fds_report_1 dd_report_1
fds_report_2 dd_report_2
fds_report_3 dd_report_3

字体

我已为衬线、无衬线和等宽字体配置了默认的回退选项,你可以通过修改 font_seriffont_sans_seriffont_mono 参数进行设置。

不过,为了获得更好的渲染体验,推荐使用支持任意字重的中文字体,如 思源宋体 SC

特性

块(Blocks)

我们提供了一系列块函数,带来类似 Obsidian 中 callout 的体验。你可以通过修改 block_theme 参数设置主题。

#note(name: [拉格朗日反演定理])[
  给定幂级数 $F(x)$$G(x)$,满足 $F(G(x))=G(F(x))=x$,则 $F(x)$ 的第 n 项系数为
  $ [x^n] F(x) = 1/n [x^(-1)] 1/(G^n (x)). $
]

我们还提供了如下别名:exampleproofabstractsummaryinfonotetiphintsuccessimportanthelpwarningattentioncautionfailuredangererrorbugquoteciteexperimentquestionanalysis

themed blocks

贡献

如果你想为本项目提交代码,请先使用推荐的格式化工具 typstyle 进行格式化。请不要提交未经格式化的代码。

友情链接

About

Yet another Zhejiang University project reports template written in Typst

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages