diff options
Diffstat (limited to 'macros/unicodetex/latex/bithesis/bithesis.dtx')
-rw-r--r-- | macros/unicodetex/latex/bithesis/bithesis.dtx | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/macros/unicodetex/latex/bithesis/bithesis.dtx b/macros/unicodetex/latex/bithesis/bithesis.dtx index 200c748f26..1c138e3a89 100644 --- a/macros/unicodetex/latex/bithesis/bithesis.dtx +++ b/macros/unicodetex/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 |