47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
# 组会ppt
|
||
|
||
使用typst来制作ppt。模板使用typslides:1.3.0。
|
||
|
||
## 初始化新ppt
|
||
|
||
使用组会当天的日期作为文件名,主文件命名为main.typ。
|
||
使用以下命令初始化。
|
||
|
||
```bash
|
||
typst init @preview/typslides:1.3.0
|
||
mv typslides/* .
|
||
cp main.typ template.typ
|
||
```
|
||
|
||
然后引入codly和设定字体
|
||
|
||
```typst
|
||
#import "@preview/typslides:1.3.0": *
|
||
#import "@preview/codly:1.3.0": *
|
||
#import "@preview/codly-languages:0.1.1": *
|
||
#show: codly-init.with()
|
||
#codly(languages: codly-languages)
|
||
#show raw: set text(font: ("0xProto Nerd Font", "WenQuanYi Micro Hei"))
|
||
|
||
// Project configuration
|
||
#show: typslides.with(
|
||
ratio: "16-9",
|
||
theme: "yelly",
|
||
font: ("0xProto Nerd Font","WenQuanYi Micro Hei"),
|
||
font-size: 20pt,
|
||
link-style: "color",
|
||
show-progress: true,
|
||
)
|
||
```
|
||
|
||
## 语气设定
|
||
|
||
考虑到听众可能在代码与架构设计方面不是很了解,在讲解具体技术方面需要更加通俗易懂,必要的时候结合简单的python来说明。
|
||
|
||
文字风格要全文一致,不要加入很多我的内容没有的风格,不要混杂中英文。
|
||
|
||
## ppt格式说明
|
||
|
||
在中文内容中,不要使用黑体加粗的格式(双星号,**xx**),也不要用斜体的格式(单星号*xx*)。就使用普通的正文格式。
|
||
单页ppt内容不要过多。如果过多,则新建一页ppt。不然自动分页将会打乱排版。
|