Skip to content

Commit 1fc33c6

Browse files
Merge branch 'main' into cleveref
2 parents ed79e5d + 20d64a7 commit 1fc33c6

File tree

5 files changed

+67
-43
lines changed

5 files changed

+67
-43
lines changed

pnpm-lock.yaml

Lines changed: 16 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wiki/assets/symbols-variant.png

67.6 KB
Loading

wiki/faq/symbols-bracket.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
tag:
3+
- bithesis
4+
- text
5+
---
6+
7+
# 「主要符号对照表」如何写中括号?
8+
9+
编译器无法正常解析`\item[$[A]_n$]`,可套大括号改成`\item[{…}]`,帮助解析器分组。
10+
11+
```latex
12+
\begin{symbols}
13+
\item[{$[A]_n$}] 「主要符号对照表」中这样写括号
14+
\end{symbols}
15+
```
16+
17+
具体解释请参考:[LaTeX 命令的可选参数不能有方括号么? - 刘海洋的回答 - 知乎](https://www.zhihu.com/question/27515460/answer/36948635)

wiki/faq/symbols-variant.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,32 @@ tag: bithesis
88

99
硕博模板的`symbols`环境实现了「主要符号对照表」,那么怎样构造「缩略词表」?
1010

11-
![Image](https://github.com/user-attachments/assets/4946b8c8-c703-4ba0-8fe4-f377957bd714)
11+
![](../assets/symbols-variant.png)
1212

1313
[「主要符号对照表」的实现很简单](https://github.com/BITNP/BIThesis/blob/eb2b93d358eda69cbdb0e6dced1d80c53d8958b4/bithesis.dtx#L3318-L3347),并不支持改成三列的「缩略词表」。
1414

1515
如果想要「缩略词表」,可以编辑`misc/0_symbols.tex`,直接写表格:
1616

17-
```latex
17+
```latex {14-17}
1818
\chapter*{缩略词表}
1919
20-
\centering
21-
\begin{tabular}{lll}
22-
\textbf{英文缩写} & \textbf{英文全称} & \textbf{中文全称} \\
23-
ADMM & Alternation Direction Method of Multipliers & 交替方向乘子法 \\
24-
\end{tabular}
20+
\vspace{-1ex} % 在竖直方向略微删除空白
21+
22+
\begin{center}
23+
\BITSetup{
24+
misc = {
25+
tabularFontSize = -4, % 字号从五号恢复为小四
26+
tabularRowSeparation = 1.1, % 各行之间的距离设为默认的 1.1 倍
27+
},
28+
}
29+
30+
\begin{tabular}{lll} % 三列都左对齐
31+
\textbf{英文缩写} & \textbf{英文全称} & \textbf{中文全称} \\
32+
EVA & extravehicular activity & 舱外活动 \\
33+
EVA & ethylene-vinyl acetate & 聚乙酸乙烯酯 \\
34+
EVA & extreme value analysis & 极值分析 \\
35+
\end{tabular}
36+
\end{center}
2537
2638
\clearpage
2739
```

wiki/guide/downloading-using-templates.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,22 @@
55

66
- 阅读本 **Wiki**[从这里开始](./preface.md)
77
- **快速使用指南**[本科][undergraduate-handbook][硕博][graduate-handbook]
8-
:::
98

10-
## 到 Releases 下载模板并解压
9+
:::
1110

12-
前往 [GitHub Releases][releases],下载你希望使用的模板压缩包,解压到本地即可使用。
11+
## Releases 下载模板包并解压
1312

14-
最新 Release 版本: 👉 [BIThesis - Latest Release][latest-release]
13+
最新版本:👉 [BIThesis - Latest Release][latest-release]
1514

16-
在 Releases 页面,你会看到:
15+
前往 [GitHub Releases][releases],下载你需要的模板包,解压到本地即可使用。
1716

18-
- `undergraduate-thesis.zip`:本科生毕业设计毕业论文模板压缩包
19-
- `graduate-thesis.zip`:研究生学位论文模板压缩包
20-
- `lab-report.zip`:实验报告模板压缩包
17+
- 模板包·本科·毕业设计·论文 — `undergraduate-thesis.zip`
18+
- 模板包·硕博·学位论文 — `graduate-thesis.zip`
19+
- 模板包·实验报告 — `lab-report.zip`
2120
- ……
2221

2322
![Templates from GitHub Release](../assets/templates-from-release.png)
2423

25-
根据你的选择,下载其中你需要的模板即可。
26-
2724
:::tip ⛔ 无须克隆仓库
2825
只从 [GitHub Releases][releases] 下载压缩包即可,不需要也不建议`git clone …`
2926

@@ -32,6 +29,14 @@
3229
另外,即使您日后要更新模板,也是从 [Releases][releases] 下载`bithesis.cls`替换原有的,并非`git pull`
3330
:::
3431

32+
## 日后更新升级
33+
34+
BIThesis 会不时更新,主要是满足学校、同学新的细节要求,此外适配宏包、改善文档。如果使用遇到问题,可考虑升级模板:
35+
36+
1.[Releases][releases] 下载`bithesis.cls`(或其它相应文档类)
37+
2. 替换原有文件
38+
3. 重新编译
39+
3540
[releases]: https://github.com/BITNP/BIThesis/releases/ 'Releases · BITNP/BIThesis'
3641
[latest-release]: https://github.com/BITNP/BIThesis/releases/latest 'Latest Release · BITNP/BIThesis'
3742
[undergraduate-handbook]: https://github.com/BITNP/BIThesis/releases/latest/download/undergraduate-handbook.pdf

0 commit comments

Comments
 (0)