diff options
author | Norbert Preining <norbert@preining.info> | 2022-12-07 03:01:15 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-12-07 03:01:15 +0000 |
commit | 03b9a93a133d854a3f7a8043984aded34728edf6 (patch) | |
tree | 2851e88af03c17f21a6aa3b2a62d6a35a1ca7e40 /macros/xetex/latex/xduts/xduts.dtx | |
parent | 9858bb195fd9c52c986155223a79c6fa1158e94c (diff) |
CTAN sync 202212070301
Diffstat (limited to 'macros/xetex/latex/xduts/xduts.dtx')
-rw-r--r-- | macros/xetex/latex/xduts/xduts.dtx | 50 |
1 files changed, 38 insertions, 12 deletions
diff --git a/macros/xetex/latex/xduts/xduts.dtx b/macros/xetex/latex/xduts/xduts.dtx index ac9c27edf9..b1177cd4a3 100644 --- a/macros/xetex/latex/xduts/xduts.dtx +++ b/macros/xetex/latex/xduts/xduts.dtx @@ -1,14 +1,14 @@ % \iffalse %<*driver> \ProvidesFile{xduts.dtx} -[2022/12/03 v3.1.0.0 Xidian University TeX Suite] +[2022/12/06 v3.1.1.2 Xidian University TeX Suite] %</driver> %<class|sty>\NeedsTeXFormat{LaTeX2e} %<class|sty>\RequirePackage{expl3} %<xdufont>\ProvidesExplPackage{xdufont} %<xdupgthesis>\ProvidesExplClass{xdupgthesis} %<xduugthesis>\ProvidesExplClass{xduugthesis} -%<class|sty> {2022/12/03}{3.1.0.0} +%<class|sty> {2022/12/06}{3.1.1.2} %<xdufont> {Xidian University Font package} %<xdupgthesis> {Xidian University Postgraduate Thesis document class} %<xduugthesis> {Xidian University Undergraduate Thesis document class} @@ -141,6 +141,12 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1} \makeatother \RenewDocumentCommand{\floatpagefraction}{}{.8} \usepackage[nolinks]{qrcode} +\changes{v3.1.1.1}{2022/12/04}{手册首页增加水印} +\usepackage[firstpageonly=true]{draftwatermark} +\DraftwatermarkOptions{angle=45,fontsize=40pt,color={gray9!25}} +\ExplSyntaxOn +\SetWatermarkText{\prg_replicate:nn{18}{\prg_replicate:nn{6}{\xduts{}~}\xduts\\[30pt]}} +\ExplSyntaxOff \begin{document} \changes{v2.18.1.1}{2022/12/01}{隐藏源码、版本和索引} \OnlyDescription @@ -1644,14 +1650,35 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1} % 和《Good things come in little packages: An introduction to writing .ins and .dtx files》\footurl{https://www.tug.org/TUGboat/tb29-2/tb92pakin.pdf} % 提供了很大帮助。 % 在文档的编写过程中,参考了\filex{ctex.dtx}、\filex{fduthesis.dtx}、\filex{njuthesis.dtx}和\filex{thuthesis.dtx}。 +% \changes{v3.1.1.2}{2022/12/06}{增加QQ支付二维码} % \changes{v2.16.1.2}{2022/11/27}{修正文档中图片引用间距} % \changes{v2.15.0.1}{2022/11/26}{增加赞助二维码} % \section{赞助} % 如果觉得\xduts{}对您有所帮助,可以扫描\figrefx{fig:zanzhu}中的二维码来赞助\xduts{},赞助主要用于给作者补充营养。 +% \ExplSyntaxOn +% \str_set_convert:Nnnn \l_xduts_qq_qr_str {% +% 68747470733A2F2F692E7169616E62616F2E71712E636F6D2F77616C6C65742F737172636F64% +% 652E68746D3F6D3D74656E70617926613D3126753D313138333133313434372661633D434145% +% 517438365574415159343457366E415934414549675A4755775A6D51314D6A55784E3249354E% +% 32566A4D4455794E445A684D32457A4D6A45325A6A55314E7A512533445F7878785F7369676E% +% 266E3D4361726F6C26663D77616C6C6574 } { utf8/hex } { } +% \newcommand{\qqqr}{\str_use:N \l_xduts_qq_qr_str} +% \str_set_convert:Nnnn \l_xduts_alipay_qr_str {% +% 68747470733A2F2F71722E616C697061792E636F6D2F666B7831353935393164716575747463% +% 77626175726235} { utf8/hex } { } +% \newcommand{\alipayqr}{\str_use:N \l_xduts_alipay_qr_str} +% \str_set_convert:Nnnn \l_xduts_wxp_qr_str {% +% 7778703A2F2F6632663074504D4D506D3161616467483665396162527030446E317746337344% +% 6C6468764350382D66765346424577} { utf8/hex } { } +% \newcommand{\wxpqr}{\str_use:N \l_xduts_wxp_qr_str} +% \ExplSyntaxOff % \begin{figure}[h] % \centering -% \subcaptionbox{支付宝}{\textcolor[RGB]{22,120,255}{\qrcode[height=4cm]{https://qr.alipay.com/fkx159591dqeuttcwbaurb5}}}\qquad\qquad -% \subcaptionbox{微信支付}{\textcolor[RGB]{7,193,96}{\qrcode[height=4cm]{wxp://f2f0Pkqu8eK5cgsln6RSPWFQi4SGT\_bM8hMuuIp2vk7Y0Zc}}} +% \mbox{}\hfill +% \subcaptionbox{支付宝}{\textcolor[RGB]{22,120,255}{\qrcode[height=4cm]{\alipayqr}}}\hfill +% \subcaptionbox{微信支付}{\textcolor[RGB]{7,193,96}{\qrcode[height=4cm]{\wxpqr}}}\hfill +% \subcaptionbox{QQ支付}{\textcolor[RGB]{18,184,246}{\qrcode[height=4cm]{\qqqr}}} +% \hfill\mbox{} % \caption{赞助二维码} % \label{fig:zanzhu} % \end{figure} @@ -4858,9 +4885,10 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1} % \end{macrocode} % \end{macro} % \begin{macro}{\DeclareCaptionFont,\captionsetup*} -% \changes{v3.0.0.0}{2022/12/03}{设置算法caption格式} -% \changes{v2.18.0.0}{2022/11/28}{设置算法caption对齐方式} -% \changes{v2.17.0.0}{2022/11/28}{设置算法caption格式} +% \changes{v3.1.1.0}{2022/12/04}{修正\pkgx{algorithm}算法caption格式设置} +% \changes{v3.0.0.0}{2022/12/03}{设置\pkgx{algorithm}算法caption格式} +% \changes{v2.18.0.0}{2022/11/28}{设置\pkgx{algorithm}算法caption对齐方式} +% \changes{v2.17.0.0}{2022/11/28}{设置\pkgx{algorithm}算法caption格式} % \changes{v1.0.4.0}{2022/04/15}{设置\pkgx{algorithm}算法标签与标题字体字号及标签与后面标题之间的间距} % \changes{v1.1.3.0}{2022/04/15}{修正\pkgx{algorithm}算法标签字体系列} % \changes{v2.6.0.0}{2022/06/25}{设置\pkgx{algorithm}算法Caption字号是否为五号} @@ -4884,7 +4912,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1} \tl_if_eq:NnTF \l_@@_alg_cap_format_tl { hang } { \captionsetup* [ algorithm ] { format = hang } } { \captionsetup* [ algorithm ] { format = plain } } - \captionsetup* [ ruled ] { strut = 0 } + \captionsetup* [ ruled ] { strut = off } \tl_if_eq:NnTF \l_@@_ft_cap_align_tl { left } { \captionsetup* [ algorithm ] @@ -4897,10 +4925,8 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1} { singlelinecheck = false, justification = centerlast } } { - \cs_set_eq:NN \floatc@ruled \floatc@plain - \captionsetup* [ ruled ] { slc = 1 } - \captionsetup* [ algorithm ] - { singlelinecheck = true, justification = justified } + \captionsetup* [ ruled ] { singlelinecheck = true } + \captionsetup* [ algorithm ] { justification = justified } } } } |