texlive[66765] Master/texmf-dist: bithesis (4apr23)

commits+karl at tug.org commits+karl at tug.org
Tue Apr 4 22:14:23 CEST 2023


Revision: 66765
          http://tug.org/svn/texlive?view=revision&revision=66765
Author:   karl
Date:     2023-04-04 22:14:23 +0200 (Tue, 04 Apr 2023)
Log Message:
-----------
bithesis (4apr23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/bithesis/bithesis.pdf
    trunk/Master/texmf-dist/doc/latex/bithesis/dtx-style.sty
    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/doc/latex/bithesis/dtx-style.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/bithesis/dtx-style.sty	2023-04-04 20:14:07 UTC (rev 66764)
+++ trunk/Master/texmf-dist/doc/latex/bithesis/dtx-style.sty	2023-04-04 20:14:23 UTC (rev 66765)
@@ -43,7 +43,7 @@
 \RequirePackage{array,longtable,booktabs}
 \RequirePackage{listings}
 \RequirePackage{fancyhdr}
-\RequirePackage[dvipsnames]{xcolor}
+\RequirePackage[dvipsnames,table,xcdraw]{xcolor}
 \RequirePackage{awesomebox}
 \RequirePackage{dirtree}
 \RequirePackage{metalogo}
@@ -309,7 +309,7 @@
   % 定义 BIThesis \LaTeX 风格的 Logo
 \usepackage{relsize}
 \makeatletter
-\def\matex at ssize{\larger[-1]\scshape}
+\def\matex at ssize{\smaller\scshape}
 \DeclareRobustCommand{\BIThesis}{
   \mbox{
     \kern-0.5em{B}\kern-0.05em
@@ -324,6 +324,13 @@
    }
 }
 
+%% from \pkg{ctxdoc}
+\newlist{optdesc}{description}{3}
+%% 设置间距为 \marginparsep,与 l3doc 一致
+\setlist[optdesc]{%
+  font=\mdseries\small\ttfamily,align=right,listparindent=\parindent,
+  labelsep=\marginparsep,labelindent=-\marginparsep,leftmargin=0pt}
+
 \makeatother
 
 \endinput

Modified: trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx	2023-04-04 20:14:07 UTC (rev 66764)
+++ trunk/Master/texmf-dist/source/latex/bithesis/bithesis.dtx	2023-04-04 20:14:23 UTC (rev 66765)
@@ -21,7 +21,7 @@
 %<thesis>\ProvidesExplClass{bithesis}
 %<report>\ProvidesExplClass{bitreport}
 %<beamer>\ProvidesExplClass{bitbeamer}
-%<cls>{2023-03-16}{3.4.3}{BIT Thesis Templates}
+%<cls>{2023-04-04}{3.5.0}{BIT Thesis Templates}
 %
 %<oldcls>\NeedsTeXFormat{LaTeX2e}[2020/10/01]
 %<book>\ProvidesClass{bitbook}
@@ -30,7 +30,7 @@
 %<oldcls> [2022/05/09 v2.1.1 BIT Thesis Templates]
 %
 %<*driver>
-\ProvidesFile{bithesis.dtx}[2023/03/16 3.4.3 BIT Thesis Templates]
+\ProvidesFile{bithesis.dtx}[2023/04/04 3.5.0 BIT Thesis Templates]
 \documentclass[letterpaper]{l3doc}
 \usepackage{dtx-style}
 
@@ -466,6 +466,19 @@
 %     \item \BIThesisTemplates{GT} 博士生
 %   \end{itemize}
 % \end{function}
+%
+% \begin{function}[added=2023-03-16]{english}
+%   \begin{bitsyntax}[emph={[1]english}]
+%     english = (*<(false)|true>*)
+%   \end{bitsyntax}
+%   开启英文模式。此选项会将论文的标题、摘要、目录、参考文献等部分的
+%   中文部分替换为英文部分。适用于英文论文的撰写。
+%
+%   \begin{note}
+%     本选项仅适用于 \BIThesisTemplates{GT} 模板,本科全英文专业的同学
+%     请直接使用 \BIThesisTemplates{UTE} 模板。
+%   \end{note}
+% \end{function}
 % 
 % \begin{function}{blindPeerReview}
 %   \begin{bitsyntax}[emph={[1]blindPeerReview}]
@@ -922,7 +935,56 @@
 %   是因为在 Word 模板中参考文献的格式要求首行之后的行不缩进。
 %   但是国标要求首行之后的行缩进。
 % \end{function}
+% 
+% \begin{function}[added=2023-03-19]{style/pageVerticalAlign}
+%   \begin{bitsyntax}[emph={[1]pageVerticalAlign}]
+%     pageVerticalAlign = (*(top)|scattered*)
+%   \end{bitsyntax}
+% 设置页面垂直方向的对齐方式。
+% \begin{optdesc}
+%   \item[top] 顶部对齐。\textit{默认}。页面中的内容保持它的自然高度,
+%   每一页的页面底部用空白填满。
+%   \item[scattered] 分散对齐。页面高度均匀地填满,使每一页的底部直接对齐。
+% \end{optdesc}
+% \end{function}
 %
+% \begin{function}[added=2023-03-29]{style/mathFont}
+%   \begin{bitsyntax}[emph={[1]mathFont}]
+%     mathFont = (*(cm)|asana|fira|...|xits|none*)
+%   \end{bitsyntax}
+% 设置数学字体,具体配置见表~\ref{tab:math-font}。除 |Computer Modern| (默认)字体以外,均使用 \pkg{unicode-math} 宏包调用字体。 
+% 
+% \end{function}
+%
+% \begin{table}[]
+% \begin{tabular}{cc|cc}
+% \toprule
+% \textbf{选项名称}                          & \textbf{字体名称}                                & \textbf{选项名称}                  & \textbf{字体名称}                                    \\ \midrule
+% cm                                     & Computer Modern                             & \cellcolor[HTML]{EFEFEF}newcm  & \cellcolor[HTML]{EFEFEF}New Computer Modern Math \\
+% \cellcolor[HTML]{EFEFEF}asana          & \cellcolor[HTML]{EFEFEF}Asana Math           & stix                           & STIX Math                                        \\
+% concrete                               & Concrete Math                                & \cellcolor[HTML]{EFEFEF}stix2  & \cellcolor[HTML]{EFEFEF}STIX Two Math            \\
+% \cellcolor[HTML]{EFEFEF}erewhon        & \cellcolor[HTML]{EFEFEF}Erewhon Math         & xcharter                       & XCharter Math                                    \\
+% euler                                  & Euler Math                                   & \cellcolor[HTML]{EFEFEF}xits   & \cellcolor[HTML]{EFEFEF}XITS Math                \\
+% \cellcolor[HTML]{EFEFEF}fira           & \cellcolor[HTML]{EFEFEF}Fira Math            & bonum                          & TeX Gyre Bonum Math                              \\
+% garamond                               & Garamond Math                                & \cellcolor[HTML]{EFEFEF}dejavu & \cellcolor[HTML]{EFEFEF}TeX Gyre DejaVu Math     \\
+% \cellcolor[HTML]{EFEFEF}gfsneohellenic & \cellcolor[HTML]{EFEFEF}GFS Neohellenic Math & pagella                        & TeX Gyre Pagella Math                            \\
+% kp                                     & KpMath                                       & \cellcolor[HTML]{EFEFEF}schola & \cellcolor[HTML]{EFEFEF}TeX Gyre Schola Math     \\
+% \cellcolor[HTML]{EFEFEF}libertinus     & \cellcolor[HTML]{EFEFEF}Libertinus Math      & termes                         & TeX Gyre Termes Math                             \\
+% lm                                     & Latin Modern Math                            &                                &                                                  \\ \bottomrule
+% \end{tabular}
+% \caption{数学字体配置选项与名称说明}
+% \label{tab:math-font}
+% \end{table}
+%
+% \begin{function}[added=2023-03-29]{style/unicodeMathOptions}
+%   \begin{bitsyntax}[emph={[1]unicodeMathOptions}]
+%     unicodeMathOptions = (*({})|任意选项*)
+%   \end{bitsyntax}
+%
+% 传递给 \pkg{unicode-math} 的选项。
+% 
+% \end{function}
+%
 % \subsubsection{目录选项}
 %
 % \begin{function}{TOC}
@@ -1054,12 +1116,13 @@
 %     minbibnames = (*(1)|\marg{正整数}*)
 %   \end{bitsyntax}
 %
-% 影响所有名称列表(author、editor 等)的限制值。如果某个列表包含的姓名数量超
-% 过 \marg{正整数},那么就会自动截断至 |minbibnames| 个姓名。|minbibnames| 的值必须小于或
+% 影响「攻读学位期间发表论文与研究成果清单」中所有名称列表(author、editor 等)的限制值。
+% 如果某个列表包含的姓名数量超
+% 过 |maxbibnames| 个,那么就会自动截断至 |minbibnames| 个姓名。|minbibnames| 的值必须小于或
 % 等于 |maxbibnames|。
 %
 % 对于用户来说,可以将 |minbibnames| 理解为「姓名列表的最小长度」。
-% 例如,你在全部文献中最低排在第四位,那么可以将 |minbibnames| 和 |maxbibnames| 都设置为 4。
+% \textbf{例如,你在全部文献中最低排在第四位,那么可以将 |minbibnames| 和 |maxbibnames| 都设置为 4。}
 %
 % \end{function}
 % 
@@ -1351,6 +1414,9 @@
 %     \end{publications}
 %   \end{bitsyntax}
 %
+% \textbf{请注意,如果你的参考文献同时出现在「攻读学位期间发表论文与研究成果清单」和「参考文献」中,
+% 请将条目分别添加进入两个 |.bib| 文件中;切勿重复使用。}
+%
 % \textit{在「攻读学位期间发表论文与研究成果清单」环境中使用。}
 % 用于添加个人成果,添加过的成果可以通过 |printbibliography| 打印。
 % \end{function}
@@ -1427,6 +1493,21 @@
 % \textit{更多字体与使用方法请参考 
 %   \url{https://ctan.org/pkg/unicode-math?lang=zh}。}
 %
+% \subsection{如何采用与 Word 相同的中文字体?}
+%
+% 首先需要明确的是,我们所指的 Word 中的中文字体属于「中易字库」。
+%
+% 对于 Windows 用户,一般无需修改设置,开箱即用。
+%
+% 对于 Linux 和 macOS 用户,由于版权问题,系统中并不包含中易字库。
+% 因此,用户有两种选择:
+% \begin{itemize}
+%  \item 手动在系统中安装中易字库(一般包括 SimSun、SimHei、KaiTi、FangSong 等)。
+%  并通过 |\documentclass[...,ctex={fontset=windows}]{bithesis}| 选项
+%  强制使用中易字库。
+%  \item 在 Windows 系统下编译最终的 PDF 文件。
+% \end{itemize}
+%
 % \section{\cls{bitreport.cls} 使用与配置}
 % \label{sec:bitreport}
 % 
@@ -2259,6 +2340,21 @@
   },
   bibliographyIndent .bool_set:N = \l_@@_style_bibliography_indent_bool,
   bibliographyIndent .initial:n = {true},
+  pageVerticalAlign .choices:nn = {top, scattered} {
+    \tl_if_eq:NnTF \l_keys_choice_tl {top}
+      { \raggedbottom }
+      { \flushbottom }
+  },
+  pageVerticalAlign .initial:n = {top},
+  % 数学字体配置
+  mathFont .choices:nn = {
+    asana, bonum, cm, concrete, dejavu, erewhon, euler,
+    fira, garamond, gfsneohellenic, kp, libertinus, lm, newcm,
+    pagella, schola, stix, stix2, termes, xcharter, xits, none,
+    } { \tl_set_eq:NN \l_@@_style_math_font_tl \l_keys_choice_tl },
+  mathFont .initial:n = {cm},
+  % Options that will be pass to `unicode-math` pkgs.
+  unicodeMathOptions .tl_set:N = \l_@@_unicode_math_options_tl,
 }
 %    \end{macrocode}
 %
@@ -2434,6 +2530,8 @@
 }
 %    \end{macrocode}
 %
+%  \subsubsection{定义字体相关选项}
+%  
 % 设置 Times New Roman 字体。
 % 根据学校规范要求,默认情况下也使用 Times New Roman 字体。
 %    \begin{macrocode}
@@ -2441,9 +2539,103 @@
 \setromanfont{Times~New~Roman}
 %    \end{macrocode}
 %
+% \begin{macro}{\@@_font_path:}
+% 当选择使用字体文件配置字体时,设置字体文件路径。
+%    \begin{macrocode}
+\cs_new:Npn \@@_font_path:
+  {
+    \str_if_eq:NNTF { \l_@@_font_type_tl } { font }
+      { }
+      { Path = \l_@@_font_path_tl / , }
+  }
+%    \end{macrocode}
+% \end{macro}
+% 
+% \begin{macro}{\@@_load_unicode_math_pkg:}
+% 加载\pkg{unicode-math}宏包。
+%    \begin{macrocode}
+\cs_new:Npn \@@_load_unicode_math_pkg:
+  {
+    \PassOptionsToPackage { \l_@@_unicode_math_options_tl } { unicode-math }
+    \RequirePackage { unicode-math }
+  }
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_define_math_font:nn}
+% 批量定义数学字体配置。
+% \begin{arguments}
+%   \item 配置名称。
+%   \item 字体名称。
+% \end{arguments}
+%    \begin{macrocode}
+\cs_new:Npn \@@_define_math_font:nn #1#2
+  {
+    \cs_new:cpn { @@_load_math_font_ #1 : }
+      {
+        \@@_load_unicode_math_pkg:
+        \setmathfont { #2 }
+      }
+  }
+\clist_map_inline:nn
+  {
+    { asana          } { Asana-Math.otf             },
+    { concrete       } { Concrete-Math.otf          },
+    { erewhon        } { Erewhon-Math.otf           },
+    { euler          } { Euler-Math.otf             },
+    { fira           } { FiraMath-Regular.otf       },
+    { garamond       } { Garamond-Math.otf          },
+    { gfsneohellenic } { GFSNeohellenicMath.otf     },
+    { kp             } { KpMath-Regular.otf         },
+    { libertinus     } { LibertinusMath-Regular.otf },
+    { lm             } { latinmodern-math.otf       },
+    { newcm          } { NewCMMath-Regular.otf      },
+    { stix           } { STIXMath-Regular.otf       },
+    { stix2          } { STIXTwoMath-Regular.otf    },
+    { xcharter       } { XCharter-Math.otf          },
+    { xits           } { XITSMath-Regular.otf       },
+    { bonum          } { texgyrebonum-math.otf      },
+    { dejavu         } { texgyredejavu-math.otf     },
+    { pagella        } { texgyrepagella-math.otf    },
+    { schola         } { texgyreschola-math.otf     },
+    { termes         } { texgyretermes-math.otf     }
+  }
+  { \@@_define_math_font:nn #1 }
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_load_math_font_cm:}
+% 数学字体配置 |cm|。
+%    \begin{macrocode}
+\cs_new:Npn \@@_load_math_font_cm: { }
+%    \end{macrocode}
+% \end{macro}
+% 
+% \begin{macro}{\@@_load_math_font_none:}
+% 数学字体配置 |none|。
+%    \begin{macrocode}
+\cs_new:Npn \@@_load_math_font_none: { }
+%    \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\@@_load_font:}
+% 加载数学字体
+%    \begin{macrocode}
+\cs_new:Npn \@@_load_font:
+  {
+    \use:c { @@_load_math_font_  \l_@@_style_math_font_tl  : }
+  }
+%    \end{macrocode}
+% \end{macro}
+%
+%  \paragraph{定义导言区末尾加载内容}
+%
 % 在 |preamble| 中,加载各个模板需要的字体。
 %    \begin{macrocode}
 \ctex_at_end_preamble:n {
+  % 在导言区末尾加载数学字体。
+  \@@_load_font:
+  
   \@@_if_thesis_english:TF {
     \@@_if_thesis_int_type:nT {3} {
       % 对于本科全英文专业模板
@@ -2638,6 +2830,8 @@
     beforeskip = 8bp,
     afterskip = 32bp,
     fixskip = true,
+    lofskip = 0cm,
+    lotskip = 0cm,
   }
 }
 
@@ -2716,6 +2910,14 @@
 \titlecontents{subsection}[2\ccwd]{\songti \zihao{-4}}
 {\thecontentslabel\hspace{\ccwd}}{}
 {\hspace{.5em}\titlerule*{.}\contentspage}
+% listoffigure 样式优化
+\titlecontents{figure}[0pt]{\songti\zihao{-4}}
+    {\figurename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+% listoftable 样式优化
+\titlecontents{table}[0pt]{\songti\zihao{-4}}
+    {\tablename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
 %    \end{macrocode}
 % 
 % \begin{macro}{\frontmatter}
@@ -6266,7 +6468,7 @@
 \RequirePackage{array,longtable,booktabs}
 \RequirePackage{listings}
 \RequirePackage{fancyhdr}
-\RequirePackage[dvipsnames]{xcolor}
+\RequirePackage[dvipsnames,table,xcdraw]{xcolor}
 \RequirePackage{awesomebox}
 % \RequirePackage{etoolbox}
 \RequirePackage{dirtree}
@@ -6360,8 +6562,6 @@
   }
 }
 
-
-
 \ifthenelse{\equal{\@nameuse{g__ctex_fontset_tl}}{mac}}{
   \setmainfont{Palatino}
   \setsansfont[Scale=MatchLowercase]{Helvetica}
@@ -6539,7 +6739,7 @@
   % 定义 BIThesis \LaTeX 风格的 Logo
 \usepackage{relsize}
 \makeatletter
-\def\matex at ssize{\larger[-1]\scshape}
+\def\matex at ssize{\smaller\scshape}
 \DeclareRobustCommand{\BIThesis}{
   \mbox{
     \kern-0.5em{B}\kern-0.05em
@@ -6554,6 +6754,13 @@
    }
 }
 
+%% from \pkg{ctxdoc}
+\newlist{optdesc}{description}{3}
+%% 设置间距为 \marginparsep,与 l3doc 一致
+\setlist[optdesc]{%
+  font=\mdseries\small\ttfamily,align=right,listparindent=\parindent,
+  labelsep=\marginparsep,labelindent=-\marginparsep,leftmargin=0pt}
+
 \makeatother
 
 %</dtx-style>

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls	2023-04-04 20:14:07 UTC (rev 66764)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitbeamer.cls	2023-04-04 20:14:23 UTC (rev 66765)
@@ -27,7 +27,7 @@
 %% 
 \RequirePackage{expl3,l3keys2e}
 \ProvidesExplClass{bitbeamer}
-{2023-03-16}{3.4.3}{BIT Thesis Templates}
+{2023-04-04}{3.5.0}{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	2023-04-04 20:14:07 UTC (rev 66764)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bithesis.cls	2023-04-04 20:14:23 UTC (rev 66765)
@@ -27,7 +27,7 @@
 %% 
 \RequirePackage{expl3,l3keys2e}
 \ProvidesExplClass{bithesis}
-{2023-03-16}{3.4.3}{BIT Thesis Templates}
+{2023-04-04}{3.5.0}{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
@@ -383,6 +383,21 @@
   },
   bibliographyIndent .bool_set:N = \l__bithesis_style_bibliography_indent_bool,
   bibliographyIndent .initial:n = {true},
+  pageVerticalAlign .choices:nn = {top, scattered} {
+    \tl_if_eq:NnTF \l_keys_choice_tl {top}
+      { \raggedbottom }
+      { \flushbottom }
+  },
+  pageVerticalAlign .initial:n = {top},
+  % 数学字体配置
+  mathFont .choices:nn = {
+    asana, bonum, cm, concrete, dejavu, erewhon, euler,
+    fira, garamond, gfsneohellenic, kp, libertinus, lm, newcm,
+    pagella, schola, stix, stix2, termes, xcharter, xits, none,
+    } { \tl_set_eq:NN \l__bithesis_style_math_font_tl \l_keys_choice_tl },
+  mathFont .initial:n = {cm},
+  % Options that will be pass to `unicode-math` pkgs.
+  unicodeMathOptions .tl_set:N = \l__bithesis_unicode_math_options_tl,
 }
 \keys_define:nn { bithesis / TOC }
 {
@@ -494,7 +509,59 @@
 }
 \setmainfont{Times~New~Roman}
 \setromanfont{Times~New~Roman}
+\cs_new:Npn \__bithesis_font_path:
+  {
+    \str_if_eq:NNTF { \l__bithesis_font_type_tl } { font }
+      { }
+      { Path = \l__bithesis_font_path_tl / , }
+  }
+\cs_new:Npn \__bithesis_load_unicode_math_pkg:
+  {
+    \PassOptionsToPackage { \l__bithesis_unicode_math_options_tl } { unicode-math }
+    \RequirePackage { unicode-math }
+  }
+\cs_new:Npn \__bithesis_define_math_font:nn #1#2
+  {
+    \cs_new:cpn { __bithesis_load_math_font_ #1 : }
+      {
+        \__bithesis_load_unicode_math_pkg:
+        \setmathfont { #2 }
+      }
+  }
+\clist_map_inline:nn
+  {
+    { asana          } { Asana-Math.otf             },
+    { concrete       } { Concrete-Math.otf          },
+    { erewhon        } { Erewhon-Math.otf           },
+    { euler          } { Euler-Math.otf             },
+    { fira           } { FiraMath-Regular.otf       },
+    { garamond       } { Garamond-Math.otf          },
+    { gfsneohellenic } { GFSNeohellenicMath.otf     },
+    { kp             } { KpMath-Regular.otf         },
+    { libertinus     } { LibertinusMath-Regular.otf },
+    { lm             } { latinmodern-math.otf       },
+    { newcm          } { NewCMMath-Regular.otf      },
+    { stix           } { STIXMath-Regular.otf       },
+    { stix2          } { STIXTwoMath-Regular.otf    },
+    { xcharter       } { XCharter-Math.otf          },
+    { xits           } { XITSMath-Regular.otf       },
+    { bonum          } { texgyrebonum-math.otf      },
+    { dejavu         } { texgyredejavu-math.otf     },
+    { pagella        } { texgyrepagella-math.otf    },
+    { schola         } { texgyreschola-math.otf     },
+    { termes         } { texgyretermes-math.otf     }
+  }
+  { \__bithesis_define_math_font:nn #1 }
+\cs_new:Npn \__bithesis_load_math_font_cm: { }
+\cs_new:Npn \__bithesis_load_math_font_none: { }
+\cs_new:Npn \__bithesis_load_font:
+  {
+    \use:c { __bithesis_load_math_font_  \l__bithesis_style_math_font_tl  : }
+  }
 \ctex_at_end_preamble:n {
+  % 在导言区末尾加载数学字体。
+  \__bithesis_load_font:
+
   \__bithesis_if_thesis_english:TF {
     \__bithesis_if_thesis_int_type:nT {3} {
       % 对于本科全英文专业模板
@@ -657,6 +724,8 @@
     beforeskip = 8bp,
     afterskip = 32bp,
     fixskip = true,
+    lofskip = 0cm,
+    lotskip = 0cm,
   }
 }
 
@@ -729,6 +798,12 @@
 \titlecontents{subsection}[2\ccwd]{\songti \zihao{-4}}
 {\thecontentslabel\hspace{\ccwd}}{}
 {\hspace{.5em}\titlerule*{.}\contentspage}
+\titlecontents{figure}[0pt]{\songti\zihao{-4}}
+    {\figurename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
+\titlecontents{table}[0pt]{\songti\zihao{-4}}
+    {\tablename~\thecontentslabel\quad}{\hspace*{-1.5cm}}
+    {\hspace{.5em}\titlerule*{.}\contentspage}
 \RenewDocumentCommand \frontmatter {} {
   \int_compare:nNnTF {\g__bithesis_thesis_type_int} = {3}
   {

Modified: trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls	2023-04-04 20:14:07 UTC (rev 66764)
+++ trunk/Master/texmf-dist/tex/latex/bithesis/bitreport.cls	2023-04-04 20:14:23 UTC (rev 66765)
@@ -27,7 +27,7 @@
 %% 
 \RequirePackage{expl3,l3keys2e}
 \ProvidesExplClass{bitreport}
-{2023-03-16}{3.4.3}{BIT Thesis Templates}
+{2023-04-04}{3.5.0}{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.