Skip to content

Commit 7b89ffa

Browse files
doc: appendices/title等选项
1 parent ac3b973 commit 7b89ffa

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

bithesis-doc.tex

+8-4
Original file line numberDiff line numberDiff line change
@@ -1140,18 +1140,22 @@ \subsubsection{附录选项}
11401140

11411141
\begin{function}{appendices/title}
11421142
\begin{bitsyntax}[emph={[1]title}]
1143-
title = (*(附录)|\meta{字符串}*)
1143+
title = (*\meta{字符串}*)
11441144
\end{bitsyntax}
11451145

1146-
可以覆盖附录的标题名称,默认为「附录」。
1146+
附录部分的总标题。默认会按论文类型自动设置为「附录」、「附\quad{}录」或“Appendices”。
1147+
1148+
仅在 |appendices/chapterLevel| 为 |false| 时有效。
11471149
\end{function}
11481150

11491151
\begin{function}{appendices/TOCTitle}
11501152
\begin{bitsyntax}[emph={[1]TOCTitle}]
1151-
TOCTitle = (*(附录)|\meta{字符串}*)
1153+
TOCTitle = (*\meta{字符串}*)
11521154
\end{bitsyntax}
11531155

1154-
可以覆盖附录在目录中的名称,默认为「附录」。
1156+
附录在目录中的名称。默认会按论文类型自动设置为「附录」、「附\quad{}录」或“Appendices”。
1157+
1158+
仅在 |appendices/chapterLevel| 为 |false| 时有效。
11551159
\end{function}
11561160

11571161
\subsubsection{攻读学位期间发表论文与研究成果清单选项}

bithesis.dtx

+4-2
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,12 @@
491491
{toc} {目\label_space: 录} {Table~of~Contents},
492492
{abstract} {摘\label_space: 要} {Abstract},
493493
{conclusion} {结\label_space: 论} {Conclusions},
494+
% 附录部分的总标题
494495
{appendix} {附\label_space: 录} {Appendices},
495496
{ack} {致\label_space: 谢} {Acknowledgement},
496497
{figure} {插\label_space: 图} {Illustrations},
497498
{table} {表\label_space: 格} {Tables},
499+
% 附录下各部分编号的前缀
498500
{appendix_prefix} {附录} {Appendix},
499501
{reference} {参考文献} {References},
500502
{university} {北京理工大学} {Beijing~Institute~of~Technology},
@@ -2954,7 +2956,7 @@
29542956
}
29552957

29562958
\bool_if:NTF \l_@@_appendices_chapter_level_bool {
2957-
% 附录章节级别
2959+
% 使用以「chapter」为顶层的附录格式
29582960

29592961
% 仅设置 \setcounter{chapter}{0} 时,pdf 目录会索引到正文章节。
29602962
% 因此,需要使用 \appendix 重置计数器,并将附录后面的
@@ -2973,7 +2975,7 @@
29732975
\Alph{chapter}
29742976
}
29752977
} {
2976-
% 附录节(section)级别
2978+
% 使用以「section」为顶层的附录格式
29772979

29782980
% 因为不需要用到 chapter counter, 所以直接加一即可。
29792981
\stepcounter{chapter}

templates/undergraduate-thesis-en/main.tex

+4
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@
7272
% 若要将封面的“Degree:”改为“Major:”,请解除下一行的注释。
7373
% info/major = {Major},
7474
},
75+
%
76+
% 若要将“Appendices”改为单数,请解除以下两行的注释:
77+
% appendices/title = {Appendix},
78+
% appendices/TOCTitle = {Appendix},
7579
}
7680

7781
% 使用 listings 宏包进行代码块使用,并使用了预定义的样式,

0 commit comments

Comments
 (0)