summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-24 20:21:04 +0000
committerKarl Berry <karl@freefriends.org>2024-04-24 20:21:04 +0000
commit8fdef32fc6d4ff1a7e4707f66bbeb015db5cc053 (patch)
tree547043a483b5fd19a1aba4cf1c63843a50ec2c44
parent684f6e802651bc5b3448aab21b89dc3d25a63c6f (diff)
bithesis (24apr24)
git-svn-id: svn://tug.org/texlive/trunk@71068 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/bithesis/bithesis.pdfbin743578 -> 750977 bytes
-rw-r--r--Master/texmf-dist/source/latex/bithesis/bithesis.dtx21
-rw-r--r--Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls2
-rw-r--r--Master/texmf-dist/tex/latex/bithesis/bithesis.cls19
-rw-r--r--Master/texmf-dist/tex/latex/bithesis/bitreport.cls2
5 files changed, 25 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf b/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
index 8056d149eb2..fe983fec762 100644
--- a/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
+++ b/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/bithesis/bithesis.dtx b/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
index 200c748f267..1c138e3a896 100644
--- a/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
+++ b/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
@@ -21,10 +21,10 @@
%<thesis>\ProvidesExplClass{bithesis}
%<report>\ProvidesExplClass{bitreport}
%<beamer>\ProvidesExplClass{bitbeamer}
-%<cls>{2024-04-16}{3.7.4}{BIT Thesis Templates}
+%<cls>{2024-04-24}{3.7.5}{BIT Thesis Templates}
%
%<*driver>
-\ProvidesFile{bithesis.dtx}[2024/04/16 3.7.4 BIT Thesis Templates]
+\ProvidesFile{bithesis.dtx}[2024/04/24 3.7.5 BIT Thesis Templates]
\documentclass[letterpaper]{l3doc}
\usepackage{dtx-style}
@@ -837,9 +837,9 @@
hyphen .initial:n = {true},
% 控制公式和上下文的距离
mathAboveDisplaySkip .dim_set:N = \l_@@_style_math_above_display_skip_dim,
- mathAboveDisplaySkip .initial:n = {3pt},
+ mathAboveDisplaySkip .initial:n = {10pt},
mathBelowDisplaySkip .dim_set:N = \l_@@_style_math_below_display_skip_dim,
- mathBelowDisplaySkip .initial:n = {3pt},
+ mathBelowDisplaySkip .initial:n = {10pt},
betterTimesNewRoman .bool_set:N = \l_@@_style_better_new_roman_bool,
betterTimesNewRoman .initial:n = {false},
}
@@ -886,9 +886,9 @@
omit .bool_set:N = \l_@@_publications_omit_bool,
omit .initial:n = {false},
maxbibnames .int_set:N = \l_@@_publications_maxbibnames_int,
- maxbibnames .initial:n = {3},
+ maxbibnames .initial:n = {10},
minbibnames .int_set:N = \l_@@_publications_minbibnames_int,
- minbibnames .initial:n = {1},
+ minbibnames .initial:n = {10},
}
% \end{macrocode}
% 在宏加载时,处理 |bithesis/option| 中的值。使得 |bithesis|
@@ -1489,6 +1489,7 @@
% preamble 中也不会有影响。
\AtBeginEnvironment{tabular}{\zihao{\l_@@_misc_tabular_font_size_tl}}
\AtBeginEnvironment{tabular*}{\zihao{\l_@@_misc_tabular_font_size_tl}}
+ \AtBeginEnvironment{tabularx}{\zihao{\l_@@_misc_tabular_font_size_tl}}
}
% \end{macrocode}
% \end{macro}
@@ -1601,11 +1602,13 @@
\cs_gset:Npn \lstlistingname {\c_@@_label_code_tl}
% 算法变成「章节号-序号」
+ % 为了减少修改,我们只适配按章编号的情况。
% 针对 algorithm 宏包
- \cs_gset:Npn \thealgorithm
- {\thechapter\g__bithesis_label_divide_char_tl\arabic{algorithm}}
+ \@ifpackagewith{algorithm}{chapter}{
+ \cs_gset:Npn \thealgorithm
+ {\thechapter\g__bithesis_label_divide_char_tl\arabic{algorithm}}
+ }
% 针对 algorithm2e 宏包
- % 为了减少修改,我们只适配按章编号(algochapter)的情况。
\@ifpackagewith{algorithm2e}{algochapter}{
% 名字中的“cf”是指其作者 Christophe Fiorio。
\cs_gset:Npn \thealgocf
diff --git a/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls b/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
index a86724f713f..3f06eea8cf9 100644
--- a/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
+++ b/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
@@ -27,7 +27,7 @@
%%
\RequirePackage{expl3,l3keys2e}
\ProvidesExplClass{bitbeamer}
-{2024-04-16}{3.7.4}{BIT Thesis Templates}
+{2024-04-24}{3.7.5}{BIT Thesis Templates}
\keys_define:nn { bitbeamer }
{
titlegraphic .tl_set:N = \l_bit_titlegraphic_tl,
diff --git a/Master/texmf-dist/tex/latex/bithesis/bithesis.cls b/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
index 9e2f53ce931..0e01cde3e60 100644
--- a/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
+++ b/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
@@ -27,7 +27,7 @@
%%
\RequirePackage{expl3,l3keys2e}
\ProvidesExplClass{bithesis}
-{2024-04-16}{3.7.4}{BIT Thesis Templates}
+{2024-04-24}{3.7.5}{BIT Thesis Templates}
\int_new:N \g__bithesis_thesis_type_int
\int_new:N \g__bithesis_head_zihao_int
\bool_new:N \g__bithesis_twoside_bool
@@ -573,9 +573,9 @@
hyphen .initial:n = {true},
% 控制公式和上下文的距离
mathAboveDisplaySkip .dim_set:N = \l__bithesis_style_math_above_display_skip_dim,
- mathAboveDisplaySkip .initial:n = {3pt},
+ mathAboveDisplaySkip .initial:n = {10pt},
mathBelowDisplaySkip .dim_set:N = \l__bithesis_style_math_below_display_skip_dim,
- mathBelowDisplaySkip .initial:n = {3pt},
+ mathBelowDisplaySkip .initial:n = {10pt},
betterTimesNewRoman .bool_set:N = \l__bithesis_style_better_new_roman_bool,
betterTimesNewRoman .initial:n = {false},
}
@@ -610,9 +610,9 @@
omit .bool_set:N = \l__bithesis_publications_omit_bool,
omit .initial:n = {false},
maxbibnames .int_set:N = \l__bithesis_publications_maxbibnames_int,
- maxbibnames .initial:n = {3},
+ maxbibnames .initial:n = {10},
minbibnames .int_set:N = \l__bithesis_publications_minbibnames_int,
- minbibnames .initial:n = {1},
+ minbibnames .initial:n = {10},
}
\ProcessKeysOptions { bithesis / option }
\__bithesis_if_thesis_english:T {
@@ -1060,6 +1060,7 @@
% preamble 中也不会有影响。
\AtBeginEnvironment{tabular}{\zihao{\l__bithesis_misc_tabular_font_size_tl}}
\AtBeginEnvironment{tabular*}{\zihao{\l__bithesis_misc_tabular_font_size_tl}}
+ \AtBeginEnvironment{tabularx}{\zihao{\l__bithesis_misc_tabular_font_size_tl}}
}
\RenewDocumentCommand \mainmatter {} {
% 另起一个空页,以便于后续的章节标题编号。
@@ -1142,11 +1143,13 @@
\cs_gset:Npn \lstlistingname {\c__bithesis_label_code_tl}
% 算法变成「章节号-序号」
+ % 为了减少修改,我们只适配按章编号的情况。
% 针对 algorithm 宏包
- \cs_gset:Npn \thealgorithm
- {\thechapter\g__bithesis_label_divide_char_tl\arabic{algorithm}}
+ \@ifpackagewith{algorithm}{chapter}{
+ \cs_gset:Npn \thealgorithm
+ {\thechapter\g__bithesis_label_divide_char_tl\arabic{algorithm}}
+ }
% 针对 algorithm2e 宏包
- % 为了减少修改,我们只适配按章编号(algochapter)的情况。
\@ifpackagewith{algorithm2e}{algochapter}{
% 名字中的“cf”是指其作者 Christophe Fiorio。
\cs_gset:Npn \thealgocf
diff --git a/Master/texmf-dist/tex/latex/bithesis/bitreport.cls b/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
index e8b73bd0df5..c3554d0d929 100644
--- a/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
+++ b/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
@@ -27,7 +27,7 @@
%%
\RequirePackage{expl3,l3keys2e}
\ProvidesExplClass{bitreport}
-{2024-04-16}{3.7.4}{BIT Thesis Templates}
+{2024-04-24}{3.7.5}{BIT Thesis Templates}
\int_new:N \g__bithesis_report_type_int
\clist_const:Nn \c__bithesis_report_type_clist
{ common, undergraduate_proposal}