texlive[72914] Master/texmf-dist: hduthesis (20nov24)

commits+karl at tug.org commits+karl at tug.org
Wed Nov 20 22:17:05 CET 2024


Revision: 72914
          https://tug.org/svn/texlive?view=revision&revision=72914
Author:   karl
Date:     2024-11-20 22:17:05 +0100 (Wed, 20 Nov 2024)
Log Message:
-----------
hduthesis (20nov24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/cha/cha4.tex
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/cha/cha5.tex
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-bc.pdf
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-bc.tex
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-pg.pdf
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-pg.tex
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.pdf
    trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.tex
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-bc.layout-module.code.tex
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-font-module.code.tex
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-pg.layout-module.code.tex
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-unv.layout-module.code.tex
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis.cls

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesisdoc.cls

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/cha/cha4.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/cha/cha4.tex	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/cha/cha4.tex	2024-11-20 21:17:05 UTC (rev 72914)
@@ -73,7 +73,6 @@
     v_-=v_o\frac{R_1}{R_1+R_f}
   \end{equation}
   因而,放大器的增益:
-  
   \begin{equation}
     A_{Vf}=\frac{v_o}{v_s}=\frac{R_1+R_f}{R_1}=1+\frac{R_f}{R_1}
   \end{equation}
@@ -128,7 +127,7 @@
 \begin{figure}[htbp]
   \centering
   \includegraphics[width = .65\linewidth]{image-0284}
-  \caption{施密特触发器的电压传输特性 (a) 同相输出;(b) 反相输出}
+  \caption{施密特触发器的电压传输特性\quad (a) 同相输出;(b) 反相输出}
   \label{4-4}
 \end{figure}
 
@@ -152,7 +151,7 @@
 
 \begin{figure}[htbp]
   \centering
-  \includegraphics[width = .96\linewidth]{image-0289}
+  \includegraphics[width = .93\linewidth]{image-0289}
   \caption{40-6 优先编码器电路图}
   \label{4-6}
 \end{figure}
@@ -245,7 +244,7 @@
 
 \begin{figure}[htbp]
   \centering
-  \includegraphics[width = .86\linewidth]{image-0419}
+  \includegraphics[width = .9\linewidth]{image-0419}
   \caption{2051 单片机及其外围电路图}\label{4-8}
 \end{figure}
 

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/cha/cha5.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/cha/cha5.tex	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/cha/cha5.tex	2024-11-20 21:17:05 UTC (rev 72914)
@@ -8,19 +8,17 @@
 
 \section{程序流图}
 
-\begin{figure}[htbp]
+\begin{figure}[!ht]
   \centering
   \begin{tikzpicture}
-  [
-    every node/.style = { font = {\small}, minimum height = 3em}
-  ]
-    \node [draw, rectangle, minimum width = 12em, minimum height = 2em] (a) at (0,0) {初始参数设置};
-    \node [draw, rectangle, minimum width = 10em, rounded corners = 1.2em, below = of a] (b) {等待中断};
+  [ every node/.style = { font = \small, minimum height = 2.5em } ]
+    \node [draw, rectangle, minimum width = 11em, minimum height = 2em] (a) at (0,0) {初始参数设置};
+    \node [draw, rectangle, minimum width = 11em, rounded corners = 1.2em, below = of a] (b) {等待中断};
     \node [draw, rectangle, minimum width = 11em, diamond, aspect=3, below = of b] (c) {中断服务程};
     \node [draw, rectangle, minimum width = 11em, diamond, aspect=3, below = of c, yshift = 2ex] (d) {读取 P1 口值};
-    \node [draw, rectangle, minimum width = 8em, rectangle, below = of d, minimum height = 2em] (e) {发送数据帧};
+    \node [draw, rectangle, minimum width = 11em, rectangle, below = of d, minimum height = 2em] (e) {发送数据帧};
     \node [draw, rectangle, minimum width = 11em, diamond, aspect=3, below = of e] (f) {延时$\qty{200}\ms$};
-    \node [draw, rectangle, minimum width = 8em, rectangle, below = of f, minimum height = 2em, yshift = 2ex] (g) {清中断标志};
+    \node [draw, rectangle, minimum width = 11em, rectangle, below = of f, minimum height = 2em, yshift = 2ex] (g) {清中断标志};
     \node [draw, rectangle, minimum width = 10em, rounded corners = 1.2em, below = of g] (h) {中断返回};
     \draw [->] (a.south) -- (b.north);
     \draw [->] (b.south) -- (c.north);
@@ -35,7 +33,6 @@
   \label{5-1}
 \end{figure}
 
-\vspace*{-1.5em}
 \section{模块说明}
 
 \begin{enumerate}

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-bc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-bc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-bc.tex	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-bc.tex	2024-11-20 21:17:05 UTC (rev 72914)
@@ -1,14 +1,15 @@
-\documentclass[I-agree]{hduthesis}
-
-\setmathfont{STIX Two Math}
-\setCJKmainfont{Songti SC}[AutoFakeSlant]
-\setCJKsansfont{STHeiti}[AutoFakeBold = 2]
+\documentclass
+  [
+    math-font    = STIX Two Math, agreed,
+    CJKmain-font = { {Songti SC}[AutoFakeSlant] },
+    CJKsans-font = { {STHeiti}[AutoFakeBold = 2] }
+  ] {hduthesis}
 \tikzset{ > = stealth }
 \usetikzlibrary{positioning,shapes.geometric}
 
 \DocInfo
   {
-    title      = 杭州电子科技大学学位论文 \hologo{LaTeX} 模板/毕业论文,
+    title      = 杭州电子科技大学学位论文 \hologo{LaTeX} 模板/毕业设计,
     department = 理学院,
     major      = 物理学,
     class      = 英才班,

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-pg.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-pg.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-pg.tex	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/doc/xelatex/hduthesis/examples/hduthesis-pg.tex	2024-11-20 21:17:05 UTC (rev 72914)
@@ -1,8 +1,10 @@
-\documentclass[I-agree]{hduthesis}
+\documentclass
+  [
+    math-font    = STIX Two Math, agreed,
+    CJKmain-font = { {Songti SC}[AutoFakeSlant] },
+    CJKsans-font = { {STHeiti}[AutoFakeBold = 2] }
+  ] {hduthesis}
 
-\setmathfont{STIX Two Math}
-\setCJKmainfont{Songti SC}[AutoFakeSlant]
-\setCJKsansfont{STHeiti}[AutoFakeBold = 2]
 \tikzset{ > = stealth }
 \usetikzlibrary{positioning,shapes.geometric}
 
@@ -35,7 +37,7 @@
 \end{abstract}
 
 \begin{abstract}[en]
-  \setstretch{1.3}
+  \setstretch{1.35}
   Design patterns are widely used to address the recurring design problems during the process of software design and development. The information about design patterns used in software source code-design pattern instances reveal much about the high-level abstract design ideas. Accurately identifying and detecting design pattern instances in a software system can help developers and maintainers to understand its original design and implementation, facilitating maintenance, update and re-development.
 
   In recent years, many approaches have been proposed to automatically or semi-automatically detecting design pattern instances from software source code. Among these approaches, some approaches transform software source code and design patterns into certain graphs, and then exploit subgraph isomorphism techniques to detect design pattern instances. However, as mining isomorphic subgraphs is an NP-complete problem, those approaches usually fail to achieve satisfactory efficiency.

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

Modified: trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.tex
===================================================================
--- trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.tex	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/doc/xelatex/hduthesis/hduthesis.tex	2024-11-20 21:17:05 UTC (rev 72914)
@@ -1,85 +1,49 @@
-\documentclass[11pt,letterpaper]{l3doc}
+\documentclass[11pt]{hduthesisdoc}
 
-\hypersetup{urlcolor = teal, filecolor = violet}
-\hologoFontSetup{general = \sffamily}
-\usepackage[mono = false]{libertine}
-\usepackage{geometry,framed,xeCJKfntef,tikz,pdfpages,subcaption,fadingimage}
-\setlength{\oddsidemargin}{63pt}\setlength{\evensidemargin}{63pt}
-\FrameSep = 0pt 
-\usepackage[os = mac]{menukeys}
-\AddToHook{env/function/before}{\vspace{-.3\baselineskip}}
-\AddToHook{env/syntax/after}{\vspace{-.2\baselineskip}}
-\usepackage{datetime}\yyyymmdddate
-\usepackage[fontset = none, scheme = plain]{ctex}\linespread{1.5}
-\setCJKmainfont[AutoFakeSlant]{Songti SC}
-\setCJKsansfont[BoldFont = Hei, AutoFakeSlant]{Heiti SC}
-\setCJKmonofont[AutoFakeSlant]{LXGW WenKai Mono}
-\renewcommand{\emph}[1]{\CJKsout*[thickness=2.5ex, format=\color{blue!15}]{#1}}
-\makeatletter
-\def\HoLogo at hduthesis#1{%
-  \kern -1.3ex\raisebox{-.5pt}
-    {
-      \HOLOGO at mbox
-        {
-          \tikz[baseline = (hduthesis.base)]
-          {
-              \node [ inner sep = 0pt ] (hduthesis)
-                {\textsc{\cls{hduThesi\scalebox{1.2}[1.2]{S}}}};
-              \draw
-               let \p1 = (hduthesis.west), \p2 = (hduthesis.east)
-               in (\x1,\y1) (\x2,\y2)
-              [line width = {.028pt*(\x2 - \x1)}]
-              ([yshift = -.5ex]hduthesis.north west) to[bend right = 5]
-              ([yshift = .25ex]hduthesis.north east);
-          }
-        }
-    }\kern -1.3ex
- }
-\makeatother
+\DocInfo
+  {
+    title   = The \hologo{hduthesis} Class\\
+              \hologo{LaTeX} Thesis Template for Hangzhou Dianzi University,
+    author  = Mingyu Xia \mailto{xiamyphys at hdu.edu.cn}
+              \footnote{Physics Department, Graduate in 06/2025 (expected)},
+    version = v0.3.2,
+    CJKmain-font = {[AutoFakeSlant]{Songti SC}},
+    CJKsans-font = {[BoldFont = Hei, AutoFakeSlant]{Heiti SC}},
+    CJKmono-font = {[AutoFakeSlant]{LXGW WenKai Mono}}
+  }
 
-\title{\bfseries The \hologo{hduthesis} Class\\\hologo{LaTeX} Thesis Template for Hangzhou Dianzi University}
-\author
-{
-  Mingyu Xia \texttt{<\href{mailto:xiamyphys at gmail.com}{xiamyphys at hdu.edu.cn}>}
-  \footnote
-  { School of Sciences, Physics Department, Graduate in 06/2025 (expected) }
-}
-\date{v0.3.1\footnote{\url{https://github.com/xiamyphys/hduthesis}} ~(\today)}
-
 \begin{document}
 
-\begin{titlepage}
-  \newgeometry{margin = 1in}
-  \maketitle
-  \begin{center}
-    \tikz
-    {
-      \node [ opacity = .8 ] 
-        { \includegraphics[width = .15\paperwidth]{hdumotto.pdf} };
-      \node [ opacity = .3 ]
-        { \includegraphics[width = .2\paperwidth]{hdulogo.pdf} };
-    }
-  \end{center}
-    \begin{abstract}
-      \hologo{hduthesis} 是杭州电子科技大学毕业论文 \hologo{LaTeX}模板,支持学士和硕士学位论文排版.
-      \vspace*{1em}
-      \begin{center}
-        \small\bfseries User Agreement
-      \end{center}
-      \begin{enumerate}
-        \item 本模板通过 LPPL 1.3c 协议开放源代码,您可以随意使用编译出的 PDF 文件.
-        \item 本模板根据杭州电子科技大学教务处颁发的 \href{https://jwc.hdu.edu.cn/2022/0428/c4528a153813/page.htm}{杭电理工类毕业论文写作规范} 编写而成. 作者不对使用本模板产生的格式审查问题负责. \emph{如果您所在的学院因论文查重、收录等原因要求提交 \file{.docx} 格式,不接收 \file{.pdf} 论文稿件,请勿执意使用本模板,避免因格式转换带来不必要的麻烦.} 使用本模板时,请按编译错误提示操作来勾选同意用户协议.
-        \item 欢迎前往 GitHub 提交反馈意见,为推动学校认证与规范化 \hologo{hduthesis} 贡献力量.
-      \end{enumerate}
-    \end{abstract}
-  \thispagestyle{empty}
-\end{titlepage}
+\maketitle
+
+\begin{abstract}
+  \hologo{hduthesis} 是杭州电子科技大学毕业论文 \hologo{LaTeX}模板,支持学士和硕士学位论文排版.
+\end{abstract}
+\begin{center}
+  \small\bfseries User Agreement
+\end{center}
+\begin{enumerate}
+  \item 本模板通过 LPPL 1.3c 协议开放源代码,您可以随意使用编译出的 PDF 文件.
+  \item 本模板根据杭州电子科技大学教务处颁发的 \href{https://jwc.hdu.edu.cn/2022/0428/c4528a153813/page.htm}{杭电理工类毕业论文写作规范} 编写而成. 作者不对使用本模板产生的格式审查问题负责. \emph{如果您所在的学院因论文查重、收录等原因要求提交 \file{.docx} 格式,不接收 \file{.pdf} 论文稿件,请勿执意使用本模板,避免因格式转换带来不必要的麻烦.} 使用本模板时,请按编译错误提示操作来勾选同意用户协议.
+  \item 欢迎前往 GitHub 提交反馈意见,为推动学校认证与规范化 \hologo{hduthesis} 贡献力量.
+\end{enumerate}
+\thispagestyle{empty}
+\endtitlepage
 \restoregeometry
 
-\section{Introduction: Why ``\hologo{hduthesis}''?}
+\section{Introduction \& Loading \hologo{hduthesis}}
 
-本模板被命名为\hologo{hduthesis},奇怪的大小写方式诠释了HDU校门——亚洲第二大门!
+本模板为杭州电子科技大学学位论文 \underline{非官方} \hologo{LaTeX} 模板,
+支持学士和硕士学位论文排版. 加载 \hologo{hduthesis} 时遇到``编译受阻''报错,
+请认真阅读上页的用户协议. 键入全局选项 \cmd{agreed} 后,
+方可顺利进行编译,并默认您已同意用户协议.
 
+\begin{framed}
+  \begin{verbatim}
+    \documentclass [ agreed, ... ] { hduthesis }
+  \end{verbatim}
+\end{framed}
+
 \section{Generate the Cover}
 
 \begin{function}{\DocInfo}
@@ -87,16 +51,15 @@
     \cs{DocInfo}\marg{keyvals}
   \end{syntax}
 
-  此命令接收键值,用于设置文档信息. 键 \keys{\cmdmac~title} 用于设置论文标题,键 \keys{\cmdmac~department} 用于设置学院,键 \keys{\cmdmac~major} 用于设置专业,键 \keys{\cmdmac~class} 用于设置班级,键 \keys{\cmdmac~stdntid} 用于设置学号,键 \keys{\cmdmac~author} 用于设置作者,键 \keys{\cmdmac~supervisor} 用于设置导师,键 \keys{\cmdmac~bibsource} 用于设置插入参考文献文件源. 命令会根据输入的学号自动判断使用者为本科生/研究生 \footnote{杭州电子科技大学本科生学号为8位,研究生学号为9位.}.
+  此命令接收键值,用于设置文档信息. 键 \keys{\cmdmac~title} 用于设置论文标题,键 \keys{\cmdmac~department} 用于设置学院,键 \keys{\cmdmac~major} 用于设置专业,键 \keys{\cmdmac~class} 用于设置班级,键 \keys{\cmdmac~stdntid} 用于设置学号,键 \keys{\cmdmac~author} 用于设置作者,键 \keys{\cmdmac~supervisor} 用于设置导师,键 \keys{\cmdmac~bibsource} 用于设置插入参考文献文件源. 命令会根据输入的学号自动判断使用者为本科生/研究生.
 
   命令 \cs{DocInfo} 需在导言区中执行. 完成文档信息输入后,在 \verb|\begin{document}| 后执行命令 \cs{maketitle} 会调用所设置的键值自动生成 \emph{论文封面} 和 \emph{诚信承诺书}.
 \end{function}
 
-本科生输入样例如下. 需要使用键 \keys{\cmdmac~title} 设置类型为毕业设计/毕业论文,使用斜线 (/) 分隔,如 \cmd{title = 杭州电子科技大学学位论文 \hologo{LaTeX} 模板/毕业论文}. 如果未指定类型,则默认采用毕业设计版式.
+本科生输入样例如下. 需要使用键 \keys{\cmdmac~title} 设置类型为毕业设计/毕业论文,使用斜线 (/) 分隔,如 \cmd{title = 杭州电子科技大学学位论文 \hologo{LaTeX} 模板/毕业论文}.
 
 \begin{framed}
   \begin{verbatim}
-    \documentclass { hduthesis }
     \DocInfo
       {
         title      = 杭州电子科技大学学位论文 \hologo{LaTeX} 模板/毕业论文,
@@ -103,7 +66,6 @@
         department = 理学院, major      = 物理学, stdntid   = 21668668,
         author     = 申智能, supervisor = 李智能, bibsource = reference
       }
-    \begin{document}  \maketitle  ...  \end{document}
   \end{verbatim}
 \end{framed}
 
@@ -113,7 +75,7 @@
   [ angle = -90, nup = 1x2, frame, linktodoc, scale = 0.96, delta = 0 .25in ]
   { /Users/xiamyphys/Desktop/LaTeXer/hduthesis/examples/hduthesis-bc.pdf, 1-2 }
 
-研究生输入样例如下. 依学校要求,硕士学位论文扉页需同时有英文版. 因此需要在键 \keys{\cmdmac~title} \keys{\cmdmac~author} \keys{\cmdmac~supervisor} 中分别输入中文和英文信息,使用斜线 (/) 分隔. 如作者中文姓名为 \cmd{申智能},英文姓名为 \cmd{SAN Chi Nan},则键值输入格式为 \cmd{author = 申智能/SAN Chi Nan}.
+研究生输入样例如下. 硕士学位论文扉页需同时有英文版,因此需要在键 \keys{\cmdmac~title} \keys{\cmdmac~author} \keys{\cmdmac~supervisor} 中分别输入中文和英文信息,使用斜线 (/) 分隔. 如作者中文姓名为 \cmd{申智能},英文姓名为 \cmd{SAN Chi Nan},则键值输入格式为 \cmd{author = 申智能/SAN Chi Nan}.
 
 \begin{framed}
   \begin{verbatim}
@@ -160,7 +122,7 @@
   \end{verbatim}
 \end{framed}
 
-通过命令 \cs{keywords} 以半角逗号 (,) 为分隔输入关键词列表,输出时会根据所处 \env{abstract} 环境选择的语言不同,自动以半 / 全角分号分隔. 下图为生成的中/英摘要样例,可在终端执行 \cmd{texdoc hduthesis-pg} 获取此样例文件.
+通过命令 \cs{keywords} 以半角逗号 (,) 为分隔输入关键词列表,输出时会根据所处 \env{abstract} 环境选择的语言不同,自动以半 / 全角分号分隔. 下图为生成的中/英摘要样例,可在终端执行 \cmd{texdoc hduthesis-bc} 获取此样例文件.
 
 \begin{figure}[htbp]
   \centering

Modified: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-bc.layout-module.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-bc.layout-module.code.tex	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-bc.layout-module.code.tex	2024-11-20 21:17:05 UTC (rev 72914)
@@ -1,16 +1,11 @@
+\ExplSyntaxOn \makeatletter
 \hduthesis_provide_module:n {bc.layout}
-\makeatletter
 
 \geometry { top = 3.25cm, bottom = 2.4cm, left = 4cm, right = 2cm,
             headheight = 15pt, headsep = .72cm }
-\tl_if_eq:NnTF \l__docinfo_entitle_tl {毕业设计}
-{   \chead{\raisebox{.12ex}{\small 杭州电子科技大学本科毕业设计}} }
-{
-  \tl_if_eq:NnTF
-  \l__docinfo_entitle_tl {毕业论文}
-  { \chead{\raisebox{.12ex}{\small 杭州电子科技大学本科毕业论文}} }
-  { \chead{\raisebox{.12ex}{\small 杭州电子科技大学本科毕业设计}} }
-}\lhead{}\rhead{}
+\chead
+  { \raisebox { .12ex } { \small 杭州电子科技大学本科 \l__docinfo_entitle_tl } }
+\lhead{}\rhead{}
 
 \int_new:N \l__hduthesis_grade_int
 \int_set:Nn \l__hduthesis_grade_int
@@ -21,20 +16,16 @@
 \cs_new_protected_nopar:Nn \__hduthesis_cover_bc_aux:
   {
     \begin{center}
-      \vspace*{1.8\baselineskip}
+      \vspace*{36\p@}
       \includegraphics{hdubadge}
-      \par\vspace*{2\baselineskip}
+      \par \vspace*{36\p@}
       \scalebox{3.2}
       {
-        \tl_if_eq:NnTF
-        \l__docinfo_entitle_tl {毕业设计}
-        {   \textbf { \l_spread_box:nn {.191\paperwidth} {本科毕业设计} }}
-        {
-          \tl_if_eq:NnTF
-          \l__docinfo_entitle_tl {毕业论文}
-          { \textbf { \l_spread_box:nn {.191\paperwidth} {本科毕业论文} }}
-          { \textbf { \l_spread_box:nn {.191\paperwidth} {本科毕业设计} }}
-        }
+        \textbf
+          {
+            \exp_args:Nne \l_spread_box:nn
+              { .191\paperwidth } { 本科 \l__docinfo_entitle_tl }
+          }
       }
       \par\vspace*{1.3\baselineskip}
       {
@@ -48,25 +39,25 @@
         }
         题\qquad 目 & 
         \l_center_box:nn { .95\linewidth }
-                         { \l__docinfo_cntitle_tl }\\[5.4ex]
+                         { \l__docinfo_cntitle_tl }\\[5.2ex]
         学\qquad 院 & 
         \l_center_box:nn { .95\linewidth }
-                         { \l__docinfo_department_tl }\\[5.4ex]
+                         { \l__docinfo_department_tl }\\[5.2ex]
         专\qquad 业 & 
         \l_center_box:nn { .95\linewidth }
-                         { \l__docinfo_major_tl }\\[5.4ex]
+                         { \l__docinfo_major_tl }\\[5.2ex]
         班\qquad 级 & 
         \l_center_box:nn { .95\linewidth }
-                         { \l__docinfo_class_tl }\\[5.4ex]
+                         { \l__docinfo_class_tl }\\[5.2ex]
         学\qquad 号 & 
         \l_center_box:nn { .95\linewidth }
-                         { \l__docinfo_stdntid_tl }\\[5.4ex]
+                         { \l__docinfo_stdntid_tl }\\[5.2ex]
         学生姓名 & 
         \l_center_box:nn { .95\linewidth }
-                         { \l__docinfo_cnauthor_tl }\\[5.4ex]
+                         { \l__docinfo_cnauthor_tl }\\[5.2ex]
         指导教师 & 
         \l_center_box:nn { .95\linewidth }
-                         { \l__docinfo_cnsupervisor_tl }\\[5.4ex]
+                         { \l__docinfo_cnsupervisor_tl }\\[5.2ex]
         完成日期 &
         \l_center_box:nn { .95\linewidth }
                          {
@@ -79,13 +70,13 @@
 
 \cs_new_protected_nopar:Nn \__hduthesis_promise_bc_aux:
   {
-    \vspace*{3.5\baselineskip}
+    \vspace*{70\p@}
     \begin{center}
-      \@beginparpenalty\@lowpenalty
-      \Large\textsf{\bfseries \l_spread_box:nn {6\ccwd}{诚信承诺}}
-      \@endparpenalty\@M
+      \@beginparpenalty \@lowpenalty
+      \Large \textsf{\bfseries \l_spread_box:nn {6\ccwd}{诚信承诺}}
+      \@endparpenalty \@M
     \end{center}
-    \vspace*{.6\baselineskip}\par
+    \vspace*{.5\baselineskip} \par
     \linespread{2.1}
       {\semilarge
         我谨在此承诺:本人所写的毕业论文《\l__docinfo_cntitle_tl》均系本人独立完成,
@@ -93,13 +84,13 @@
         \par\vspace*{\baselineskip} \bfseries\sffamily
         \hskip.48\linewidth 承诺人(签名):
         \vspace*{.5\baselineskip}\par
-        \hskip \dim_eval:n{.48\linewidth+2em} 年\qquad 月\qquad 日
+        \hskip \dim_eval:n{ .48\linewidth + 2em } 年\qquad 月\qquad 日
       }
   }
 
 \RenewDocumentCommand \maketitle {}
   {
-    \newgeometry{left = 4cm, right = 2cm, top = 1cm, bottom = 1cm}
+    \newgeometry{ left = 4cm, right = 2cm, top = 3cm, bottom = 1cm }
     \begin{titlepage}
       \__hduthesis_cover_bc_aux:
     \end{titlepage}
@@ -143,43 +134,40 @@
 \hook_gput_code:nnn { cmd/tableofcontents/after } { . }
   { \thispagestyle{fancy} }
 \RequirePackage{tocloft}
-\renewcommand{\contentsname}{\hfill 目 \qquad 录 \hfill}
-\renewcommand \cfttoctitlefont{\sffamily\large}
+\renewcommand \contentsname {\hfill 目 \qquad 录 \hfill}
+\renewcommand \cfttoctitlefont {\sffamily\semiLarge}
 \dim_set:Nn \cftbeforetoctitleskip {3pt}
 \dim_set:Nn \cftaftertoctitleskip {24pt}
 \dim_set:Nn \cftbeforechapskip {1pt}
 \dim_set:Nn \cftbeforesecskip {-.2pt}
-\renewcommand*\l at chapter{\@dottedtocline{1}{0em}{1.6em}}
-\renewcommand*\l at section{\@dottedtocline{1}{2.3em}{2.1em}}
-\renewcommand*{\@dotsep}{1.7}
-\renewcommand*{\@pnumwidth}{2.5ex}
-\renewcommand{\cftchapfont}{\normalfont}
+\renewcommand*\l at chapter {\@dottedtocline{1}{0em}{1.6em}}
+\renewcommand*\l at section {\@dottedtocline{1}{2.3em}{2.1em}}
+\renewcommand \@dotsep{1.7}
+\renewcommand \@pnumwidth{2.5ex}
+\renewcommand \cftchapfont{\normalfont}
 \setcounter{tocdepth}{1}
 
 \ctexset
   {
-    chapter =
+    chapter    =
       {
-        name       = {},
+        name       = {},   fixskip    = true,
+        beforeskip = 21pt, afterskip  = 34pt,
         number     = \arabic{chapter},
-        format     = { \sffamily\centering\large },
-        beforeskip = { -18\p@ },
-        afterskip  = { 24\p@ },
-        pagestyle  = { fancy }
+        format     = \sffamily\centering\large,
+        pagestyle  = fancy
       },
+    section    =
+      {
+        beforeskip = 1.25ex, afterskip = 1.5ex,
+        fixskip    = true,   format    = \sffamily\semilarge
+      },
+    subsection =
+      {
+        beforeskip = 1.25ex, afterskip = 1.5ex,
+        fixskip    = true,   format    = \sffamily
+      }
   }
-\renewcommand\section
-  {
-    \vspace*{-2.4ex}
-    \@startsection {section}{1}{\z@}%
-      {0ex}{.1pt}{\sffamily\semilarge}
-  }
-\renewcommand\subsection
-  {
-    \vspace*{-1.8ex}
-    \@startsection {subsection}{2}{\z@}%
-      {0ex}{.1pt}{\sffamily}
-  }
 
-\makeatother
+\makeatother \ExplSyntaxOff
 \endinput

Modified: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-font-module.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-font-module.code.tex	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-font-module.code.tex	2024-11-20 21:17:05 UTC (rev 72914)
@@ -7,13 +7,13 @@
 
 \setmainfont{texgyretermes}
   [
-    Extension = .otf, UprightFont = *-regular, BoldFont = *-bold,
-    ItalicFont = *-italic, BoldItalicFont = *-bolditalic
+    Extension  = .otf,     UprightFont = *-regular, BoldFont = *-bold, ItalicFont = *-italic, BoldItalicFont = *-bolditalic
   ]
 \setsansfont{texgyreheros}
   [
-    Extension = .otf, scale = .9, UprightFont = *-regular, BoldFont = *-bold,
-    ItalicFont = *-italic, BoldItalicFont = *-bolditalic,
+    Extension   = .otf,      BoldItalicFont = *-bolditalic,
+    UprightFont = *-regular, BoldFont       = *-bold,
+    ItalicFont  = *-italic,  scale          = .9,
   ]
 
 \RequirePackage { amsmath, amssymb, mathtools, extarrows,
@@ -27,4 +27,13 @@
   \dim_set:Nn \belowdisplayskip {3pt}
 }
 
+\tl_if_empty:NF \g__hduthesis_math_font
+  { \setmathfont { \g__hduthesis_math_font } }
+\tl_if_empty:NF \g__hduthesis_main_CJK_font
+  { \exp_last_unbraced:No \setCJKmainfont \g__hduthesis_main_CJK_font }
+\tl_if_empty:NF \g__hduthesis_sans_CJK_font
+  { \exp_last_unbraced:No \setCJKsansfont \g__hduthesis_sans_CJK_font }
+\tl_if_empty:NF \g__hduthesis_mono_CJK_font
+  { \exp_last_unbraced:No \setCJKmonofont \g__hduthesis_mono_CJK_font }
+
 \endinput

Modified: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-pg.layout-module.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-pg.layout-module.code.tex	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-pg.layout-module.code.tex	2024-11-20 21:17:05 UTC (rev 72914)
@@ -1,5 +1,5 @@
+\ExplSyntaxOn \makeatletter
 \hduthesis_provide_module:n {pg.layout}
-\makeatletter
 
 \geometry { top = 2.75cm, bottom = 2cm, left = 3.2cm, right = 3.2cm,
             headheight = 15pt, headsep = .72cm }
@@ -158,8 +158,16 @@
       \tl_set:Nn \l__keywords_sep_tl {,}
     }
     \@beginparpenalty\@lowpenalty
-    \str_if_eq:nnT {#1} {cn} {\chapter*{摘要}}
-    \str_if_eq:nnT {#1} {en} {\chapter*{\normalfont\bfseries Abstract}}
+    \str_if_eq:nnT {#1} {cn}
+      {
+        \chapter*{摘要}
+        \addcontentsline{toc}{chapter}{摘要}
+      }
+    \str_if_eq:nnT {#1} {en}
+      {
+        \chapter*{\normalfont\bfseries Abstract}
+        \addcontentsline{toc}{chapter}{\bfseries Abstract}
+      }
   }
   {
     \par\null
@@ -181,7 +189,7 @@
   { \thispagestyle{fancy} }
 \RequirePackage{tocloft}
 \renewcommand{\contentsname}{\hfill 目录 \hfill}
-\renewcommand \cfttoctitlefont{\sffamily\large}
+\renewcommand \cfttoctitlefont{\sffamily\semiLarge}
 \dim_set:Nn \cftbeforetoctitleskip {12pt}
 \dim_set:Nn \cftaftertoctitleskip {24pt}
 \dim_set:Nn \cftbeforechapskip {1pt}
@@ -195,27 +203,27 @@
 
 \ctexset
   {
-    chapter =
+    chapter    =
       {
-        aftername  = { \hspace{.5\ccwd} },
-        format     = { \sffamily\centering\semiLarge },
-        beforeskip = { 10\p@ },
-        afterskip  = { 20\p@ },
-        pagestyle  = { fancy }
+        aftername  = \hspace{.5\ccwd}, fixskip   = true,
+        beforeskip = 35pt,             afterskip = 30pt,
+        format     = \sffamily\centering\semiLarge,
+        pagestyle  = fancy
+      },
+    section    =
+      {
+        aftername  = \hspace{.5\ccwd}, fixskip   = true,
+        beforeskip = 2ex,              afterskip = 2.5ex,
+        format = \sffamily\large
+         ,
+      },
+    subsection =
+      {
+        aftername  = \hspace{.5\ccwd}, fixskip   = true,
+        beforeskip = 2ex,           afterskip = 3ex,
+        format     = \sffamily\semilarge
       }
   }
-\renewcommand\section
-  {
-    \vspace*{1pt}
-    \@startsection {section}{1}{\z@}%
-      {0ex}{.8ex}{\sffamily\large}
-  }
-\renewcommand\subsection
-  {
-    \vspace*{2pt}
-    \@startsection {subsection}{2}{\z@}%
-      {0ex}{1.2ex}{\sffamily\semilarge}
-  }
 
-\makeatother
+\makeatother \ExplSyntaxOff
 \endinput

Modified: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-unv.layout-module.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-unv.layout-module.code.tex	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis-unv.layout-module.code.tex	2024-11-20 21:17:05 UTC (rev 72914)
@@ -1,7 +1,6 @@
 \hduthesis_provide_module:n {unv.layout}
 
-\RequirePackage{geometry, fancyhdr, array, setspace}
-\pagestyle{fancy}
+\RequirePackage{geometry, array, setspace}
 
 \newcommand\frontmatter
   {
@@ -51,10 +50,10 @@
     \box1
   }
 
-\RequirePackage[skip = 1em, labelsep = quad, font = small]{caption}
-\renewcommand{\thefigure}{\arabic{chapter}-\arabic{figure}}
-\renewcommand{\thetable}{\arabic{chapter}-\arabic{table}}
-\renewcommand{\theequation}{\arabic{chapter}-\arabic{equation}}
+\RequirePackage[skip = 1.75ex, labelsep = quad, font = small]{caption}
+\renewcommand*\thefigure {\arabic{chapter}-\arabic{figure}}
+\renewcommand*\thetable {\arabic{chapter}-\arabic{table}}
+\renewcommand*\theequation {\arabic{chapter}-\arabic{equation}}
 \AddToHook{env/figure/after}{\vspace*{-2.3ex}}
 \AddToHook{env/table/after}{\vskip-1.9ex}
 
@@ -61,11 +60,10 @@
 \RequirePackage{enumitem, cleveref}
 \setlist[enumerate,1]
   {
-    label = (\arabic*), itemindent = 4.5em, leftmargin = 0em,
-    labelsep = 0em, topsep = -1pt, itemsep = 0pt, partopsep = 0pt,
+    label = (\,\arabic*\,), itemindent = 4em, leftmargin = 0em,
+    labelsep = 1ex, topsep = 0pt, itemsep = 0pt, partopsep = 0pt,
     parsep = 0em, listparindent = 2\ccwd
   }
-\AddToHook{env/enumerate/after}{\vspace*{.1ex}}
 \crefformat{figure}{图#2#1#3}
 \crefformat{table}{表#2#1#3}
 \graphicspath

Modified: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis.cls	2024-11-20 21:16:00 UTC (rev 72913)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesis.cls	2024-11-20 21:17:05 UTC (rev 72914)
@@ -20,12 +20,12 @@
 %%                                and README.md.                         *
 %%    available at https://github.com/xiamyphys/hduthesis                *
 %% ***********************************************************************
-\def\hduthesis at date{2024/11/16}
-\def\hduthesis at version{0.3.1}
+\def\hduthesis at date{2024/11/20}
+\def\hduthesis at version{0.3.2}
 
 \RequirePackage{etoolbox}
 \ProvidesExplClass{hduthesis} {\hduthesis at date} {\hduthesis at version}
-{HDU Thesis Class}
+  {LaTeX Class for Thesis at Hangzhou Dianzi University}
 
 \cs_new_protected:Npn \hduthesis_msg_new:nn #1#2 
   { \msg_new:nnn { hduthesis } {#1} {#2} }
@@ -35,13 +35,12 @@
 \hduthesis_msg_new:nn { 用户协议 }
   { \exp_not:n
     {
-      ⚠️⚠️⚠️⚠️⚠️⚠️~「HduThesis」编译受阻~⚠️⚠️⚠️⚠️⚠️⚠️~
+      ⚠️⚠️⚠️⚠️⚠️~「hduThesiS」编译受阻🥵~⚠️⚠️⚠️⚠️⚠️~
       使用模板前请认真阅读模板说明文档封面上的「用户协议」~
       😡👊模板作者不对使用本模板产生的格式审查问题负责👊😡~
-      导言区添加全局选项 `I-agree':
-      `\documentclass[I-agree]{hduthesis}`~
-      即可顺利编译✌️并代表您已同意本协议🥰~
-      可反馈Issues至📮xiamyphys at gmail.com.~ 祝君科研顺利!
+      添加选项 `agreed'[\documentclass[agreed]{hduthesis}]~
+      即可顺利编译并默认代表您已同意本协议.~ 祝君科研顺利!~
+      如遇问题,可邮件反馈至📮xiamyphys at gmail.com.~ 
     }
   }
 
@@ -67,13 +66,10 @@
 \clist_new:N \g__hdu_base_class_options_clist
 \keys_define:nn { hduthesis / classoption }
   {
-    I-agree .bool_set:N  = \g__hduthesis_agreement_bool,
-      I-agree .initial:n = false,
-      I-agree .default:n = true,
+    agreed .bool_set:N     = \g__hduthesis_agreement_bool,
+      agreed .initial:n    = false,
+      agreed .default:n    = true,
     math-font .tl_set:N     = \g__hduthesis_math_font,
-    main-font .tl_set:N     = \g__hduthesis_main_font,
-    sans-font .tl_set:N     = \g__hduthesis_sans_font,
-    mono-font .tl_set:N     = \g__hduthesis_mono_font,
     CJKmain-font .tl_set:N  = \g__hduthesis_main_CJK_font,
     CJKsans-font .tl_set:N  = \g__hduthesis_sans_CJK_font,
     CJKmono-font .tl_set:N  = \g__hduthesis_mono_CJK_font,
@@ -91,21 +87,26 @@
       }
   }
 
-\ProcessKeyOptions[ hduthesis / classoption ]
-\PassOptionsToClass{a4paper,zihao = -4}{ctexrep}
-\PassOptionsToPackage{quiet,no-math}{xeCJK}
-\exp_args:NNV \LoadClass[\g__hdu_base_class_options_clist]{ctexrep}
-\bool_if:NF \g__hduthesis_agreement_bool
-  { \hduthesis_msg_error:nn { 用户协议 } { 未确认 } }
+\ProcessKeyOptions [ hduthesis / classoption ]
+\PassOptionsToClass { a4paper, zihao = -4 } { ctexrep }
+\PassOptionsToPackage { quiet, no-math } { xeCJK }
+\exp_args:NNV \LoadClass [ \g__hdu_base_class_options_clist ] { ctexrep }
 
 \RequirePackage { siunitx, circuitikz, pgfplots, listings, hologo,
-                  lipsum, zhlipsum, booktabs, multicol, hyperref }
-\pgfplotsset{compat = newest}
-\pdfstringdefDisableCommands
+                  lipsum, zhlipsum, booktabs, multicol }
+\pgfplotsset { compat = newest }
+
+\bool_if:NTF \g__hduthesis_agreement_bool
   {
-    \def\cite#1{<#1>}
-    \def\hologoRobust#1{<#1>}
-  }
+    \RequirePackage{hyperref}
+    \pdfstringdefDisableCommands
+      {
+        \def\cite#1{<#1>}
+        \def\hologoRobust#1{<#1>}
+      }
+    \AtBeginDocument
+      { \hypersetup { hidelinks, pdfproducer = hduThesiS~by~Mingyu~Xia } }
+  } { \hduthesis_msg_error:nn { 用户协议 } { 未确认 } }
 
 \hduthesis_load_module:n { font }
 \hduthesis_load_module:n { unv.layout }
@@ -112,14 +113,14 @@
 
 \keys_define:nn { hduthesis / docinfo }
   {
-    title.clist_set:N      = \l__docinfo_title_clist,
-    department.tl_set:N    = \l__docinfo_department_tl,
-    major.tl_set:N         = \l__docinfo_major_tl,
-    class.tl_set:N         = \l__docinfo_class_tl,
-    stdntid.tl_set:N       = \l__docinfo_stdntid_tl,
-    author.clist_set:N     = \l__docinfo_author_clist,
-    supervisor.clist_set:N = \l__docinfo_supervisor_clist,
-    bibsource.tl_set:N     = \l__docinfo_bibsource_tl,
+    title .clist_set:N      = \l__docinfo_title_clist,
+    department .tl_set:N    = \l__docinfo_department_tl,
+    major .tl_set:N         = \l__docinfo_major_tl,
+    class .tl_set:N         = \l__docinfo_class_tl,
+    stdntid .tl_set:N       = \l__docinfo_stdntid_tl,
+    author .clist_set:N     = \l__docinfo_author_clist,
+    supervisor .clist_set:N = \l__docinfo_supervisor_clist,
+    bibsource .tl_set:N     = \l__docinfo_bibsource_tl,
   }
 \clist_set:Nn \g_system_month_clist
   {
@@ -159,31 +160,20 @@
         \bibliographystyle{gbt7714-numerical}
         \dim_set:Nn \bibsep {.35ex}
         \newcommand*\printbibliography
-          { \nocite{*}\bibliography{ \l__docinfo_bibsource_tl } }
-        \hook_gput_code:nnn { cmd/printbibliography/before } { . }
           {
-            \group_begin:
-            \hook_gput_code:nnn { cmd/@makeschapterhead/before } { . } { \null }
-          }
-        \hook_gput_code:nnn { cmd/printbibliography/after } { . }
-          {
-            \group_end:
+            \nocite{*} \bibliography { \l__docinfo_bibsource_tl }
             \addcontentsline{toc}{chapter}{参考文献}
           }
       }
-    \hypersetup
-      {
-        hidelinks, pdftitle = \l__docinfo_entitle_tl,
-        pdfauthor = \l__docinfo_enauthor_tl,
-        pdfproducer = hduTeX~bundle~by~Mingyu~Xia,
-      }
-    \ExplSyntaxOn
-      \int_compare:nNnTF { \tl_count:N \l__docinfo_stdntid_tl } = { 8 }
-        { \hduthesis_load_module:n { bc.layout } }
-        { \hduthesis_load_module:n { pg.layout } }
-    \ExplSyntaxOff
+    \int_compare:nNnTF { \tl_count:N \l__docinfo_stdntid_tl } = { 8 }
+      { \hduthesis_load_module:n { bc.layout } }
+      { \hduthesis_load_module:n { pg.layout } }
   }
 
+\RequirePackage{fancyhdr}
+\pagestyle{fancy}
+\renewcommand*\headrulewidth {.6pt}
+
 \endinput
 
 % End of file hduthesis.cls

Added: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesisdoc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesisdoc.cls	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesisdoc.cls	2024-11-20 21:17:05 UTC (rev 72914)
@@ -0,0 +1,111 @@
+%% ***********************************************************************
+%%            Copyright 2024 by M.Y. XIA <xiamyphys at gmail.com>           *
+%%                                                                       *
+%%    This work may be distributed and/or modified under the conditions  *
+%%    of the LaTeX Project Public License                                *
+%%                                                                       *
+%%               http://www.latex-project.org/lppl.txt                   *
+%%                                                                       *
+%%    either version 1.3c of this license or any later version.          *
+%%                                                                       *
+%%    This work has the LPPL maintenance status `maintained'.            *
+%%                                                                       *
+%%    The Current Maintainers of this work is M.Y. XIA                   *
+%%                                                                       *
+%%    This work consists of the files hduthesisdoc.cls,                  *
+%%    available at https://github.com/xiamyphys/hduthesis                *
+%% ***********************************************************************
+\def\hduthesisdoc at date{2024/11/20}
+\def\hduthesisdoc at version{0.3.2}
+
+\ProvidesExplClass{hduthesisdoc} {\hduthesisdoc at date} {\hduthesisdoc at version}
+  {LaTeX Manual Class for LaTeX Package hduthesis}
+
+\LoadClass [ 11pt ] { l3doc }
+
+\keys_define:nn { hduthesisdoc / docinfo }
+  {
+    title .tl_set:N         = \l__docinfo_title_clist,
+    author .tl_set:N        = \l__docinfo_author_tl,
+    version .tl_set:N       = \l__docinfo_version_tl,
+    CJKmain-font .tl_set:N  = \g__hduthesisdoc_main_CJK_font,
+    CJKsans-font .tl_set:N  = \g__hduthesisdoc_sans_CJK_font,
+    CJKmono-font .tl_set:N  = \g__hduthesisdoc_mono_CJK_font
+  }
+
+\NewDocumentCommand \DocInfo { m }
+  {
+    \keys_set:nn { hduthesisdoc / docinfo } {#1}
+    \title { \bfseries \l__docinfo_title_clist }
+    \author { \l__docinfo_author_tl }
+    \date
+      {
+        \l__docinfo_version_tl
+        \footnote{\url{https://github.com/xiamyphys/hduthesis}}~ (\today)
+      }
+    \tl_if_empty:NF \g__hduthesisdoc_main_CJK_font
+      { \exp_last_unbraced:No \setCJKmainfont \g__hduthesisdoc_main_CJK_font }
+    \tl_if_empty:NF \g__hduthesisdoc_sans_CJK_font
+      { \exp_last_unbraced:No \setCJKsansfont \g__hduthesisdoc_sans_CJK_font }
+    \tl_if_empty:NF \g__hduthesisdoc_mono_CJK_font
+      { \exp_last_unbraced:No \setCJKmonofont \g__hduthesisdoc_mono_CJK_font }
+  }
+
+\hypersetup{urlcolor = teal, filecolor = violet}
+\hologoFontSetup{general = \sffamily}
+\RequirePackage[mono = false]{libertine}
+\RequirePackage{geometry,framed,xeCJKfntef,tikz,pdfpages,subcaption,fadingimage}
+\setlength{\oddsidemargin}{63pt}\setlength{\evensidemargin}{63pt}
+\FrameSep = 0pt 
+\RequirePackage[os = mac]{menukeys}
+\AddToHook{env/function/before}{\vspace{-.3\baselineskip}}
+\AddToHook{env/syntax/after}{\vspace{-.2\baselineskip}}
+\RequirePackage{datetime}\yyyymmdddate
+\RequirePackage[fontset = none, scheme = plain]{ctex}\linespread{1.5}
+\renewcommand{\emph}[1]{\CJKsout*[thickness=2.5ex, format=\color{blue!15}]{#1}}
+
+\def\HoLogo at hduthesis#1{%
+  \raisebox{-.5pt}
+    {
+      \HOLOGO at mbox
+        {
+          \tikz[baseline = (hduthesis.base)]
+          {
+              \node [ inner~sep = 0pt ] (hduthesis)
+                {\textsc{\cls{hduThesi\scalebox{1.2}[1.2]{S}}}};
+              \draw
+               let \p1 = (hduthesis.west), \p2 = (hduthesis.east)
+               in (\x1,\y1) (\x2,\y2)
+              [line~width = {.028pt*(\x2 - \x1)}]
+              ([yshift = -.5ex]hduthesis.north~west) to[bend~right = 5]
+              ([yshift = .25ex]hduthesis.north~east);
+          }
+        }
+    }
+ }
+
+\let \legacy at maketitle \maketitle
+\RenewDocumentCommand \maketitle {}
+  {
+    \titlepage
+    \newgeometry{margin = 1in}
+    \legacy at maketitle
+    \begin{center}
+      \tikz
+        {
+          \node [ opacity = .8 ] 
+            { \includegraphics[width = .15\paperwidth]{hdumotto.pdf} };
+          \node [ opacity = .3 ]
+            { \includegraphics[width = .21\paperwidth]{hdulogo.pdf} };
+      }
+    \end{center}
+  }
+
+\NewDocumentCommand \mailto {m}
+  { \texttt{<\href{mailto:#1}{#1}>} }
+\pdfstringdefDisableCommands
+  { \def\mailto#1{<#1>} }
+
+\endinput
+
+% End of file hduthesisdoc.cls


Property changes on: trunk/Master/texmf-dist/tex/xelatex/hduthesis/hduthesisdoc.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property


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