这份文档算是 lshort-zh-cn 的 Typst 移植版, 文档的大部分内容是模仿 lshort 的方式编写,在部分地方调整为对应的 Typst 内容, 并且对于常见的排版问题做了一定的补充说明。
- 暂停编写,直到参考文献能够正常显示,包括 issues/312、 issues/339、 issues/291 和 issues/325
- 完成大概内容编写,目前已完成前五章内容。
- 等 Typst 能够处理好换行空格问题后重新排版和调整内容。
This document is licensed under the GNU Free Documentation License, Version 1.3.
For detailed information, please refer to the section titled "GNU Free Documentation License" in this document,
or consult the source file license.typ
.
- 安装最新版本的 Typst 工具,或者更新 Typst 到最新版本。
- 准备好文档所使用的字体,可以参考 字体。
对于 Shell 用户,可以在项目根目录使用准备好的脚本进行文档生成:
./build.sh
也可以直接使用 typst
进行编译:
typst compile "src/tshort.typ" \
--font-path "fonts/" \
--ignore-system-fonts \
"tshort.pdf"
生成后的文档可以在项目根目录下找到。
下面是本文档所使用的字体列表:
- 衬线字体:Source Han Serif SC
- 无衬线字体:Sarasa Gothic SC
- 等宽字体:Sarasa Fixed Slab SC
- 数学字体:New Computer Modern Math
- 西文字体:New Computer Modern
- 其他字体:Zhuque Fangsong,Noto Color Emoji
对应仓库:
- Source Han Serif: https://github.com/adobe-fonts/source-han-serif
- Sarasa Gothic:https://github.com/be5invis/Sarasa-Gothic
- New Computer Modern:https://ctan.org/pkg/newcomputermodern
- 朱雀仿宋: https://github.com/TrionesType/zhuque
- Noto Emoji: https://github.com/googlefonts/noto-emoji