Skip to content

Commit 21f0661

Browse files
committed
fix: reset section counter at the beginning of appendix.
1 parent 5c2dbf5 commit 21f0661

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

Diff for: bithesis.dtx

+1
Original file line numberDiff line numberDiff line change
@@ -4604,6 +4604,7 @@
46044604

46054605
% 因为不需要用到 chapter counter, 所以直接加一即可。
46064606
\stepcounter{chapter}
4607+
\setcounter{section}{0}
46074608
% (与上面方法至少用一个)
46084609
% 需要让 section 在 pdf bookmark 中输出字母而不是数字。
46094610
% 详见 hyperref 代码。

Diff for: templates/graduate-thesis/bithesis.cls

+1
Original file line numberDiff line numberDiff line change
@@ -2009,6 +2009,7 @@
20092009

20102010
% 因为不需要用到 chapter counter, 所以直接加一即可。
20112011
\stepcounter{chapter}
2012+
\setcounter{section}{0}
20122013
% (与上面方法至少用一个)
20132014
% 需要让 section 在 pdf bookmark 中输出字母而不是数字。
20142015
% 详见 hyperref 代码。

Diff for: templates/paper-translation/bithesis.cls

+1
Original file line numberDiff line numberDiff line change
@@ -2009,6 +2009,7 @@
20092009

20102010
% 因为不需要用到 chapter counter, 所以直接加一即可。
20112011
\stepcounter{chapter}
2012+
\setcounter{section}{0}
20122013
% (与上面方法至少用一个)
20132014
% 需要让 section 在 pdf bookmark 中输出字母而不是数字。
20142015
% 详见 hyperref 代码。

Diff for: templates/undergraduate-thesis-en/bithesis.cls

+1
Original file line numberDiff line numberDiff line change
@@ -2009,6 +2009,7 @@
20092009

20102010
% 因为不需要用到 chapter counter, 所以直接加一即可。
20112011
\stepcounter{chapter}
2012+
\setcounter{section}{0}
20122013
% (与上面方法至少用一个)
20132014
% 需要让 section 在 pdf bookmark 中输出字母而不是数字。
20142015
% 详见 hyperref 代码。

Diff for: templates/undergraduate-thesis/bithesis.cls

+1
Original file line numberDiff line numberDiff line change
@@ -2009,6 +2009,7 @@
20092009

20102010
% 因为不需要用到 chapter counter, 所以直接加一即可。
20112011
\stepcounter{chapter}
2012+
\setcounter{section}{0}
20122013
% (与上面方法至少用一个)
20132014
% 需要让 section 在 pdf bookmark 中输出字母而不是数字。
20142015
% 详见 hyperref 代码。

0 commit comments

Comments
 (0)