Skip to content

Commit

Permalink
doc: cover/addTitleZh
Browse files Browse the repository at this point in the history
  • Loading branch information
YDX-2147483647 committed Sep 15, 2024
1 parent 8aecf33 commit bee5642
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
10 changes: 10 additions & 0 deletions bithesis-doc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,16 @@ \subsubsection{封面选项} \label{sec:cover}
不适用于\BIThesisTemplates{PT}和硕士、博士学位论文。
\end{function}

\begin{function}[added=2024-09-14]{cover/addTitleZh}
\begin{bitsyntax}[emph={[1]addTitleZh}]
addTitleZh = (*(true)|false*)
\end{bitsyntax}

是否添加中文标题,只适用于本科英文封面。

只适用于\BIThesisTemplates{UTE},不适用于其它模板。而且若切换为中文封面(|cover/prefer-zh = true|),此选项也无效。
\end{function}

\subsubsection{论文基本信息}

\begin{function}{info}
Expand Down
2 changes: 1 addition & 1 deletion bithesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@
% 本科英文模板使用中文封面时可能需要调换中英文标题顺序
reverse-titles .bool_set:N = \l_@@_cover_reverse_titles_bool,
reverse-titles .initial:n = {false},
% 本科英文模板需要加入中文标题
% 本科英文模板可加入中文标题
addTitleZh .bool_set:N = \l_@@_cover_add_titlezh_bool,
addTitleZh .initial:n = {true},
}
Expand Down
17 changes: 17 additions & 0 deletions templates/undergraduate-thesis-en/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,23 @@
## BITSetup 学院变体

### 英文封面隐藏中文标题

默认封面虽是英文,但也有中文标题。如果您想隐藏封面的中文标题,请编辑`main.tex`,找到`\BITSetup{…}`,设置`cover/addTitleZh = false`

```latex
\BITSetup{
cover = {
% date = {November 5, 1955},
addTitleZh = false,
},
}
```

另外注意,即使封面隐藏了中文标题,中文摘要也有,故仍需在`info/title`填写中文标题信息。

### 中文封面

默认封面是英文,有些学院要求采用中文。这时请编辑`main.tex`,找到`\BITSetup{…}`,替换为以下内容。此外注意中文封面比英文封面多班号信息(`info/class`)。
Expand Down

0 comments on commit bee5642

Please sign in to comment.