texlive[71068] Master/texmf-dist: bithesis (24apr24)

commits+karl at tug.org commits+karl at tug.org
Wed Apr 24 22:21:05 CEST 2024


Revision: 71068
          https://tug.org/svn/texlive?view=revision&revision=71068
Author:   karl
Date:     2024-04-24 22:21:04 +0200 (Wed, 24 Apr 2024)
Log Message:
-----------
bithesis (24apr24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
    trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
    trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
    trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
    trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls

Modified: trunk/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx	2024-04-24 20:20:49 UTC (rev 71067)
+++ trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx	2024-04-24 20:21:04 UTC (rev 71068)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls	2024-04-24 20:20:49 UTC (rev 71067)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls	2024-04-24 20:21:04 UTC (rev 71068)
@@ -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,

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls	2024-04-24 20:20:49 UTC (rev 71067)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls	2024-04-24 20:21:04 UTC (rev 71068)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls	2024-04-24 20:20:49 UTC (rev 71067)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls	2024-04-24 20:21:04 UTC (rev 71068)
@@ -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}



More information about the tex-live-commits mailing list.