diff options
author | Karl Berry <karl@freefriends.org> | 2024-04-24 20:21:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-04-24 20:21:04 +0000 |
commit | 8fdef32fc6d4ff1a7e4707f66bbeb015db5cc053 (patch) | |
tree | 547043a483b5fd19a1aba4cf1c63843a50ec2c44 /Master/texmf-dist/tex/latex | |
parent | 684f6e802651bc5b3448aab21b89dc3d25a63c6f (diff) |
bithesis (24apr24)
git-svn-id: svn://tug.org/texlive/trunk@71068 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bithesis/bithesis.cls | 19 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bithesis/bitreport.cls | 2 |
3 files changed, 13 insertions, 10 deletions
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} |