style(template): fix Heading3-5 font sizes and update demo

- Heading3: 12pt, Heading4-5: 11pt
- Update demo.md with comprehensive elements (title, headings, tables, lists, quotes, math)
- Regenerate demo.docx with auto post-processing
- Add python-docx dependency (used for template creation)
This commit is contained in:
Zhengshou Lai
2026-05-19 23:08:37 +08:00
parent 32834613dd
commit 7600b558cd
4 changed files with 44 additions and 19 deletions
+1
View File
@@ -8,6 +8,7 @@ dependencies = [
"openai>=1.60", "openai>=1.60",
"pillow>=11.3.0", "pillow>=11.3.0",
"pypdf>=6.10.1", "pypdf>=6.10.1",
"python-docx>=1.1.0",
] ]
[project.scripts] [project.scripts]
Binary file not shown.
+43 -19
View File
@@ -1,31 +1,55 @@
# 示例文档 ---
title: "Template Demo 模板演示"
---
这是一份使用默认 Word 模板生成的示例文档,展示基础排版效果。 > 这是一段引用块(BlockText),用于展示引用样式的排版效果。This is a block quote to demonstrate the typography.
## 二级标题 # 1. Heading 1 一级标题
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 这是一段普通正文,包含中英文混排。This paragraph demonstrates mixed Chinese-English typography with Cambria + SimSun font pairing. 首行缩进两个字符,两端对齐,段前距 6pt。
### 三级标题 这是第二段正文,用于展示段落间距。在 Word 中,段前距统一为 6pt,确保段落之间有适当的呼吸空间。
- 无序列表项一 ## 1.1 Heading 2 二级标题
- 无序列表项二
- 无序列表项三
1.序列表项一 以下是一个无序列表
2. 有序列表项二
3. 有序列表项三
**粗体文字***斜体文字* 的混排效果。 - 列表项一
- 列表项二
- 列表项三
> 这是一段引用文本,用于展示引用样式。 ### 1.1.1 Heading 3 三级标题
以下是一个有序列表:
1. 第一步
2. 第二步
3. 第三步
#### 1.1.1.1 Heading 4 四级标题
这是一段包含**粗体**和*斜体*的文本,用于展示字符格式。
##### 1.1.1.1.1 Heading 5 五级标题
这是一段包含行内公式 $E = mc^2$ 的文本。
--- ---
## 表格 ## 1.2 表格演示
| 姓名 | 单位 | 职称 | | 维度 | 核心问题 | 说明 |
|------|------|------| |------|---------|------|
| 张三 | 中山大学 | 教授 | | 固体描述方式 | 连续体 vs 离散颗粒 | 关键分类维度 |
| 李四 | 清华大学 | 副教授 | | 界面处理层级 | 体积力 vs 表面力 | 影响计算精度 |
| 王五 | 北京大学 | 讲师 | | 颗粒-网格尺度比 | $\ll 1$ vs $\sim 1$ vs $\gg 1$ | 方法选择依据 |
---
## 1.3 另一个表格
| 方法 | $d_p/\Delta x$ | 界面处理 | 计算成本 |
|------|---------------|---------|---------|
| CFD-DEM | $< 0.5$ | 体积平均 | 中 |
| IBM-DEM | $> 3$ | 表面力源 | 高 |
| SPH-DEM | 任意 | 无网格 | 高 |
Binary file not shown.