summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/xduts
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/xduts')
-rw-r--r--Master/texmf-dist/tex/xelatex/xduts/xdufont.sty2
-rw-r--r--Master/texmf-dist/tex/xelatex/xduts/xdupgthesis.cls41
-rw-r--r--Master/texmf-dist/tex/xelatex/xduts/xduugthesis.cls41
-rw-r--r--Master/texmf-dist/tex/xelatex/xduts/xduugtp.cls2
4 files changed, 52 insertions, 34 deletions
diff --git a/Master/texmf-dist/tex/xelatex/xduts/xdufont.sty b/Master/texmf-dist/tex/xelatex/xduts/xdufont.sty
index eb4776b87a1..26a00e08620 100644
--- a/Master/texmf-dist/tex/xelatex/xduts/xdufont.sty
+++ b/Master/texmf-dist/tex/xelatex/xduts/xdufont.sty
@@ -29,7 +29,7 @@
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplPackage{xdufont}
- {2023/02/03}{4.4.0.0}
+ {2023/02/06}{4.4.2.0}
{Xidian University Font package}
\RequirePackage { xparse, l3keys2e }
\PassOptionsToPackage { quiet } { xeCJK }
diff --git a/Master/texmf-dist/tex/xelatex/xduts/xdupgthesis.cls b/Master/texmf-dist/tex/xelatex/xduts/xdupgthesis.cls
index 74ca50278fc..78e755b1197 100644
--- a/Master/texmf-dist/tex/xelatex/xduts/xdupgthesis.cls
+++ b/Master/texmf-dist/tex/xelatex/xduts/xdupgthesis.cls
@@ -29,7 +29,7 @@
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{xdupgthesis}
- {2023/02/03}{4.4.0.0}
+ {2023/02/06}{4.4.2.0}
{Xidian University Postgraduate Thesis document class}
\RequirePackage { xparse, l3keys2e }
\PassOptionsToPackage { quiet } { xeCJK }
@@ -1357,13 +1357,13 @@
{ \captionsetup* [ algorithm ] { format = hang } }
{ \captionsetup* [ algorithm ] { format = plain } }
\captionsetup* [ ruled ] { strut = off }
- \tl_if_eq:NnTF \l__xdu_ft_cap_align_tl { left }
+ \tl_if_eq:NnTF \l__xdu_alg_cap_align_tl { left }
{
\captionsetup* [ algorithm ]
{ singlelinecheck = false, justification = justified }
}
{
- \tl_if_eq:NnTF \l__xdu_ft_cap_align_tl { centering }
+ \tl_if_eq:NnTF \l__xdu_alg_cap_align_tl { centering }
{
\captionsetup* [ algorithm ]
{ singlelinecheck = false, justification = centerlast }
@@ -1378,19 +1378,23 @@
{
\bool_if:NT \l__xdu_add_alg_rule_vspace_bool
{
- \cs_set:Npn \fs@ruled
+ \@ifpackageloaded { algorithm }
{
- \cs_set_eq:NN \@fs@capt \floatc@plain
- \cs_set:Npn \@fs@pre { \hrule height .8pt depth 0pt \kern 5pt }
- \cs_set:Npn \@fs@post { \kern 5pt \hrule \relax }
- \cs_set:Npn \@fs@mid { \kern 5pt \hrule \kern 5pt }
- \cs_set_eq:NN \@fs@iftopcapt \iftrue
+ \cs_set:Npn \fs@ruled
+ {
+ \cs_set_eq:NN \@fs@capt \floatc@plain
+ \cs_set:Npn \@fs@pre { \hrule height .8pt depth 0pt \kern 5pt }
+ \cs_set:Npn \@fs@post { \kern 5pt \hrule \relax }
+ \cs_set:Npn \@fs@mid { \kern 5pt \hrule \kern 5pt }
+ \cs_set_eq:NN \@fs@iftopcapt \iftrue
+ }
}
+ { }
}
}
\ctex_at_end_preamble:n
{
- \cs_if_exist:NT \thealgocf
+ \@ifpackageloaded { algorithm2e }
{
\SetAlgoCaptionSeparator { \hbox_to_wd:nn { \l__xdu_cap_label_sep_tl } { } }
\bool_if:NTF \l__xdu_alg_small_cap_bool
@@ -1450,18 +1454,23 @@
}
}
}
- \RenewDocumentCommand { \algocf@makecaption@ruled } { mm }
- { \global \sbox \algocf@capbox { \algocf@makecaption { #1 } { #2 } } }
- \RenewDocumentCommand { \algocf@makecaption@boxed } { mm }
- { \global \sbox \algocf@capbox { \algocf@makecaption { #1 } { #2 } } }
+ \RenewDocumentCommand { \algocf@makecaption@ruled } { mm }
+ { \global \sbox \algocf@capbox { \algocf@makecaption { #1 } { #2 } } }
+ \RenewDocumentCommand { \algocf@makecaption@boxed } { mm }
+ { \global \sbox \algocf@capbox { \algocf@makecaption { #1 } { #2 } } }
}
+ { }
}
\ctex_at_end_preamble:n
{
\bool_if:NT \l__xdu_add_alg_rule_vspace_bool
{
- \dim_set:Nn \interspacetitleruled { 5pt }
- \dim_set:Nn \interspacealgoruled { 5pt }
+ \@ifpackageloaded { algorithm2e }
+ {
+ \dim_set:Nn \interspacetitleruled { 5pt }
+ \dim_set:Nn \interspacealgoruled { 5pt }
+ }
+ { }
}
}
\cs_new:Npn \__xdu_tblr_caption_box:n #1
diff --git a/Master/texmf-dist/tex/xelatex/xduts/xduugthesis.cls b/Master/texmf-dist/tex/xelatex/xduts/xduugthesis.cls
index 47fadda456e..b490feb6bce 100644
--- a/Master/texmf-dist/tex/xelatex/xduts/xduugthesis.cls
+++ b/Master/texmf-dist/tex/xelatex/xduts/xduugthesis.cls
@@ -29,7 +29,7 @@
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{xduugthesis}
- {2023/02/03}{4.4.0.0}
+ {2023/02/06}{4.4.2.0}
{Xidian University Undergraduate Thesis document class}
\RequirePackage { xparse, l3keys2e }
\PassOptionsToPackage { quiet } { xeCJK }
@@ -1132,13 +1132,13 @@
{ \captionsetup* [ algorithm ] { format = hang } }
{ \captionsetup* [ algorithm ] { format = plain } }
\captionsetup* [ ruled ] { strut = off }
- \tl_if_eq:NnTF \l__xdu_ft_cap_align_tl { left }
+ \tl_if_eq:NnTF \l__xdu_alg_cap_align_tl { left }
{
\captionsetup* [ algorithm ]
{ singlelinecheck = false, justification = justified }
}
{
- \tl_if_eq:NnTF \l__xdu_ft_cap_align_tl { centering }
+ \tl_if_eq:NnTF \l__xdu_alg_cap_align_tl { centering }
{
\captionsetup* [ algorithm ]
{ singlelinecheck = false, justification = centerlast }
@@ -1153,19 +1153,23 @@
{
\bool_if:NT \l__xdu_add_alg_rule_vspace_bool
{
- \cs_set:Npn \fs@ruled
+ \@ifpackageloaded { algorithm }
{
- \cs_set_eq:NN \@fs@capt \floatc@plain
- \cs_set:Npn \@fs@pre { \hrule height .8pt depth 0pt \kern 5pt }
- \cs_set:Npn \@fs@post { \kern 5pt \hrule \relax }
- \cs_set:Npn \@fs@mid { \kern 5pt \hrule \kern 5pt }
- \cs_set_eq:NN \@fs@iftopcapt \iftrue
+ \cs_set:Npn \fs@ruled
+ {
+ \cs_set_eq:NN \@fs@capt \floatc@plain
+ \cs_set:Npn \@fs@pre { \hrule height .8pt depth 0pt \kern 5pt }
+ \cs_set:Npn \@fs@post { \kern 5pt \hrule \relax }
+ \cs_set:Npn \@fs@mid { \kern 5pt \hrule \kern 5pt }
+ \cs_set_eq:NN \@fs@iftopcapt \iftrue
+ }
}
+ { }
}
}
\ctex_at_end_preamble:n
{
- \cs_if_exist:NT \thealgocf
+ \@ifpackageloaded { algorithm2e }
{
\SetAlgoCaptionSeparator { \hbox_to_wd:nn { \l__xdu_cap_label_sep_tl } { } }
\bool_if:NTF \l__xdu_alg_small_cap_bool
@@ -1225,18 +1229,23 @@
}
}
}
- \RenewDocumentCommand { \algocf@makecaption@ruled } { mm }
- { \global \sbox \algocf@capbox { \algocf@makecaption { #1 } { #2 } } }
- \RenewDocumentCommand { \algocf@makecaption@boxed } { mm }
- { \global \sbox \algocf@capbox { \algocf@makecaption { #1 } { #2 } } }
+ \RenewDocumentCommand { \algocf@makecaption@ruled } { mm }
+ { \global \sbox \algocf@capbox { \algocf@makecaption { #1 } { #2 } } }
+ \RenewDocumentCommand { \algocf@makecaption@boxed } { mm }
+ { \global \sbox \algocf@capbox { \algocf@makecaption { #1 } { #2 } } }
}
+ { }
}
\ctex_at_end_preamble:n
{
\bool_if:NT \l__xdu_add_alg_rule_vspace_bool
{
- \dim_set:Nn \interspacetitleruled { 5pt }
- \dim_set:Nn \interspacealgoruled { 5pt }
+ \@ifpackageloaded { algorithm2e }
+ {
+ \dim_set:Nn \interspacetitleruled { 5pt }
+ \dim_set:Nn \interspacealgoruled { 5pt }
+ }
+ { }
}
}
\cs_new:Npn \__xdu_tblr_caption_box:n #1
diff --git a/Master/texmf-dist/tex/xelatex/xduts/xduugtp.cls b/Master/texmf-dist/tex/xelatex/xduts/xduugtp.cls
index db12268573c..b9a2ed5cf88 100644
--- a/Master/texmf-dist/tex/xelatex/xduts/xduugtp.cls
+++ b/Master/texmf-dist/tex/xelatex/xduts/xduugtp.cls
@@ -29,7 +29,7 @@
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{xduugtp}
- {2023/02/03}{4.4.0.0}
+ {2023/02/06}{4.4.2.0}
{Xidian University Undergraduate Thesis Proposal class}
\RequirePackage { xparse, l3keys2e }
\PassOptionsToPackage { quiet } { xeCJK }