summaryrefslogtreecommitdiff
path: root/macros/xetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-02-12 03:01:46 +0000
committerNorbert Preining <norbert@preining.info>2023-02-12 03:01:46 +0000
commitf76939750d63d6088b9bdeac794ce3fdf33d1269 (patch)
tree0cd0d327b53fe3a657722ae4188983b8b100468d /macros/xetex
parent73abb311c03e955ad9f7b7464390a5722b20b915 (diff)
CTAN sync 202302120301
Diffstat (limited to 'macros/xetex')
-rw-r--r--macros/xetex/latex/langsci/README.md6
-rw-r--r--macros/xetex/latex/langsci/documentation/langsci-doc.pdfbin75510 -> 75245 bytes
-rw-r--r--macros/xetex/latex/langsci/documentation/langsci-doc.tex7
-rw-r--r--macros/xetex/latex/langsci/examples/samplemonograph.pdfbin56204 -> 56281 bytes
-rw-r--r--macros/xetex/latex/langsci/examples/samplepaper.pdfbin19542 -> 19566 bytes
-rw-r--r--macros/xetex/latex/langsci/examples/samplevolume.pdfbin59413 -> 59470 bytes
-rw-r--r--macros/xetex/latex/langsci/langsci-affiliations.sty177
-rw-r--r--macros/xetex/latex/langsci/langsci-basic.sty12
-rw-r--r--macros/xetex/latex/langsci/langsci-gb4e.sty10
-rw-r--r--macros/xetex/latex/langsci/langsci-lgr.sty2
-rw-r--r--macros/xetex/latex/langsci/langsci-optional.sty5
-rw-r--r--macros/xetex/latex/langsci/langsci-series.def118
-rw-r--r--macros/xetex/latex/langsci/langsci-tbls.sty62
-rw-r--r--macros/xetex/latex/langsci/langsci-unified.bbx2
-rw-r--r--macros/xetex/latex/langsci/langsci-unified.cbx2
-rw-r--r--macros/xetex/latex/langsci/langsci-unified.dbx6
-rw-r--r--macros/xetex/latex/langsci/langscibook.cls122
-rw-r--r--macros/xetex/latex/xduts/xduts.dtx414
-rw-r--r--macros/xetex/latex/xduts/xduts.pdfbin331822 -> 329958 bytes
19 files changed, 628 insertions, 317 deletions
diff --git a/macros/xetex/latex/langsci/README.md b/macros/xetex/latex/langsci/README.md
index cbbe33bd1a..0cb940a5ca 100644
--- a/macros/xetex/latex/langsci/README.md
+++ b/macros/xetex/latex/langsci/README.md
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Project: langsci
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2022-02-16 11:11:11 UTC
+%% Date: 2023-02-10 11:11:11 UTC
%% Purpose: publishing boks with Language Science Press.
%% Languages: LaTeX, tikz, eps
%% Copyright 2012- Language Science Press
@@ -28,11 +28,9 @@
%% tbls-refresh.pdf, tbls-report.pdf, tbls-r.pdf, tbls-test.pdf, tbls-tree.pdf,
%% tbls-book.eps tbls-bulb.eps tbls-glass.eps tbls-law.eps
%% - langsci-affiliations.sty: Parse author affiliations
-%% - langsci-basic.sty for commands required by the standard template
%% - langsci-bidi.sty: bidirectional text
%% - langsci-gb4e.sty and langsci-cgloss.sty: typeset linguistic examples
%% - langsci-lgr.sty: shortcuts for the Leipzig Glossing Rules
-%% - langsci-linguex.sty: a version of linguex which does not break gb4e
%% - langsci-optional.sty: additional useful commands
%% - langsci-subparts.sty: adds an additional sectioning level between part and chapter
%% - langsci-tbls.sty: macros for the textbook series Textbooks in Language Sciences
@@ -51,10 +49,8 @@ The main file is the file langscibook.cls. This defines the basic structure of t
The following optional packages are also provided, but have to be included manually if desired:
- langsci-basic.sty to set the branding to Language Science Press
langsci-optional.sty: additional useful commands
langsci-gb4e.sty and langsci-cgloss.sty typeset linguistic examples
- langsci-linguex.sty: a version of linguex which does not break gb4e
langsci-lgr.sty: the Leipzig glossing rule definitions
langsci-bidi.sty: bidirectional text
langsci-tbls.sty: macros for the textbook series Textbooks in Language Sciences
diff --git a/macros/xetex/latex/langsci/documentation/langsci-doc.pdf b/macros/xetex/latex/langsci/documentation/langsci-doc.pdf
index f3d05b6ef2..63af7b5135 100644
--- a/macros/xetex/latex/langsci/documentation/langsci-doc.pdf
+++ b/macros/xetex/latex/langsci/documentation/langsci-doc.pdf
Binary files differ
diff --git a/macros/xetex/latex/langsci/documentation/langsci-doc.tex b/macros/xetex/latex/langsci/documentation/langsci-doc.tex
index 3cbbd63bc0..d20c8c5ba0 100644
--- a/macros/xetex/latex/langsci/documentation/langsci-doc.tex
+++ b/macros/xetex/latex/langsci/documentation/langsci-doc.tex
@@ -32,7 +32,7 @@
\mainmatter
\chapter{Introduction}
-This document describes the {\LaTeX} class langscibook.cls. This class is used for typesetting books with Language Science Press. Language Science Press publish open access monographs and edited volumes in linguistics.
+This document describes the {\LaTeX} class langscibook.cls. This class is used for typesetting books with Language Science Press. Language Science Press publishes open access monographs and edited volumes in linguistics.
\chapter{The class}
@@ -143,13 +143,12 @@ Papers can be compiled standalone. You can use the command \verb+\papernote+ in
This will set your chapter number to 23 when compiled standalone (rather than 1) and will display text in the chapter footer.
\chapter{Options}
-The class has flag options to toggle certain behaviour and string options to set metadata values.
+The class has flag options to toggle certain behaviours and string options to set metadata values.
\section{Flag options}
\option{collection}{Make the book an edited volume}{false}
\option{draftmode}{Switch to draft mode (adds: draft stamp, indication of overlong lines, date)}{false}
\option{openreview}{Switch to open review mode}{false}
-\option{multiauthors}{Set editor suffix to eds. instead of ed.}{false}
\option{minimal}{Load a very bare class optimized for compilation speed}{false}
\option{nobabel}{Do not use the Babel package in the class}{false}
\option{showindex}{Show indexed terms in margin}{false}
@@ -221,7 +220,7 @@ Redefine the following commands to further alter the appearance:
\option{{\textbackslash}lsCoverSubTitleFont}{Font for the subtitle}{{\textbackslash}sffamily{\textbackslash}addfontfeatures\{Scale=MatchUppercase\}\\ {\textbackslash}fontsize\{25pt\}\{10mm\}{\textbackslash}selectfont}
\option{{\textbackslash}lsCoverTitleFont}{Font for the title}{{\textbackslash}sffamily{\textbackslash}addfontfeatures{Scale=MatchUppercase}\\ {\textbackslash}fontsize{52pt}{17.25mm}{\textbackslash}selectfont}
\option{{\textbackslash}lsEditorPrefix}{How editors are indicated on title page. Useful for localization.}{{{\textbackslash}LARGE Edited by{\textbackslash}{\textbackslash}}}
-\option{{\textbackslash}lsEditorSuffix}{How editors are indicated in the colophon}{(ed.)/(eds.)\rmfamily, depending on the value of the option \texttt{multiauthors}}
+\option{{\textbackslash}lsEditorSuffix}{How editors are indicated in the colophon}{(ed.)/(eds.)}
\option{{\textbackslash}lsLanguageIndexTitle}{The title of the language index. Change this for non-English works}{Language index}
\option{{\textbackslash}lsNameIndexTitle}{The title of the name index. Change this for non-English works}{Name index}
diff --git a/macros/xetex/latex/langsci/examples/samplemonograph.pdf b/macros/xetex/latex/langsci/examples/samplemonograph.pdf
index 7529effb1e..4e64daeaae 100644
--- a/macros/xetex/latex/langsci/examples/samplemonograph.pdf
+++ b/macros/xetex/latex/langsci/examples/samplemonograph.pdf
Binary files differ
diff --git a/macros/xetex/latex/langsci/examples/samplepaper.pdf b/macros/xetex/latex/langsci/examples/samplepaper.pdf
index 4d955f64ee..c28bf02404 100644
--- a/macros/xetex/latex/langsci/examples/samplepaper.pdf
+++ b/macros/xetex/latex/langsci/examples/samplepaper.pdf
Binary files differ
diff --git a/macros/xetex/latex/langsci/examples/samplevolume.pdf b/macros/xetex/latex/langsci/examples/samplevolume.pdf
index 38176ca4c3..76dc116188 100644
--- a/macros/xetex/latex/langsci/examples/samplevolume.pdf
+++ b/macros/xetex/latex/langsci/examples/samplevolume.pdf
Binary files differ
diff --git a/macros/xetex/latex/langsci/langsci-affiliations.sty b/macros/xetex/latex/langsci/langsci-affiliations.sty
index edc044ec63..452010496e 100644
--- a/macros/xetex/latex/langsci/langsci-affiliations.sty
+++ b/macros/xetex/latex/langsci/langsci-affiliations.sty
@@ -17,10 +17,10 @@
%% langsci-affiliations was developed at Language Science Press to help in the
%% production of scientific texts in linguistics.
%%
-%% Copyright (C) 2021 by Felix Kopecky, Language Science Press
+%% Copyright (C) 2022 by Felix Kopecky, Language Science Press
%%
%% This work consists of the file langsci-affiliations.dtx
-%% and the derived files langsci-affiliations.ins,
+%% and the derived files langsci-affiliations.sty,
%% langsci-affiliations.pdf.
%%
%% It may be distributed and/or modified under the conditions of the
@@ -45,9 +45,10 @@
+
\RequirePackage{xparse}
\ProvidesExplPackage {langsci-affiliations}
-{2021-11-30} {1.0.4}
+{2022-10-11} {1.1}
{A LaTeX3 package to collect and order authors and affiliations}
\NewDocumentCommand{\ResolveAffiliations}{ O{} +m }
@@ -58,6 +59,8 @@
\group_end:
}
+\ProvideDocumentCommand{\LinkToORCIDinAffiliations}{ +m }{ #1 }
+
\NewExpandableDocumentCommand{\CountAuthorsFromAffiliations}{ O{} +m }
{%
\group_begin:
@@ -80,6 +83,10 @@
= \l__affiliations_output_affiliation_bool,
output~affiliation .initial:n
= { true },
+ orcid~placement .tl_set:N
+ = \l__affiliations_orcid_place_tl,
+ orcid~placement .initial:n
+ = { none },
output~in~groups .bool_set:N
= \l__affiliations_output_grouped_bool,
output~in~groups .initial:n
@@ -126,17 +133,20 @@
\clist_new:N \l__affiliations_tmpa_clist
\int_new:N \l__affiliations_tmpa_int
\int_new:N \g__affiliations_num_authors_int
-\prop_new:N \l__affiliations_tmpa_prop
\seq_new:N \l__affiliations_affiliations_seq
\seq_new:N \l__affiliations_authors_seq
\seq_new:N \l__affiliations_names_seq
\seq_new:N \l__affiliations_tmpa_seq
\seq_new:N \l__affiliations_tmpb_seq
+\seq_new:N \l__affiliations_tmp_affil_seq
+\seq_new:N \l__affiliations_tmp_orcid_seq
\tl_new:N \l__affiliations_tmpa_tl
\tl_new:N \l__affiliations_tmpb_tl
\tl_new:N \l__affiliations_tmpc_tl
+\prop_new:N \l__affiliations_tmpa_prop
\prop_new:N \l__affiliations_output_prop
\prop_new:N \l__affiliations_affiliations_prop
+\prop_new:N \l__affiliations_orcids_prop
\prop_const_from_keyval:Nn \l__affiliations_icons_prop
{
0 = \char"2460, 1 = \char"2461, 2 = \char"2462, 3 = \char"2463,
@@ -242,10 +252,34 @@
\seq_use:Nn \l__affiliations_tmpb_seq
{\l__affiliations_afil_separator_tl}
}
- \seq_put_right:Nx \l__affiliations_tmpa_seq
+ \str_case_e:nn { \l__affiliations_orcid_place_tl }
{
- \tl_rescan:nn {} {##1}
- \exp_not:N \textsuperscript{\tl_use:N \l__affiliations_tmpb_tl}
+ {none}
+ {
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ {
+ \tl_rescan:nn {} {##1}
+ \exp_not:N \textsuperscript{\tl_use:N \l__affiliations_tmpb_tl}
+ }
+ }
+ {before}
+ {
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ {
+ \exp_not:N \__affiliations_recover_orcid:n { ##1 }
+ \tl_rescan:nn {} {##1}
+ \exp_not:N \textsuperscript{\tl_use:N \l__affiliations_tmpb_tl}
+ }
+ }
+ {after}
+ {
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ {
+ \tl_rescan:nn {} {##1}
+ \exp_not:N \__affiliations_recover_orcid:n { ##1 }
+ \exp_not:N \textsuperscript{\tl_use:N \l__affiliations_tmpb_tl}
+ }
+ }
}
}
\seq_use:Nnnn \l__affiliations_tmpa_seq
@@ -265,12 +299,36 @@
\l__affiliations_tmpc_tl
\seq_map_inline:Nn \l__affiliations_names_seq
{
- \seq_clear_new:N \l__affiliations_names_tmp_seq
- \seq_set_split:Nnn \l__affiliations_names_tmp_seq { \affiliation }
- { ##1 }
+ \tl_clear_new:N \l__affiliations_names_tmp_tl
+ \tl_set:Nn \l__affiliations_names_tmp_tl { ##1 }
+
+
+ \regex_extract_once:nnN
+ {\c{affiliation} \cB. (\c[^BE].*) \cE.}
+ { ##1 }
+ \l__affiliations_tmp_affil_seq
+
+ \regex_extract_once:nnN
+ {\c{orcid} \cB. (\c[^BE].*) \cE.}
+ { ##1 }
+ \l__affiliations_tmp_orcid_seq
+
+
+ \regex_replace_all:nnN {\c{orcid} \cB. (\c[^BE].*) \cE.}
+ {}
+ \l__affiliations_names_tmp_tl
+ \regex_replace_all:nnN {\c{affiliation} \cB. (\c[^BE].*) \cE.}
+ {}
+ \l__affiliations_names_tmp_tl
+
+
\prop_put:Nxx \l__affiliations_tmpa_prop
- { \seq_item:Nn \l__affiliations_names_tmp_seq {1} }
- { \seq_item:Nn \l__affiliations_names_tmp_seq {2} }
+ { \tl_use:N \l__affiliations_names_tmp_tl }
+ { \seq_item:Nn \l__affiliations_tmp_affil_seq {2} }
+
+ \prop_put:Nxx \l__affiliations_orcids_prop
+ { \tl_use:N \l__affiliations_names_tmp_tl }
+ { \seq_item:Nn \l__affiliations_tmp_orcid_seq {2} }
}
\bool_if:NTF \l__affiliations_output_affiliation_bool
{
@@ -291,16 +349,52 @@
\seq_clear:N \l__affiliations_tmpa_seq
\prop_map_inline:Nn \l__affiliations_tmpa_prop
{
- \seq_put_right:Nx \l__affiliations_tmpa_seq
+ \str_case_e:nn { \l__affiliations_orcid_place_tl }
{
- \group_begin:
- \exp_not:N \__affiliations_output_authors_font:
- \tl_rescan:nn {} {##1}\\[0.5ex]
- \group_end:
- \group_begin:
- \exp_not:N \__affiliations_output_affiliation_font:
- \tl_rescan:nn {} {##2}
- \group_end:
+ {none}
+ {
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ {
+ \group_begin:
+ \exp_not:N \__affiliations_output_authors_font:
+ \tl_rescan:nn {} {##1}\\[0.5ex]
+ \group_end:
+ \group_begin:
+ \exp_not:N \__affiliations_output_affiliation_font:
+ \tl_rescan:nn {} {##2}
+ \group_end:
+ }
+ }
+ {before}
+ {
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ {
+ \group_begin:
+ \exp_not:N \__affiliations_output_authors_font:
+ \exp_not:N \__affiliations_recover_orcid:n { ##1 }
+ \tl_rescan:nn {} {##1}\\[0.5ex]
+ \group_end:
+ \group_begin:
+ \exp_not:N \__affiliations_output_affiliation_font:
+ \tl_rescan:nn {} {##2}
+ \group_end:
+ }
+ }
+ {after}
+ {
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ {
+ \group_begin:
+ \exp_not:N \__affiliations_output_authors_font:
+ \tl_rescan:nn {} {##1}
+ \exp_not:N \__affiliations_recover_orcid:n { ##1 }\\[0.5ex]
+ \group_end:
+ \group_begin:
+ \exp_not:N \__affiliations_output_affiliation_font:
+ \tl_rescan:nn {} {##2}
+ \group_end:
+ }
+ }
}
}
\seq_use:Nnnn \l__affiliations_tmpa_seq
@@ -315,8 +409,30 @@
\seq_clear:N \l__affiliations_tmpa_seq
\prop_map_inline:Nn \l__affiliations_tmpa_prop
{
- \seq_put_right:Nx \l__affiliations_tmpa_seq
- {\tl_rescan:nn {} {##1} }
+ \str_case_e:nn { \l__affiliations_orcid_place_tl }
+ {
+ {none}
+ {
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ { \tl_rescan:nn {} {##1} }
+ }
+ {before}
+ {
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ {
+ \exp_not:N \__affiliations_recover_orcid:n { ##1 }
+ \tl_rescan:nn {} {##1}
+ }
+ }
+ {after}
+ {
+ \seq_put_right:Nx \l__affiliations_tmpa_seq
+ {
+ \tl_rescan:nn {} {##1}
+ \exp_not:N \__affiliations_recover_orcid:n { ##1 }
+ }
+ }
+ }
}
\seq_use:Nnnn \l__affiliations_tmpa_seq
{\l__affiliations_separator_between_two_tl}
@@ -337,6 +453,21 @@
\int_gset:Nn \g__affiliations_num_authors_int
{ \seq_count:N \l__affiliations_names_seq }
}
+\cs_new:Npn \__affiliations_recover_orcid:n #1
+ {
+ \prop_get:NnNTF \l__affiliations_orcids_prop { #1 }
+ \l__affiliations_tmpd_tl
+ {
+ \tl_if_empty:NTF \l__affiliations_tmpd_tl
+ % No ORCID present; no action done.
+ { }
+ {
+ \LinkToORCIDinAffiliations{\tl_use:N \l__affiliations_tmpd_tl}
+ }
+ }
+ % No database entry for author; no action done.
+ { }
+ }
%%
%%
diff --git a/macros/xetex/latex/langsci/langsci-basic.sty b/macros/xetex/latex/langsci/langsci-basic.sty
deleted file mode 100644
index 0887c74c17..0000000000
--- a/macros/xetex/latex/langsci/langsci-basic.sty
+++ /dev/null
@@ -1,12 +0,0 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% File: langsci-basic.sty
-%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2022-02-16 16:47:43 UTC
-%% Purpose: This file contains essential macros and is included
-%% into langscibook.cls
-%% Language: LaTeX
-%% Licence:
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-
-% The content of this file has been moved to langsci-branding.sty and langsci-optional.sty
diff --git a/macros/xetex/latex/langsci/langsci-gb4e.sty b/macros/xetex/latex/langsci/langsci-gb4e.sty
index d5d81439d4..bead897229 100644
--- a/macros/xetex/latex/langsci/langsci-gb4e.sty
+++ b/macros/xetex/latex/langsci/langsci-gb4e.sty
@@ -1,15 +1,15 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-gb4e.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2022-02-16 16:47:43 UTC
+%% Date: 2022-10-21
%% Purpose: This file contains an adapted version of the gb4e package
%% for typetting linguistic examples. It also includes
%% adapted versions of the cgloss and jambox packages
%% Language: LaTeX
-%% Licence:
+%% Licence: The LaTeX Project Public License, Version 1.3c
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{langsci-gb4e}[2020/01/01]
+\ProvidesPackage{langsci-gb4e}[2022/10/21]
\usepackage{etoolbox}
@@ -17,8 +17,10 @@
\toggletrue{cgloss}
\newtoggle{jambox}
\toggletrue{jambox}
+\newtoggle{gb4eLowerPenalty}
\DeclareOption{nocgloss}{\togglefalse{cgloss}}
\DeclareOption{nojambox}{\togglefalse{jambox}}
+\DeclareOption{lowerpenalty}{\toggletrue{gb4eLowerPenalty}}
\DeclareOption*{\PackageWarning{langsci-gb4e}{Unknown option ‘\CurrentOption’}}
\ProcessOptions\relax
@@ -256,10 +258,12 @@
\begin{list}{(\thexnumi)}%
{\usecounter{xnumi}\@subex{#1}{\@gblabelsep}{0em}%
\setcounter{xnumi}{\value{equation}}}%
+ \iftoggle{gb4eLowerPenalty}{\@itempenalty-1000}{}
\else%
\begin{list}{(\roman{xnumi})}%
{\usecounter{xnumi}\@subex{(iiv)}{\@gblabelsep}{\footexindent}%
\setcounter{xnumi}{\value{fnx}}}%
+ \iftoggle{gb4eLowerPenalty}{\@itempenalty-1000}{}
\fi}
diff --git a/macros/xetex/latex/langsci/langsci-lgr.sty b/macros/xetex/latex/langsci/langsci-lgr.sty
index 25710fed5b..384987f1df 100644
--- a/macros/xetex/latex/langsci/langsci-lgr.sty
+++ b/macros/xetex/latex/langsci/langsci-lgr.sty
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-lgr.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2022-02-16 16:47:43 UTC
+%% Date: 2020-08-31 16:47:43 UTC
%% Purpose: This file contains shortcuts for the Leipzig Glossing
%% Rules.
%% Language: LaTeX
diff --git a/macros/xetex/latex/langsci/langsci-optional.sty b/macros/xetex/latex/langsci/langsci-optional.sty
index 17e9f0df59..6f7ec69a22 100644
--- a/macros/xetex/latex/langsci/langsci-optional.sty
+++ b/macros/xetex/latex/langsci/langsci-optional.sty
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langsci-optional.sty
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2022-02-16 16:47:43 UTC
+%% Date: 2016-01-16 16:47:43 UTC
%% Purpose: This file contains useful, but not essential,
%% macros for books using langscibook.cls
%% Language: LaTeX
@@ -389,3 +389,6 @@
separator between final two = {~\&~}
}
}
+
+
+\newcommand{\licencebox}[2][]{\parbox{#1\textwidth}{\tiny\raggedright #2}}
diff --git a/macros/xetex/latex/langsci/langsci-series.def b/macros/xetex/latex/langsci/langsci-series.def
index 22ce8e6137..d321d70082 100644
--- a/macros/xetex/latex/langsci/langsci-series.def
+++ b/macros/xetex/latex/langsci/langsci-series.def
@@ -5,6 +5,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\ahl}{ahl}
\newcommand{\algad}{algad}
\newcommand{\calseries}{calseries}
\newcommand{\cam}{cam}
@@ -16,6 +17,7 @@
\newcommand{\eotms}{eotms}
\newcommand{\eotmsig}{eotmsig}
\newcommand{\eurosla}{eurosla}
+\newcommand{\ela}{ela}
\newcommand{\hpls}{hpls}
\newcommand{\loc}{loc}
\newcommand{\lv}{lv} %Language Variation
@@ -23,6 +25,7 @@
\newcommand{\nc}{nc} %Niger Congo
\newcommand{\ogs}{ogs} %Open Generative Syntax
\newcommand{\ogl}{ogl} % Open Germanic Linguistics
+\newcommand{\orl}{orl} %Open Romance Linguistics
\newcommand{\osl}{osl} %Open Slavic Linguistics
\newcommand{\pmwe}{pmwe} %Phraseology and Multi-Word Expressions
\newcommand{\rcg}{rcg} %
@@ -39,6 +42,28 @@
\newcommand{\lsSeriesFontColor}{white}
\AtBeginDocument{
+\ifx\lsSeries\ahl
+ \newcommand{\lsSeriesTitle}{Advances in Historical Linguistics}
+ \newcommand{\lsSeriesColor}{lsRed}
+% \renewcommand{\lsISSN}{}
+ \renewcommand{\lsSeriesText}{
+ Editors:
+ Klaus Grübl (Leipzig University, Germany),
+ Judith Huber (LMU Munich, Germany),
+ Simon Pickl (University of Salzburg, Austria),
+ Lea Schäfer (University of Düsseldorf, Germany),
+ Markus Schiegg (University of Erlangen-Nürnberg, Germany)
+
+
+ \bigskip
+
+ In this series:
+
+% \begin{enumerate}
+% \item
+% \end{enumerate}
+ }
+\fi
\ifx\lsSeries\algad
\newcommand{\lsSeriesTitle}{African Language Grammars \newlineCover and Dictionaries}
\newcommand{\lsSeriesColor}{lsLightOrange}
@@ -56,8 +81,9 @@
\item Brindle, Jonathan. A dictionary and grammatical outline of Chakali.
\item Friesen, Dianne. A grammar of Moloko.
\item Ali, Mark, Scott Grimm \& Adams Bodomo. A dictionary and grammatical sketch of Dagaare.
- \end{enumerate}
\item Namyalo, Saudah, Alena Witzlack-Makarevich, Anatole Kiriggwajjo, Amos Atuhairwe, Zarina Molochieva, Ruth Gimbo Mukama \& Margaret Zellers. A dictionary and grammatical sketch of Ruruuli-Lunyala.
+ \item Gunnink, Hilde. A grammar of Fwe.
+ \end{enumerate}
}
\fi
\ifx\lsSeries\calseries %\cal is already taken as a command
@@ -108,6 +134,8 @@
\item Pinto, Jorge \& Nélia Alexandre (eds.). Multilingualism and third language acquisition: Learning and teaching trends.
\item Hakimov, Nikolay. Explaining Russian-German code-mixing: A usage-based approach.
\item Sánchez Moreano, Santiago \& Élodie Blestel. Prácticas lingüísticas heterogéneas: Nuevas perspectivas para el estudio del español en contacto con lenguas amerindias.
+ \item Migge, Bettina \& Shelome Gooden. Social and structural aspects of language contact and change.
+ \item Coler, Matt \& Andrew Nevins (eds.). Contemporary research in minoritized and diaspora languages of Europe.
\end{enumerate}
}
\fi
@@ -135,6 +163,7 @@
\begin{enumerate}
\item Shim, Ji Young. OV and VO variation in code-switching.
+ \item Rodríguez González, Eva \& Rosita L. Rivera (eds.). Language assessment in multilingual settings: Innovative practices across formal and informal environments.
\end{enumerate}
}
\fi
@@ -182,7 +211,7 @@
\bigskip
- In this series:
+ \textbf{In this series:}
\begin{enumerate}
\item Enfield, N. J. {Natural causes of language}.
@@ -192,6 +221,7 @@
\item Asoulin, Eran. Language and scientific explanation: Where does semantics fit in?
\item Boeckx, Cedric. Reflections on language evolution: From minimalism to pluralism.
\item Archangeli, Diana \& Douglas Pulleyblank. Emergent phonology.
+ \item Lund, Kristine, Pierluigi Basso Fossali, Audrey Mazur \& Magali Ollagnier-Beldame (eds.). Language is a complex adaptive system: Explorations and evidence.
\end{enumerate}
}
@@ -214,6 +244,8 @@
\item Jacques, Guillaume. A grammar of Japhug.
\item Grimm, Nadine. A grammar of Gyeli.
\item Maurer-Cecchini, Philippe. A grammar of Tuatschin: A Sursilvan Romansh dialect.
+ \item Visser, Eline. A grammar of Kalamang.
+ \item Caballero, Gabriela. A grammar of Choguita Rarámuri: In collaboration with Luz Elena León Ramírez, Sebastián Fuentes Holguín, Bertha Fuentes Loya and other Choguita Rarámuri language experts.
\end{enumerate}
@@ -312,7 +344,8 @@
\item Crysmann, Berthold \& Manfred Sailer (eds.). One-to-many relations in morphology, syntax, and semantics.
\item Zinova, Yulia. Russian verbal prefixation: A frame semantic analysis.
\item Müller, Stefan, Anne Abeillé, Robert D. Borsley \& Jean-Pierre Koenig. Head-Driven Phrase Structure Grammar: The handbook.
- \item Diewald, Gabriele \& Katja Politt (eds.). Paradigms regained: Theoretical and empirical arguments for the reassessment of the notion of paradigm.
+ \item Diewald, Gabriele \& Katja Politt (eds.). Paradigms regained: Theoretical and empirical arguments for the reassessment of the notion of paradigm.
+ \item Freywald, Ulrike, Horst J. Simon \& Stefan Müller (eds.). Headedness and/or grammatical anarchy?
\end{enumerate}
}
\fi
@@ -330,7 +363,7 @@
\bigskip
- Editor:
+ Editor:
Amanda Edmonds, Université Côte d'Azur\smallskip\\
Associate editors:\\
Gabriele Pallotti, University of Modena and Reggio Emilia\\
@@ -346,9 +379,37 @@
\item Bardel, Camilla \& Laura Sánchez (eds.). Third language acquisition: Age, proficiency and multilingualism.
\item Edmonds, Amanda, Pascale Leclercq \& Aarnes Gudmestad (eds.), Interpreting language-learning data.
\item Berthele, Raphael \& Isabelle Udry (eds.). Individual differences in early instructed language learning: The role of language aptitude, cognition, and motivation.
+ \item McManus, Kevin \& Monika S. Schmid (eds.). How special are early birds? Foreign language teaching and learning.
\end{enumerate}
}
\fi
+\ifx\lsSeries\ela
+ \newcommand{\elatitle}{Estudios de Lingüística Amerindia}
+ \newcommand{\elaeditor}{Editores:}
+ \newcommand{\elainthisseries}{En esta serie:}
+ \newcommand{\lsSeriesTitle}{\elatitle}
+ \newcommand{\lsSeriesColor}{lsMidDarkBlue}
+
+ \renewcommand{\lsSeriesText}{
+ {\large \elatitle}
+
+ \bigskip
+
+ \elaeditor
+
+ Carolina González. Florida State University\\
+ Siri Tuttle. Navajo Technical University in New Mexico\\
+ Thiago Chacon. University of Brasilia\\
+ Heriberto Avelino. National Institute for Anthropology and History\\
+
+ \bigskip
+
+ \elainthisseries
+
+ %\begin{enumerate}
+ %\end{enumerate}
+ }
+\fi
\ifx\lsSeries\hpls
\newcommand{\lsSeriesTitle}{History and Philosophy of the Language Sciences}
\newcommand{\lsSeriesColor}{black}
@@ -372,8 +433,10 @@
\item Van Rooy, Raf. Greece’s labyrinth of language: A study in the early modern discovery of dialect diversity.
\item Aussant, Émilie \& Jean-Michel Fortis. Historical journey in a linguistic archipelago: Case studies on concepts, fields, and commitments.
\item McElvenny, James \& Ploder, Andrea. Holisms of communication: The early history of audio-visual sequence analysis.
+ \item Anderson, Stephen R. Phonology in the Twentieth Century: Second edition, revised and expanded.
\end{enumerate}
- \item Anderson, Stephen R. Phonology in the Twentieth Century : Second edition, revised and expanded.
+ \item McElvenny, James. Interviews in the history of linguistics: Volume I.
+
}
\fi
@@ -426,6 +489,7 @@
\item Dellert, Johannes. Information-theoretic causal inference of lexical flow.
\item Zimmer, Christian (ed.). German(ic) in language contact: Grammatical and sociolinguistic dynamics.
\item Tahmasebi, Nina, Lars Borin, Adam Jatowt, Yang Xu and Simon Hengchen (eds.). Computational approaches to semantic change.
+ \item Paulsen, Ingrid. The emergence of American English as a discursive variety: Tracing enregisterment processes in nineteenth-century U.S. newspapers.
\end{enumerate}
}
\fi
@@ -487,7 +551,7 @@
\ifx\lsSeries\ogl
\newcommand{\lsSeriesTitle}{Open Germanic Linguistics}
\newcommand{\lsSeriesColor}{lsMidDarkBlue}
- \renewcommand{\lsISSNelectronic}{ISSN 2750-557X} %online
+ \renewcommand{\lsISSNelectronic}{2750-557X} %online
\renewcommand{\lsISSNprint}{2750-5588} %Print
\renewcommand{\lsSeriesText}{
{\large Open Germanic Linguistics
@@ -505,6 +569,8 @@
\begin{enumerate}
\item Lemke, Robin. Experimental investigations on the syntax and usage of fragments.
+ \item Larsson, Ida \& Erik Petzell (eds.). Morphosyntactic change in Late Modern Swedish.
+ \item Hall, Tracy Alan. Velar fronting in German dialects: A study in synchronic and diachronic phonology.
\end{enumerate}
}
}
@@ -545,6 +611,32 @@
\end{enumerate}
}
\fi
+\ifx\lsSeries\orl
+ \newcommand{\lsSeriesTitle}{Open Romance Linguistics}
+ \newcommand{\lsSeriesColor}{lsDarkWine}
+ \renewcommand{\lsISSNelectronic}{2940-1100} % Online
+ \renewcommand{\lsISSNprint}{2940-1097}% (Print)
+ \renewcommand{\lsSeriesText}{
+ {\large Open Romance Linguistics}
+
+ \bigskip
+
+ \textbf{Editors:} \\
+ Lorenzo Filipponio (HU Berlin)\\
+ Richard Waltereit (HU Berlin)\\
+ Esme Winter-Froemel (Julius-Maximilians-Universität Würzburg)\\
+ Anne C. Wolfsgruber (HU Berlin)\\
+
+ \bigskip
+
+ \textbf{In this series:}
+
+ \begin{enumerate}
+ \item Kocher, Anna. Complementizers on edge: On the boundaries between syntax and pragmatics in Ibero-Romance.
+ \item Bullock, Barbara E. Cinzia Russi \& Almeida Jacqueline Toribio (eds.). A half century of Romance linguistics: Selected proceedings of the 50th Linguistic Symposium on Romance Languages.
+ \end{enumerate}
+ }
+\fi
\ifx\lsSeries\osl
\newcommand{\lsSeriesTitle}{Open Slavic Linguistics}
\newcommand{\lsSeriesColor}{lsMidGreen}
@@ -623,6 +715,7 @@
\begin{enumerate}
\item Bahrt, Nicklas N. Voice syncretism.
+ \item Veselinova, Ljuba \& Arja Hamari (eds.). The Negative Existential Cycle.
\end{enumerate}
}
\fi
@@ -699,9 +792,9 @@
\item Edwards, Owen. Metathesis and unmetathesis in Amarasi.
\item Bergqvist, Henrik \& Seppo Kittilä (eds). Evidentiality, egophoricity, and engagement.
\item Floyd, Simeon, Giovanni Rossi \& N. J. Enfield (eds.). Getting others to do things: A pragmatic typology of recruitments.
+ \item Hölzl, Andreas \& Thomas E. Payne. Tungusic languages: Past and present.
\item Enke, Dankmar W., Larry M. Hyman, Johanna Nichols, Guido Seiler \& Thilo Weber (eds.). Language change for the worse.
}
-
}
\fi
\ifx\lsSeries\silp
@@ -737,6 +830,7 @@
\item Ben Hedia, Sonia. Gemination and degemination in English affixation: Investigating the interplay between morphology, phonology and phonetics.
\item Easterday, Shelece. Highly complex syllable structure: A typological and diachronic study.
\item Roessig, Simon. Categoriality and continuity in prosodic prominence.
+ \item Schmitz, Dominic. Production, perception, and comprehension of subphonemic detail: Word-Final /s/ in English.
\end{enumerate}
}
@@ -750,7 +844,7 @@
\bigskip
- Editors: Stefan Müller, Martin Haspelmath\\
+ Editors: Stefan Müller, Antonio Machicao y Priemer\\
Editorial Board: Claude Hagège, Marianne Mithun, Anatol Stefanowitsch, Foong Ha Yap
\bigskip
@@ -766,6 +860,9 @@
\item Ferreira, Marcelo. Curso de semântica formal.
\item Stefanowitsch, Anatol. Corpus linguistics: A guide to the methodology.
\item Müller, Stefan. {\tblseight}.
+ \item Hejná, Míša \& George Walkden. A history of English.
+ \item Kahane, Sylvain \& Kim Gerdes. Syntaxe théorique et formelle. Vol. 1: Modélisation, unités, structures.
+ \item Freitas, Maria João, Marisa Lousada \& Dina Caetano Alves (eds.). Linguística clínica: Modelos, avaliação e intervenção.
\end{enumerate}
}
\fi
@@ -834,6 +931,11 @@
\item Tra\&Co Group (ed.). Translation, interpreting, cognition: The way out of the box.
\item Nitzke, Jean \& Silvia Hansen-Schirra. A short guide to post-editing.
\item Hoberg, Felix. Informationsintegration in mehrsprachigen Textchats: Der Skype Translator im Sprachenpaar Katalanisch-Deutsch.
+ \item Kenny, Dorothy (ed.). Machine translation for everyone: Empowering users in the age of artificial intelligence.
+ \item Kajzer-Wietrzny, Marta, Adriano Ferraresi, Ilmari Ivaska \& Silvia Bernardini. Mediated discourse at the European Parliament: Empirical investigations.
+ \item Marzouk, Shaimaa. Sprachkontrolle im Spiegel der Maschinellen Übersetzung: Untersuchung zur Wechselwirkung ausgewählter Regeln der Kontrollierten Sprache mit verschiedenen Ansätzen der Maschinellen Übersetzung.
+ \item Frittella, Francesca Maria. Usability research for interpreter-centred technology: The case study of SmarTerp.
+ \item Prandi, Bianca. Computer-assisted simultaneous interpreting: A cognitive-experimental study on terminology.
}
}
\fi
diff --git a/macros/xetex/latex/langsci/langsci-tbls.sty b/macros/xetex/latex/langsci/langsci-tbls.sty
index 6b2c2c04bd..12be79a600 100644
--- a/macros/xetex/latex/langsci/langsci-tbls.sty
+++ b/macros/xetex/latex/langsci/langsci-tbls.sty
@@ -1,4 +1,4 @@
-\ProvidesPackage{langsci-tbls}[2021/01/06 langsci-tbls]
+\ProvidesPackage{langsci-tbls}[2023/01/06 langsci-tbls]
\RequirePackage{etoolbox}
\newbool{langsci@tbls@tcolorbox}
@@ -42,7 +42,17 @@
left = 0mm,
right = 0mm,
borderline horizontal = {#2}{0pt}{#3},
- beforeafter skip balanced = \baselineskip
+ beforeafter skip balanced = \baselineskip,
+ subtitle style =
+ {
+ top = 3.25ex,
+ boxrule = 0pt,
+ colback = white,
+ enhanced,
+ interior hidden,
+ frame hidden,
+ fontupper = \normalfont\sffamily\bfseries\large
+ }
}
\DeclareTColorBox{tblsfilled}{m O{black!12}}
{
@@ -56,7 +66,17 @@
right = 5mm,
frame engine = path,
frame style = {fill=#2},
- sharp corners = all
+ sharp corners = all,
+ subtitle style =
+ {
+ top = 3.25ex,
+ boxrule = 0pt,
+ colback = #2,
+ enhanced,
+ interior hidden,
+ frame hidden,
+ fontupper = \normalfont\sffamily\bfseries\large
+ }
}
\DeclareTColorBox{tblsframed}{m O{0.8mm} O{\lsSeriesColor}}
{
@@ -69,7 +89,17 @@
left = 5mm,
right = 5mm,
borderline = {#2}{0pt}{#3},
- beforeafter skip balanced = \baselineskip
+ beforeafter skip balanced = \baselineskip,
+ subtitle style =
+ {
+ top = 3.25ex,
+ boxrule = 0pt,
+ colback = white,
+ enhanced,
+ interior hidden,
+ frame hidden,
+ fontupper = \normalfont\sffamily\bfseries\large
+ }
}
\DeclareTColorBox{tblsfilledsymbol}{m O{black!12} m}
{
@@ -99,7 +129,17 @@
line width = 0.8mm
] at (frame.north west)
{{\color{#2}\includegraphics[width=10mm]{tbls-#3.pdf}}};
- }
+ },
+ subtitle style =
+ {
+ top = 3.25ex,
+ boxrule = 0pt,
+ colback = #2,
+ enhanced,
+ interior hidden,
+ frame hidden,
+ fontupper = \normalfont\sffamily\bfseries\large
+ }
}
\DeclareTColorBox{tblsframedsymbol}{m O{\lsSeriesColor} O{0.8mm} m}
{
@@ -127,7 +167,17 @@
line width = #3
] at (frame.north west)
{{\color{#2}\includegraphics[width=10mm]{tbls-#4.pdf}}};
- }
+ },
+ subtitle style =
+ {
+ top = 3.25ex,
+ boxrule = 0pt,
+ colback = white,
+ enhanced,
+ interior hidden,
+ frame hidden,
+ fontupper = \normalfont\sffamily\bfseries\large
+ }
}
}
diff --git a/macros/xetex/latex/langsci/langsci-unified.bbx b/macros/xetex/latex/langsci/langsci-unified.bbx
index 6872c4fe03..f406db38c5 100644
--- a/macros/xetex/latex/langsci/langsci-unified.bbx
+++ b/macros/xetex/latex/langsci/langsci-unified.bbx
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% File: langscibook.cls
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2022-02-16 13:12 UTC
+%% Date: 2019-03-06 13:12 UTC
%% Purpose: An implementation of the Unified Style Sheet for Linguistics bibliographies (https://www.linguisticsociety.org/resource/unified-style-sheet)
%% This work is based on the styles provided by Semantics \& Pragmatics
%% Language: LaTeX
diff --git a/macros/xetex/latex/langsci/langsci-unified.cbx b/macros/xetex/latex/langsci/langsci-unified.cbx
index d0a0097752..7563a8feaf 100644
--- a/macros/xetex/latex/langsci/langsci-unified.cbx
+++ b/macros/xetex/latex/langsci/langsci-unified.cbx
@@ -1,6 +1,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% File: langscibook.cls
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2022-02-16 13:12 UTC
+%% Date: 2019-03-06 13:12 UTC
%% Purpose: An implementation of the Unified Style Sheet for Linguistics bibliographies (https://www.linguisticsociety.org/resource/unified-style-sheet).
%% This work is based on the styles provided by Semantics \& Pragmatics
%% Language: LaTeX
diff --git a/macros/xetex/latex/langsci/langsci-unified.dbx b/macros/xetex/latex/langsci/langsci-unified.dbx
index 4af639c1e5..e218879e75 100644
--- a/macros/xetex/latex/langsci/langsci-unified.dbx
+++ b/macros/xetex/latex/langsci/langsci-unified.dbx
@@ -1,6 +1,2 @@
-\DeclareDatamodelFields[type=list, datatype=name]
- {%
- indexauthor,
- indexeditor
- }
+\DeclareDatamodelFields[type=list, datatype=name]{indexauthor,indexeditor}
\DeclareDatamodelEntryfields{indexauthor,indexeditor}
diff --git a/macros/xetex/latex/langsci/langscibook.cls b/macros/xetex/latex/langsci/langscibook.cls
index c9f356d2d4..2451286e33 100644
--- a/macros/xetex/latex/langsci/langscibook.cls
+++ b/macros/xetex/latex/langsci/langscibook.cls
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% File: langscibook.cls
%% Author: Language Science Press (http://langsci-press.org)
-%% Date: 2022-02-08 14:00 CET
+%% Date: 2023-02-08 14:00 CET
%% Purpose: This file defines the basic document class
%% for books published with Language Science Press.
%% Language: LaTeX
@@ -49,7 +49,7 @@
% \- Miscellaneous
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{langscibook}[2022/02/08 Language Science Press]
+\ProvidesClass{langscibook}[2023/02/08 Language Science Press]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Early load packages
@@ -151,6 +151,8 @@
\newbool{lsISBNTwoDigitAddon}
\newbool{lsFloatCounterWithoutChapter}
\booltrue{lsFloatCounterWithoutChapter}
+\newbool{lsImportPackagesWhenStandalone}
+\newbool{infn}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Option handling
@@ -249,13 +251,16 @@
}
}
+
\DeclareVoidOption{arabicfont}
{
- \newfontfamily\arabicfont[Script=Arabic,ItalicFont=*,Scale=1.4]{arabtype.ttf}
-% \newcommand{\textarabic}[1]{{\arabicfont #1}}
+ \AtEndPreamble{
+ \newfontfamily\arabicfont[Script=Arabic,ItalicFont=*,Scale=1.4]{ScheherazadeRegOT_Jazm.ttf}
\AdditionalFontImprint{Arabtype}
+ \usepackage{langsci-bidi}
+% \newcommand{\textarab}[1]{\RL{\arabicfont #1}} %has to be moved to localcommands
}
-
+}
\DeclareVoidOption{hebrewfont}
{
\newfontfamily\hebrewfont[Script=Hebrew,ItalicFont=*, Scale=0.9]{SBLHebrew.ttf}
@@ -271,6 +276,7 @@
}
\DeclareVoidOption{tblseight}{\booltrue{tblseight}}
+\DeclareVoidOption{infn}{\booltrue{infn}}
\ProcessKeyvalOptions*
@@ -308,7 +314,9 @@
fontsize=\lsFontsize,% default is 11pt
footnotes=multiple,
numbers=noenddot,% no point after last number of chapters/sections
- toc=bibliography,
+ \notbool{collection}{
+ toc=bib, % make bibliography appear in toc
+ }{}
index=totoc,
headings=optiontohead,
footnotes=multiple
@@ -322,6 +330,7 @@
\ifbool{paper}
{% The same is applied to papers.
\KOMAoptions{chapterprefix=true}
+ \booltrue{lsImportPackagesWhenStandalone}
}
{}
}
@@ -499,6 +508,7 @@
%we define a command to better encapsulate the logic
\newcommand{\setuptitle}{%
\renewcommand{\maketitle}{%first we treat covers to get them out of the way
+
\ifbool{coverBODhc}{%
\bodHCcover
\end{document}
@@ -539,7 +549,6 @@
\null\newpage\thispagestyle{empty}
}
\end{titlepage}
- % \fi
}{} %end book
\ifbool{guidelines}{%
@@ -551,8 +560,6 @@
\end{titlepage}
}{} %end guidelines
- % \null\newpage\thispagestyle{empty}
- \hypersetup{colorlinks=false, citecolor=brown, pdfborder={0 0 0}} % for hyperref
\color{black}
\lsInsideFont
@@ -611,6 +618,10 @@
\let\eachwordone=\itshape
\fi
+ \ifx\lsSeries\rcg
+ \let\eachwordone=\itshape
+ \fi
+
\ifx\lsSeries\eotms
\renewcommand{\sectref}[1]{Section~\ref{#1}}
\fi
@@ -897,6 +908,9 @@
% }
\input{langsci-series.def}
+\ifbool{guidelines}
+ {\let\lsSeries\guidelines}
+ {}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Cover
@@ -911,7 +925,7 @@
{%
\int_compare:nNnTF
{\g__affiliations_num_authors_int} > {1}
- {\booltrue{multiauthors}} {\boolfalse{multiauthors}}
+ {\booltrue{multiauthors}} {}
}
\ExplSyntaxOff
@@ -1260,7 +1274,7 @@ ISBN: &
Cover and concept of design:
Ulrike Harbort \\
\if\@translator\empty\else
-Translator:
+Translation:
\@translator \\
\fi
\if\@typesetter\empty\else
@@ -1538,10 +1552,7 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
autolang=hyphen,
\ifbool{resetcapitals}{language=english,}{}
backend=\lsBiblatexBackend,
- indexing=cite,
- \notbool{collection}{
- toc=bib, % make bibliography appear in toc
- }{}
+ indexing=cite
]{biblatex}
%% DOIs are handled after hyperref.
@@ -1625,19 +1636,16 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
% For papers that have appendices, a replacement for \appendix.
% Usage: \begin{paperappendix} \section{Title} ... \end{paperappendix}
-\newenvironment{paperappendix}{%
- \newcommand*{\appendixmore}{%
- \renewcommand*\thesection{\Alph{section}}
- \renewcommand*{\sectionformat}{%
- \appendixname~\thesection\autodot\enskip}%
- \renewcommand*{\sectionmarkformat}{%
- \appendixname~\thesection\autodot\enskip}}
- \appendix
-}{}
+\newenvironment{paperappendix}
+ {%
+ \let\section\appendixsection
+ \let\subsection\appendixsubsection
+ }
+ {}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Indexes
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{index} %% Wie im Stylefile, aber ohne \MakeUppercase
\renewenvironment{theindex}{%
@@ -1683,15 +1691,25 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\indexproofstyle{\setlength{\overfullrule}{0pt}\raggedright\footnotesize}
%% \index inside footnote
-\def\infn#1#2{% \hyperpage{#2}n#1% 99n2
-% \hyperpage{#2}*% 99*
- \hyperpage{#2}\textsuperscript{#1}% 99²
-}%
-\newcommand{\footnoteindex}[2]{\index{#2|infn{#1}}}
-\newcommand{\footnoteindex@sbj}[2]{\index[sbj]{#2|infn{#1}}}
-\newcommand{\footnoteindex@lan}[2]{\index[lan]{#2|infn{#1}}}
-\newcommand{\footnoteindex@wrd}[2]{\index[wrd]{#2|infn{#1}}}
-
+\ifbool{infn}{
+ \def\infn#1#2{% \hyperpage{#2}n#1% 99n2
+ % \hyperpage{#2}*% 99*
+ \hyperpage{#2}\textsuperscript{#1}% 99²
+ }%
+ \newcommand{\footnoteindex}[2]{\index{#2|infn{#1}}}
+ \newcommand{\footnoteindex@sbj}[2]{\index[sbj]{#2|infn{#1}}}
+ \newcommand{\footnoteindex@lan}[2]{\index[lan]{#2|infn{#1}}}
+ \newcommand{\footnoteindex@wrd}[2]{\index[wrd]{#2|infn{#1}}}
+}{%else
+ \def\infn#1#2{% \hyperpage{#2}n#1% 99n2
+ % \hyperpage{#2}*% 99*
+ \hyperpage{#2}\textsuperscript{#1}% 99²
+ }%
+ \newcommand{\footnoteindex}[2]{\index{#2}}
+ \newcommand{\footnoteindex@sbj}[2]{\index[sbj]{#2}}
+ \newcommand{\footnoteindex@lan}[2]{\index[lan]{#2}}
+ \newcommand{\footnoteindex@wrd}[2]{\index[wrd]{#2}}
+}
% Author index
\newcommand{\ia}[1]{%
@@ -1763,9 +1781,9 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
\newcommand{\name}[3][]{%add person names to text and author index
#2 %output first name
\ifstrempty{#1}{%if no optional argument present
-\ia{#3, #2@#3, #2}%add lastname, firstname to index
+\ia{#3, #2}%add lastname, firstname to index
}{%if optional argument present
-\ia{#1@#1}% add optional argument to index
+\ia{#1}% add optional argument to index
}%
#3}%output last name in text
@@ -1774,16 +1792,17 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[
- bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,%
+ bookmarks=true,bookmarksopen=true,bookmarksopenlevel=1,
bookmarksdepth=5,
bookmarksnumbered=true,
- hyperindex=true,%
+ hyperindex=true,
breaklinks=true,
draft=false,
plainpages=false,
- pdfusetitle=true, % puts author and title in automatically, maybe only in final mode?
+ pdfborder={0 0 0},
+ pdfusetitle=true,
pdfkeywords={},
- pdfpagelayout=TwoPageRight, % first page is separate
+ pdfpagelayout=TwoPageRight,% first page is separate
hyperfootnotes=false,
%ps2pdf=true
]{hyperref}
@@ -1793,6 +1812,17 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
%% http://tex.stackexchange.com/questions/66722/tex-live-2012-xelatex-moderncv-error-failed-to-convert-input-string-to-utf1
\hypersetup{unicode,pdfencoding=auto,bookmarksopenlevel=0}
+%% Reset sections in the Backmatter to the top level.
+\usepackage{bookmark}
+\apptocmd{\backmatter}
+ {\bookmarksetup{startatroot}}
+ {}
+ {%
+ \AtEndDocument{\typeout{langscibook Warning:}
+ \typeout{It was not possible to set option 'staratroot'}
+ \typeout{for bookmarks in the backmatter.}}
+ }
+
%% autoref (part of hyperref)
\ifx\lsBookLanguage\lsBookLanguageEnglish
\renewcommand{\partautorefname}{Part}%
@@ -2001,6 +2031,18 @@ Storage and cataloguing done by \storageinstitution\\[3ex]
}{} %end paper
+% A command that imports the files localpackages.tex, but only if output==paper
+\NewDocumentCommand{\lsConditionalSetupForPaper}{O{localbibliography.bib}}
+ {%
+ \ifbool{lsImportPackagesWhenStandalone}
+ {\input{localpackages.tex}
+ \input{localhyphenation.tex}
+ \input{localcommands.tex}
+ \addbibresource{#1}}
+ {}
+ }
+
+
%writeout page numbers for separation of chapters
% \usepackage{newfile}
diff --git a/macros/xetex/latex/xduts/xduts.dtx b/macros/xetex/latex/xduts/xduts.dtx
index 8fed30fec7..5a4f33c888 100644
--- a/macros/xetex/latex/xduts/xduts.dtx
+++ b/macros/xetex/latex/xduts/xduts.dtx
@@ -1,7 +1,7 @@
% \iffalse
%<*driver>
\ProvidesFile{xduts.dtx}
-[2023/02/09 v4.4.5.0 Xidian University TeX Suite]
+[2023/02/11 v4.4.5.3 Xidian University TeX Suite]
%</driver>
%<class|sty>\NeedsTeXFormat{LaTeX2e}
%<class|sty>\RequirePackage{expl3}
@@ -9,7 +9,7 @@
%<xduugtp>\ProvidesExplClass{xduugtp}
%<xdupgthesis>\ProvidesExplClass{xdupgthesis}
%<xduugthesis>\ProvidesExplClass{xduugthesis}
-%<class|sty> {2023/02/09}{4.4.5.0}
+%<class|sty> {2023/02/11}{4.4.5.3}
%<xdufont> {Xidian University Font package}
%<xduugtp> {Xidian University Undergraduate Thesis Proposal class}
%<xdupgthesis> {Xidian University Postgraduate Thesis document class}
@@ -43,9 +43,6 @@
}
\setcounter{tocdepth}{5}
\ctexset{punct=quanjiao}
-\usepackage{xurl}
-\usepackage{xspace}
-\xspaceaddexceptions{。?!,、;:“”‘’—….--~·《》<>_}
\usepackage{pifont}
\newcommand{\cmark}{\ding{51}}
\usepackage{subcaption}
@@ -57,48 +54,48 @@
\DefTblrTemplate{caption-sep}{default}{\quad}
\DefTblrTemplate{conthead-text}{default}{\textbf{(续表)}}
\DefTblrTemplate{contfoot-text}{default}{\textbf{接下页}}
+\changes{v4.4.5.1}{2023/02/11}{移除文档对xspace的依赖}
% 交叉引用
-\newcommand{\secrefx}[1]{第\xspace\ref{#1}\xspace 节}
-\newcommand{\tabrefx}[1]{\tablename\xspace\ref{#1}\xspace}
-\newcommand{\figrefx}[1]{\figurename\xspace\ref{#1}\xspace}
+\NewDocumentCommand{\secrefx}{m}{第\space\ref{#1}\space{}节}
+\NewDocumentCommand{\tabrefx}{O{}mO{\space}}{#1\tablename\space\ref{#2}#3}
+\NewDocumentCommand{\figrefx}{O{}mO{\space}}{#1\figurename\space\ref{#2}#3}
% 文档类选项
-\newcommand{\optx}[1]{\xspace{\ttfamily\seqsplit{#1}}\xspace}
+\NewDocumentCommand{\optx}{O{\space}mO{\space}}{#1{\ttfamily\seqsplit{#2}}#3}
% \name LaTeX3控制序列
-\newcommand{\csx}[1]{\xspace\cs{#1}\xspace}
+\NewDocumentCommand{\csx}{O{\space}mO{\space}}{#1\cs{#2}#3}
% \name 传统LaTeX2e命令
-\newcommand{\tnx}[1]{\xspace\tn{#1}\xspace}
+\NewDocumentCommand{\tnx}{O{\space}mO{\space}}{#1\tn{#2}#3}
% <name> LaTeX3键值
-\newcommand{\metax}[1]{\xspace\meta{#1}\xspace}
+\NewDocumentCommand{\metax}{O{\space}mO{\space}}{#1\meta{#2}#3}
% LaTeX3键值对
\newcommand{\breakablethinspace}{\hskip 0.16667em\relax}
-\newcommand{\kvoptx}[2]{\xspace\texttt{#1\breakablethinspace=\breakablethinspace#2}\xspace}
+\NewDocumentCommand{\kvoptx}{O{\space}mmO{\space}}{#1\texttt{#2\breakablethinspace=\breakablethinspace#3}#4}
% {<name>} LaTeX2e参数
-\newcommand{\argx}[1]{\xspace\Arg{#1}\xspace}
+\NewDocumentCommand{\margx}{O{\space}mO{\space}}{#1\marg{#2}#3}
% [<name>] LaTeX2e可选参数
-\newcommand{\oargx}[1]{\xspace\Arg{#1}\xspace}
+\NewDocumentCommand{\oargx}{O{\space}mO{\space}}{#1\oarg{#2}#3}
% 文件
\usepackage{seqsplit}
-\newcommand{\filex}[1]{\xspace{\ttfamily\seqsplit{#1}}\xspace}
+\NewDocumentCommand{\filex}{O{\space}mO{\space}}{#1{\ttfamily\seqsplit{#2}}#3}
% 环境
-\newcommand{\envx}[1]{\xspace\env{#1}\xspace}
+\NewDocumentCommand{\envx}{O{\space}mO{\space}}{#1\env{#2}#3}
% 宏包
-\newcommand{\pkgx}[1]{\xspace\pkg{#1}\xspace}
+\NewDocumentCommand{\pkgx}{O{\space}mO{\space}}{#1\pkg{#2}#3}
% 文档类
-\newcommand{\clsx}[1]{\xspace\cls{#1}\xspace}
+\NewDocumentCommand{\clsx}{O{\space}mO{\space}}{#1\cls{#2}#3}
% 值
-\newcommand{\valuex}[1]{\xspace{\ttfamily\seqsplit{#1}}\xspace}
-% 命令
-\newcommand{\cmdx}[1]{\xspace{\ttfamily\seqsplit{#1}}\xspace}
+\NewDocumentCommand{\valuex}{O{\space}mO{\space}}{#1{\ttfamily\seqsplit{#2}}#3}
+% 程序
+\NewDocumentCommand{\cmdx}{O{\space}mO{\space}}{#1{\ttfamily\seqsplit{#2}}#3}
% 链接
-\newcommand{\footurl}[1]{\footnote{\url{#1}}}
-\newcommand{\ctanurl}[1]{\href{https://mirrors.cloud.tencent.com/CTAN/#1}{\ttfamily CTAN://#1}}
-\newcommand{\footctan}[1]{\footnote{\ctanurl{#1}}}
+\NewDocumentCommand{\footurl}{m}{\footnote{\url{#1}}}
+\NewDocumentCommand{\footctan}{m}{\footnote{\href{https://mirrors.cloud.tencent.com/CTAN/#1}{\ttfamily CTAN://#1}}}
% logo
\changes{v4.1.1.1}{2023/01/21}{修正LOGO字形高度}
\newfontfamily{\ffmfamily}[Scale=MatchUppercase]{ffmb10.otf}
-\newcommand{\xduts}{{\ffmfamily XDUTS}}
-\newcommand{\bibtex}{\xspace\hologo{BibTeX}\xspace}
-\newcommand{\biblatex}{\xspace Bib\LaTeX\xspace}
+\NewDocumentCommand{\xduts}{O{\space}mO{\space}}{#1{\ffmfamily XDUTS}#3}
+\NewDocumentCommand{\bibtex}{O{\space}mO{\space}}{#1\hologo{BibTeX}#3}
+\NewDocumentCommand{\biblatex}{O{\space}mO{\space}}{#1 Bib\LaTeX #3}
% arguments list
\setlist[arguments]{label=\texttt{\#\arabic*}\,:}
% 浮动体默认设置
@@ -150,7 +147,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
\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]}}
+\SetWatermarkText{\prg_replicate:nn{18}{\prg_replicate:nn{6}{\xduts[]{}[]~}\xduts[]{}[]\\[30pt]}}
\ExplSyntaxOff
\begin{document}
\changes{v2.18.1.1}{2022/12/01}{隐藏源码、版本和索引}
@@ -163,13 +160,14 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
%</driver>
% \fi
% \GetFileInfo{\jobname.dtx}
-% \title{\bfseries\xduts{}手册}
+% \title{\bfseries\xduts[]{}手册}
+% \hypersetup{pdftitle=XDUTS手册}
% \author{\href{https://github.com/note286/}{note286}}
% \date{\href{https://github.com/note286/xduts/releases/tag/\fileversion/}{\fileversion}~(\filedate)}
% \maketitle
% \thispagestyle{empty}
% \begin{abstract}
-% \xduts{}是面向西安电子科技大学本科生/研究生的\LaTeXiii{}文档类和宏包套装,
+% \xduts[]{}是面向西安电子科技大学本科生/研究生的\LaTeXiii{}宏包和文档类套装,
% 仅支持\XeLaTeX{},
% 仅支持\TeXLive{}、Mac\TeX{}、\MiKTeX{},
% 支持Windows、macOS、GNU/Linux、Overleaf和TeXPage。
@@ -178,11 +176,11 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{abstract}
% 在使用\xduts{}时,默认您同意以下内容:
% \begin{enumerate}
-% \item \xduts{}作者不对使用\xduts{}产生的格式审查问题负责。
-% \item \xduts{}的发布遵守
+% \item \xduts[]{}作者不对使用\xduts{}产生的格式审查问题负责。
+% \item \xduts[]{}的发布遵守
% \LaTeX{} Project Public License\footurl{https://www.latex-project.org/lppl.txt},
% 使用前请认真阅读协议内容。
-% \item 任何个人或组织以\xduts{}为基础进行修改、扩展而生成的新的\LaTeX{}文档类/宏包,
+% \item 任何个人或组织以\xduts{}为基础进行修改或扩展生成新的\LaTeX{}宏包/文档类,
% 请严格遵守\LaTeX{} Project Public License,
% 由于违犯协议而引起的任何纠纷争端均与\xduts{}作者无关。
% \end{enumerate}
@@ -195,20 +193,21 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \@starttoc{toc}
% \makeatother
% \clearpage
+% \changes{v4.4.5.2}{2023/02/11}{调整文档介绍顺序}
% \changes{v2.14.1.3}{2022/11/23}{修改文档措辞}
% \section{介绍}
-% \xduts{} (Xidian University \TeX{} Suite)
+% \xduts[]{}(Xidian University \TeX{} Suite)
% 是为了帮助西安电子科技大学本科生/研究生撰写开题报告/学位论文及其他文档
-% 而编写的\LaTeXiii{}文档类和宏包套装,目前有:
+% 而编写的\LaTeXiii{}宏包和文档类套装,目前有:
% \begin{itemize}
-% \item \pkgx{xdufont.sty},中/英/数学字体配置宏包。
-% \item \clsx{xduugtp.cls},本科生毕业设计论文开题报告文档类。
-% \item \clsx{xdupgthesis.cls},研究生学位论文文档类。
-% \item \clsx{xduugthesis.cls},本科生毕业设计论文文档类。
+% \item \pkgx[]{xdufont.sty}[],中/英/数学字体配置宏包。
+% \item \clsx[]{xduugtp.cls}[],本科生毕业设计论文开题报告文档类。
+% \item \clsx[]{xduugthesis.cls}[],本科生毕业设计论文文档类。
+% \item \clsx[]{xdupgthesis.cls}[],研究生学位论文文档类。
% \end{itemize}
% 即将支持:
% \begin{itemize}
-% \item \clsx{xdupgtp.cls},研究生学位论文开题报告文档类。
+% \item \clsx[]{xdupgtp.cls}[],研究生学位论文开题报告文档类。
% \end{itemize}
% \par
% \changes{v1.2.0.1}{2022/04/19}{增加GitHub Discussions}
@@ -224,24 +223,23 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% 《一份(不太)简短的\LaTeXe{}介绍》\footctan{info/lshort/chinese/lshort-zh-cn.pdf}
% 中提及的内容本文档将不再赘述。
% 此外,在\secrefx{使用建议}中给出了部分使用建议。
-% \xduts{}中的所有文档类和宏包仅内置了实现功能所需的宏包,
-% 对于常用的宏包如\pkgx{subcaption}、\pkgx{algpseudocodex}、
-% \pkgx{amsmath}、\pkgx{amsthm}和\pkgx{siunitx}等\textbf{均未内置},
-% 用户可以参考\secrefx{兼容性说明}后,视需求自行加载。
+% \xduts[]{}中的所有宏包和文档类仅内置了实现功能所需的宏包,
+% 对于常用的宏包如\pkgx{subcaption}[]、\pkgx[]{algpseudocodex}[]、^^A
+% \pkgx[]{amsmath}[]、\pkgx[]{amsthm}和\pkgx{siunitx}等\textbf{均未内置},
+% 用户可以参考\secrefx{兼容性说明}视需求自行加载。
% 相应格式规范均已实现,用户仅需要撰写文章内容即可,请勿随意添加格式修改命令。
% \changes{v1.1.2.1}{2022/04/15}{增加默认值说明}
% \textbf{部分样式的默认值并不严格符合学校规范},
% 用户可以结合学校规范并参考\secrefx{功能说明}功能说明自行修改。
% \par
-% 请在最新版\LaTeX{}环境中使用最新版\xduts{},
-% 认真阅读相应文档类/宏包使用说明章节后即可使用\xduts{}。
-% \subsection{\pkgx{xdufont}宏包}
-% \pkgx{xdufont}宏包基于\pkgx{xeCJK}宏包和\pkgx{unicode-math}宏包,
+% 请在最新版\LaTeX{}环境中使用最新版\xduts{}[],
+% 认真阅读相应宏包/文档类使用说明章节后即可使用\xduts{}[]。
+% \subsection{\pkgx[]{xdufont}宏包}
+% \pkgx[]{xdufont}宏包基于\pkgx{xeCJK}宏包和\pkgx{unicode-math}宏包,
% 在中文字体配置方面相较于\pkgx{ctex}宏包的主要优势为默认支持宋体粗体、斜体,
% 内置多种字体配置,可任意搭配中/英/数学字体,更加符合校内各种文档的撰写要求。
% \par
-% \secrefx{编译}介绍了如何编译,\secrefx{参数设置}介绍了如何自定义配置,具体的配置选项见\secrefx{字体选项}。
-% \pkgx{xdufont}宏包可以搭配任意文档类进行使用,例如:
+% \pkgx[]{xdufont}宏包可以搭配任意文档类进行使用,例如:
% \begin{lstlisting}
% \documentclass{article}
% \usepackage{xdufont}
@@ -252,11 +250,13 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{document}
% \end{lstlisting}
% \par
+% \secrefx{编译}介绍了如何编译,\secrefx{参数设置}介绍了如何自定义配置,具体的配置选项见\secrefx{字体选项}。
+% \par
% 学会以上用法后即可使用\pkgx{xdufont}宏包。
-% \subsection{\pkgx{xduugtp}文档类}
-% \pkgx{xduugtp}文档类基于\clsx{ctexart}文档类,
+% \subsection{\clsx[]{xduugtp}文档类}
+% \clsx[]{xduugtp}文档类基于\clsx{ctexart}文档类,
% 提供多种字体配置,信息录入便捷。
-% 请在阅读《西安电子科技大学本科毕设设计(论文)开题报告》后再使用\pkgx{xduugtp}文档类。
+% 请在阅读《西安电子科技大学本科毕设设计(论文)开题报告》后再使用\clsx{xduugtp}文档类。
% \par
% 使用\clsx{xduugtp}文档类的最小示例如下所示:
% \begin{lstlisting}
@@ -282,19 +282,15 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% 支持的信息录入选项见\secrefx{信息录入}。
% \par
% 学会以上用法后即可使用\clsx{xduugtp}文档类。
-% \changes{v1.4.0.0}{2022/04/26}{新增研究生学位论文}
-% \changes{v1.30.0.2}{2022/06/20}{研究生学位论文文档}
-% \changes{v2.2.1.1}{2022/06/23}{移除研究生学位论文中关于章节配置的文档}
-% \subsection{\pkgx{xdupgthesis}文档类}
-% \pkgx{xdupgthesis}文档类基于\clsx{ctexbook}文档类,
+% \subsection{\clsx[]{xduugthesis}文档类}
+% \clsx[]{xduugthesis}文档类基于\clsx{ctexbook}文档类,
% 提供多种字体配置,部分样式可自定义,信息录入便捷。
-% 请在阅读《西安电子科技大学研究生学位论文模板(2015年修订版)-2019.03修订》后再使用\pkgx{xdupgthesis}文档类。
-% 专业学位硕士请额外阅读《西安电子科技大学专业学位硕士学位论文封面及中英文题名页模板(2015年版)-2019.03修订》,
-% 撰写英文学位论文请额外阅读《西安电子科技大学英文学位论文撰写相关规定》。
+% \changes{v1.3.1.1}{2022/04/26}{英文本科生毕业设计规范参考说明}
+% 请在阅读《本科生毕业设计(论文)工作手册》后再使用\clsx{xduugthesis}文档类。
% \par
-% 使用\clsx{xdupgthesis}文档类的最小示例如下所示:
+% 使用\clsx{xduugthesis}文档类的最小示例如下所示:
% \begin{lstlisting}
-% \documentclass{xdupgthesis}
+% \documentclass{xduugthesis}
% \xdusetup{}
% \begin{document}
% \chapter{欢迎}
@@ -302,37 +298,38 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{document}
% \end{lstlisting}
% \par
+% \changes{v1.30.0.1}{2022/06/20}{移除info录入示例}
% \secrefx{编译}介绍了如何编译,
% \secrefx{参考文献引用}介绍了如何引用参考文献,
% \secrefx{参数设置}介绍了如何自定义配置。
% 其中,字体选项见\secrefx{字体选项},
% 部分英文字体切换见\secrefx{英文字体},
% 标题数学字体配置见\secrefx{标题数学字体配置},
-% 语言配置见\secrefx{语言配置},
% 参考文献配置见\secrefx{参考文献配置},
% 页面配置见\secrefx{页面配置},
-% \changes{v2.12.0.1}{2022/07/01}{研究生学位论文增加文件配置}
+% \changes{v2.12.0.1}{2022/07/01}{本科生毕业设计增加文件配置}
% 文件配置见\secrefx{文件配置},
% 交叉引用配置见\secrefx{交叉引用配置},
% caption配置见\secrefx{caption配置},
% 图表配置见\secrefx{图表配置},
% 算法配置见\secrefx{算法配置},
-% 对照表配置见\secrefx{对照表配置},
-% 作者简介配置见\secrefx{作者简介配置}。
+% 章节配置见\secrefx{章节配置},
% 支持的信息录入选项见\secrefx{信息录入}。
-% 页面和信息移除见\secrefx{页面和信息移除}。
% \par
-% 学会以上用法后即可使用\clsx{xdupgthesis}文档类。
-% 另外,在\secrefx{额外命令}中提供了部分额外命令来增强排版效果。
-% \subsection{\pkgx{xduugthesis}文档类}
-% \pkgx{xduugthesis}文档类基于\clsx{ctexbook}文档类,
+% 学会以上用法后即可使用\clsx{xduugthesis}文档类。
+% \changes{v1.4.0.0}{2022/04/26}{新增研究生学位论文}
+% \changes{v1.30.0.2}{2022/06/20}{研究生学位论文文档}
+% \changes{v2.2.1.1}{2022/06/23}{移除研究生学位论文中关于章节配置的文档}
+% \subsection{\clsx[]{xdupgthesis}文档类}
+% \clsx[]{xdupgthesis}文档类基于\clsx{ctexbook}文档类,
% 提供多种字体配置,部分样式可自定义,信息录入便捷。
-% \changes{v1.3.1.1}{2022/04/26}{英文本科生毕业设计规范参考说明}
-% 请在阅读《本科生毕业设计(论文)工作手册》后再使用\pkgx{xduugthesis}文档类。
+% 请在阅读《西安电子科技大学研究生学位论文模板(2015年修订版)-2019.03修订》后再使用\clsx{xdupgthesis}文档类。
+% 专业学位硕士请额外阅读《西安电子科技大学专业学位硕士学位论文封面及中英文题名页模板(2015年版)-2019.03修订》,
+% 撰写英文学位论文请额外阅读《西安电子科技大学英文学位论文撰写相关规定》。
% \par
-% 使用\clsx{xduugthesis}文档类的最小示例如下所示:
+% 使用\clsx{xdupgthesis}文档类的最小示例如下所示:
% \begin{lstlisting}
-% \documentclass{xduugthesis}
+% \documentclass{xdupgthesis}
% \xdusetup{}
% \begin{document}
% \chapter{欢迎}
@@ -340,36 +337,38 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{document}
% \end{lstlisting}
% \par
-% \changes{v1.30.0.1}{2022/06/20}{移除info录入示例}
% \secrefx{编译}介绍了如何编译,
% \secrefx{参考文献引用}介绍了如何引用参考文献,
% \secrefx{参数设置}介绍了如何自定义配置。
% 其中,字体选项见\secrefx{字体选项},
% 部分英文字体切换见\secrefx{英文字体},
% 标题数学字体配置见\secrefx{标题数学字体配置},
+% 语言配置见\secrefx{语言配置},
% 参考文献配置见\secrefx{参考文献配置},
% 页面配置见\secrefx{页面配置},
-% \changes{v2.12.0.1}{2022/07/01}{本科生毕业设计增加文件配置}
+% \changes{v2.12.0.1}{2022/07/01}{研究生学位论文增加文件配置}
% 文件配置见\secrefx{文件配置},
% 交叉引用配置见\secrefx{交叉引用配置},
% caption配置见\secrefx{caption配置},
% 图表配置见\secrefx{图表配置},
% 算法配置见\secrefx{算法配置},
-% 章节配置见\secrefx{章节配置},
+% 对照表配置见\secrefx{对照表配置},
+% 作者简介配置见\secrefx{作者简介配置}。
% 支持的信息录入选项见\secrefx{信息录入}。
+% 页面和信息移除见\secrefx{页面和信息移除}。
% \par
-% 学会以上用法后即可使用\clsx{xduugthesis}文档类。
+% 学会以上用法后即可使用\clsx{xdupgthesis}文档类。
% 另外,在\secrefx{额外命令}和\secrefx{额外功能}中提供了部分额外命令和功能来增强排版效果。
% \changes{v1.3.0.1}{2022/04/20}{增加兼容性说明}
% \section{兼容性说明}
% \label{兼容性说明}
-% \pkgx{xduugthesis}和\pkgx{xduugthesis}文档类对部分常见宏包进行了针对性地适配,
+% \clsx[]{xduugthesis}和\clsx{xdupgthesis}文档类对部分常见宏包进行了针对性地适配,
% 需要注意的是,这些宏包仍需用户视需求自行加载。
% \subsection{算法}
-% 主要适配算法内容字号和默认浮动位置。
-% \pkgx{algorithm}宏包提供了算法浮动体\envx{algorithm}环境,
-% 可以搭配\pkgx{algpseudocodex}等宏包使用。
-% \pkgx{algorithm2e}宏包提供了算法环境,
+% 主要适配算法内容字号和默认浮动位置。^^A
+% \pkgx[]{algorithm}宏包提供了算法浮动体\envx{algorithm}环境,
+% 可以搭配\pkgx{algpseudocodex}等宏包使用。^^A
+% \pkgx[]{algorithm2e}宏包提供了算法环境,
% 该宏包提供的\envx{algorithm}环境实际将浮动体与算法内容合二为一。
% \subsection{图片}
% \changes{v1.13.5.1}{2022/05/08}{补充子图引用样式文档}
@@ -378,8 +377,8 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% 包括\pkgx{subcaption}宏包和\pkgx{subfig}宏包。
% \subsection{表格}
% 主要适配表格内容字号,
-% 包括所有使用\envx{table}浮动体的表格、
-% \pkgx{tabularray}宏包提供的\envx{tblr}、\envx{longtblr}环境
+% 包括所有使用\envx{table}浮动体的表格、^^A
+% \pkgx[]{tabularray}宏包提供的\envx{tblr}[]、\envx[]{longtblr}环境
% 和\pkgx{longtable}宏包提供的\envx{longtable}环境。
% \changes{v4.1.1.0}{2023/01/16}{适配子表样式}
% 以及适配子表caption字体字号和子表引用样式,
@@ -387,7 +386,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \changes{v4.0.0.1}{2022/12/11}{增加使用建议}
% \section{使用建议}
% \label{使用建议}
-% 本节主要针对\pkgx{xduugthesis}和\pkgx{xduugthesis}文档类提出使用建议,
+% 本节主要针对\clsx{xduugthesis}和\clsx{xdupgthesis}文档类提出使用建议,
% 用户仍可不遵守本节的建议并根据自己的偏好进行使用。
% \par
% 宏包方面,在\secrefx{兼容性说明}中提到已适配多种宏包。
@@ -395,33 +394,33 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% 推荐使用\pkgx{algorithm}和\pkgx{algpseudocodex}宏包排版算法;
% 推荐使用\pkgx{subcaption}宏包排版子图和子表;
% 推荐使用\pkgx{tabularray}宏包排版\textbf{所有的表格};
-% 推荐使用\pkgx{siunitx}宏包排版单位;
-% 推荐使用\pkgx{xurl}宏包实现链接自动折行。
-% 另外,不要加载任何与参考文献相关的宏包。
+% 推荐使用\pkgx{enumitem}宏包修改列表环境样式;
+% 推荐使用\pkgx{siunitx}宏包排版单位。
+% 另外,不要加载任何与参考文献和中英文字体相关的宏包。
% 使用宏包提供的功能时,\textbf{请阅读相应的宏包文档}。
% \par
% 字体方面,中文、英文和数学字体均提供了多种配置。
% 对于中英文字体,用户可以根据自己的喜好选择合适的配置,
% 部分配置对应的字体可能需要自行购买并安装。
-% 对于数学字体,强烈建议用户选择一个与中英文字体搭配的数学字体。
+% 对于数学字体,建议用户选择一个与英文字体搭配的数学字体。
% 注意,当使用非Computer Modern字体时,
% 部分命令(例如,加粗等)可能与传统方式不同,
-% 请自行阅读\pkgx{unicode-math}文档。
+% 请阅读\pkgx{unicode-math}宏包文档。
% \section{功能说明}
% \label{功能说明}
-% 请根据\secrefx{使用说明}中相应文档类/宏包的说明来选择性地阅读本节内容。
+% 请根据\secrefx{使用说明}中相应宏包/文档类的说明来选择性地阅读本节内容。
% \subsection{编译}
% \label{编译}
% \changes{v0.5.1.2}{2022/04/07}{增加编译说明}
-% \LaTeX{}本身是命令行程序,通过不同的命令调用所需的编译引擎,编辑器提供的快捷按钮实际只是做了包装。
-% \xduts{}仅支持\XeLaTeX{},参考文献后端程序默认为\cmdx{biber},也可以切换为\cmdx{bibtex}。
+% \xduts[]{}仅支持\XeLaTeX{},
+% 参考文献后端程序默认为\cmdx{biber}[],也可以参考\secrefx{参考文献配置}切换为\cmdx{bibtex}[]。
% \subsection{参考文献引用}
% \label{参考文献引用}
% \changes{v4.3.0.1}{2023/01/30}{修改文档中关于参考文献的描述}
-% \xduts{}提供了两种参考文献处理方式,
-% 一种是\pkgx{natbib}宏包搭配\pkgx{gbt7714}宏包,后端程序为\cmdx{bibtex};
-% 另一种是\pkgx{biblatex}宏包,后端程序为\cmdx{biber}。
-% 引用参考文献时,\tnx{cite}为上标样式,\tnx{parencite}为非上标样式。
+% \xduts[]{}提供了两种参考文献处理方式,
+% 一种是\pkgx{natbib}宏包搭配\pkgx{gbt7714}宏包,后端程序为\cmdx{bibtex}[];
+% 另一种是\pkgx{biblatex}宏包,后端程序为\cmdx{biber}[]。
+% 引用参考文献时,\tnx[]{cite}为上标样式,\tnx[]{parencite}为非上标样式。
% \subsection{参数设置}
% \label{参数设置}
% \changes{v4.4.2.1}{2023/02/08}{修正接口文档说明样式}
@@ -431,12 +430,12 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \tn{xdusetup}\marg{键值列表}
% \end{syntax}
-% \xduts{}提供了一系列选项,可自行配置。
-% 载入文档类/宏包之后,以下所有选项均可通过统一的命令\tnx{xdusetup}来设置。
-% \csx{xdusetup}的参数是一组由(英文)逗号隔开的选项列表,
+% \xduts[]{}提供了一系列选项,可自行配置。
+% 载入宏包/文档类之后,以下所有选项均可通过统一的命令\tnx{xdusetup}来设置。^^A
+% \csx[]{xdusetup}的参数是一组由(英文)逗号隔开的选项列表,
% 下文中尖括号内列出了若干个允许的选项,其中加粗的为默认选项。
-% 列表中的选项通常是\kvoptx{\metax{key}}{\metax{value}}的形式。
-% \csx{xdusetup}采用\LaTeXiii{}风格的键值设置,
+% 列表中的选项通常是\kvoptx{\metax[]{key}[]}{\metax[]{value}[]}的形式。^^A
+% \csx[]{xdusetup}采用\LaTeXiii{}风格的键值设置,
% 支持不同类型以及多种层次的选项设定。
% 键值列表中,“|=|”左右的空格不影响设置;
% 但需注意,参数列表中不可以出现空行。
@@ -473,13 +472,13 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \opt{style/cjk-font} = adobe|(fandol)|founder|sinotype|win|none
% \end{syntax}
-% 设置中文字体,具体配置见\tabrefx{tab:cjk-font}。
+% 设置中文字体,具体配置见\tabrefx{tab:cjk-font}[]。
% \end{function}
% \begin{optdesc}
-% \item[adobe] \filex{adobesongstd-light.otf}、\filex{adobekaitistd-regular.otf}、\filex{adobeheitistd-regular.otf}和\filex{Adobe-Fangsong-Std-R-Font.otf}。
-% \item[founder] \filex{FZShuSong-Z01.ttf}、\filex{FZKai-Z03.ttf}、\filex{FZHei-B01.ttf}和\filex{FZFSK.TTF}。
-% \item[sinotype] \filex{STSONG.TTF}、\filex{STKAITI.TTF}、\filex{STXIHEI.TTF}、\filex{STHeiti.ttf}和\filex{STFANGSO.TTF}。
-% \item[win] \filex{simsun.ttc}、\filex{simkai.ttf}、\filex{simhei.ttf}和\filex{simfang.ttf}。
+% \item[adobe] \filex[]{adobesongstd-light.otf}[]、\filex[]{adobekaitistd-regular.otf}[]、\filex[]{adobeheitistd-regular.otf}和\filex{Adobe-Fangsong-Std-R-Font.otf}。
+% \item[founder] \filex[]{FZShuSong-Z01.ttf}[]、\filex[]{FZKai-Z03.ttf}[]、\filex[]{FZHei-B01.ttf}和\filex{FZFSK.TTF}。
+% \item[sinotype] \filex[]{STSONG.TTF}[]、\filex[]{STKAITI.TTF}[]、\filex[]{STXIHEI.TTF}[]、\filex[]{STHeiti.ttf}和\filex{STFANGSO.TTF}。
+% \item[win] \filex[]{simsun.ttc}[]、\filex[]{simkai.ttf}[]、\filex[]{simhei.ttf}和\filex{simfang.ttf}。
% \item[none] 关闭内置中文字体配置,需自行配置中文字体。
% \end{optdesc}
% \changes{v2.16.1.1}{2022/11/27}{修改中文字体配置表文档样式}
@@ -510,24 +509,24 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \opt{style/cjk-fake-bold} = \meta{伪粗体粗细程度}
% \end{syntax}
-% 设置中文字体伪粗体粗细程度。默认为\valuex{3},对于部分存在对应粗体字体的中文字体,如FandolSong和FandolHei等,该选项不生效。
+% 设置中文字体伪粗体粗细程度。默认为\valuex{3}[],对于部分存在对应粗体字体的中文字体,如FandolSong和FandolHei等,该选项不生效。
% \end{function}
% \begin{function}[added=2022-04-01]{style/cjk-fake-slant}
% \begin{syntax}
% \opt{style/cjk-fake-slant} = \meta{伪斜体倾斜程度}
% \end{syntax}
-% 设置中文字体伪斜体倾斜程度。默认为\valuex{0.2}。
+% 设置中文字体伪斜体倾斜程度。默认为\valuex{0.2}[]。
% \end{function}
% \begin{function}[added=2022-03-06,updated=2022-05-06]{style/latin-font}
% \begin{syntax}
% \opt{style/latin-font} = tac|tacn|thcs|(gyre)|none
% \end{syntax}
-% 设置英文字体,具体配置见\tabrefx{tab:latin-font}。
+% 设置英文字体,具体配置见\tabrefx{tab:latin-font}[]。
% \end{function}
% \begin{optdesc}
-% \item[tac] \filex{times.ttf}、\filex{timesbd.ttf}、\filex{timesi.ttf}、\filex{timesbi.ttf}、\filex{arial.ttf}、\filex{arialbd.ttf}、\filex{ariali.ttf}、\filex{arialbi.ttf}、\filex{consola.ttf}、\filex{consolab.ttf}、\filex{consolai.ttf}和\filex{consolaz.ttf}。
-% \item[tacn] \filex{times.ttf}、\filex{timesbd.ttf}、\filex{timesi.ttf}、\filex{timesbi.ttf}、\filex{arial.ttf}、\filex{arialbd.ttf}、\filex{ariali.ttf}、\filex{arialbi.ttf}、\filex{cour.ttf}、\filex{courbd.ttf}、\filex{couri.ttf}和\filex{courbi.ttf}。
-% \item[thcs] \filex{times.ttf}、\filex{timesbd.ttf}、\filex{timesi.ttf}、\filex{timesbi.ttf}、\filex{Helvetica.ttf}、\filex{Helvetica~Bold.ttf}、\filex{Helvetica~Oblique.ttf}、\filex{Helvetica~Bold~Oblique.ttf}、\filex{CourierStd.otf}、\filex{CourierStd-Bold.otf}、\filex{CourierStd-Oblique.otf}和\filex{CourierStd-BoldOblique.otf}。
+% \item[tac] \filex[]{times.ttf}[]、\filex[]{timesbd.ttf}[]、\filex[]{timesi.ttf}[]、\filex[]{timesbi.ttf}[]、\filex[]{arial.ttf}[]、\filex[]{arialbd.ttf}[]、\filex[]{ariali.ttf}[]、\filex[]{arialbi.ttf}[]、\filex[]{consola.ttf}[]、\filex[]{consolab.ttf}[]、\filex[]{consolai.ttf}和\filex{consolaz.ttf}。
+% \item[tacn] \filex[]{times.ttf}[]、\filex[]{timesbd.ttf}[]、\filex[]{timesi.ttf}[]、\filex[]{timesbi.ttf}[]、\filex[]{arial.ttf}[]、\filex[]{arialbd.ttf}[]、\filex[]{ariali.ttf}[]、\filex[]{arialbi.ttf}[]、\filex[]{cour.ttf}[]、\filex[]{courbd.ttf}[]、\filex[]{couri.ttf}和\filex{courbi.ttf}。
+% \item[thcs] \filex[]{times.ttf}[]、\filex[]{timesbd.ttf}[]、\filex[]{timesi.ttf}[]、\filex[]{timesbi.ttf}[]、\filex[]{Helvetica.ttf}[]、\filex[]{Helvetica~Bold.ttf}[]、\filex[]{Helvetica~Oblique.ttf}[]、\filex[]{Helvetica~Bold~Oblique.ttf}[]、\filex[]{CourierStd.otf}[]、\filex[]{CourierStd-Bold.otf}[]、\filex[]{CourierStd-Oblique.otf}和\filex{CourierStd-BoldOblique.otf}。
% \item[none] 关闭内置英文字体配置,需自行配置英文字体。
% \end{optdesc}
% \changes{v2.16.1.1}{2022/11/27}{修改英文字体配置表文档样式}
@@ -565,12 +564,12 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \opt{style/math-font} = asana|cambria|(cm)|fira|garamond|lm|...|termes|xits|none
% \end{syntax}
-% 设置数学字体,具体配置见\tabrefx{tab:math-font}。除Computer Modern字体外,均使用\pkgx{unicode-math}宏包调用字体。
+% 设置数学字体,具体配置见\tabrefx{tab:math-font}[]。除Computer Modern字体外,均使用\pkgx{unicode-math}宏包调用字体。
% \end{function}
% \changes{v2.16.1.1}{2022/11/27}{修改数学字体配置表文档样式}
% \changes{v0.1.4.1}{2022/04/04}{数学字体风格介绍}
% \begin{optdesc}
-% \item[cambria] \filex{cambria.ttc}。
+% \item[cambria] \filex[]{cambria.ttc}[]。
% \item[none] 关闭内置数学字体配置,需自行配置数学字体。
% \end{optdesc}
% \begin{tblr}
@@ -587,29 +586,29 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% row{1} = {cmd=\strong},
% rowhead = 1
% }
-% 选项名称 & 字体名称 \\
-% |asana| & Asana Math \\
-% |cambria|\tnote{1} & Cambria Math \\
-% |cm| & Computer Modern \\
-% |concrete| & Concrete Math \\
-% |erewhon| & Erewhon Math \\
-% |euler| & Euler Math \\
-% |fira| & Fira Math \\
-% |garamond| & Garamond Math \\
-% |gfsneohellenic| & GFS Neohellenic Math \\
-% |kp| & KpMath \\
-% |libertinus| & Libertinus Math \\
-% |lm| & Latin Modern Math \\
-% |newcm| & New Computer Modern Math \\
-% |stix2| & STIX Two Math \\
-% |stix| & STIX Math \\
-% |xcharter| & XCharter Math \\
-% |xits| & XITS Math \\
-% |bonum| & TeX Gyre Bonum Math \\
-% |dejavu| & TeX Gyre DejaVu Math \\
-% |pagella| & TeX Gyre Pagella Math \\
-% |schola| & TeX Gyre Schola Math \\
-% |termes| & TeX Gyre Termes Math \\
+% 选项名称 & 字体名称 \\
+% |asana| & Asana Math \\
+% |cambria| & Cambria Math \\
+% |cm| & Computer Modern \\
+% |concrete| & Concrete Math \\
+% |erewhon| & Erewhon Math \\
+% |euler| & Euler Math \\
+% |fira| & Fira Math \\
+% |garamond| & Garamond Math \\
+% |gfsneohellenic| & GFS Neohellenic Math \\
+% |kp| & KpMath \\
+% |libertinus| & Libertinus Math \\
+% |lm| & Latin Modern Math \\
+% |newcm| & New Computer Modern Math \\
+% |stix2| & STIX Two Math \\
+% |stix| & STIX Math \\
+% |xcharter| & XCharter Math \\
+% |xits| & XITS Math \\
+% |bonum| & TeX Gyre Bonum Math \\
+% |dejavu| & TeX Gyre DejaVu Math \\
+% |pagella| & TeX Gyre Pagella Math \\
+% |schola| & TeX Gyre Schola Math \\
+% |termes| & TeX Gyre Termes Math \\
% \end{tblr}
% \begin{function}[added=2022-03-14]{style/unicode-math}
% \begin{syntax}
@@ -631,7 +630,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \opt{style/font-path} = \marg{路径}
% \end{syntax}
-% 设置字体文件路径,即\metax{路径}目录内存储全部所需中文、英文和数学字体文件,仅在\optx{font-type}等于|file|时有效,默认值为\valuex{fonts}。
+% 设置字体文件路径,即\metax{路径}目录内存储全部所需中文、英文和数学字体文件,仅在\optx{font-type}等于|file|时有效,默认值为\valuex{fonts}[]。
% \end{function}
% \subsection{英文字体}
% \label{英文字体}
@@ -671,7 +670,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{function}
% \begin{optdesc}
% \item[zh] 中文。
-% \item[en] 英文。注意,研究生学位论文一二三级标题命令请参考\secrefx{英文研究生学位论文双语标题}。
+% \item[en] 英文。注意,研究生学位论文一二三级标题命令请参考\secrefx{英文研究生学位论文标题}。
% \end{optdesc}
% \subsection{参考文献配置}
% \label{参考文献配置}
@@ -682,20 +681,18 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% 设置参考文献支持方式。
% \end{function}
% \begin{optdesc}
-% \item[bibtex] 使用\bibtex{}处理参考文献,后端程序为\cmdx{bibtex}。
-% \item[biblatex] 使用\biblatex{}处理参考文献,后端程序为\cmdx{biber}。
+% \item[bibtex] 使用\bibtex{}处理参考文献,后端程序为\cmdx{bibtex}[]。
+% \item[biblatex] 使用\biblatex{}处理参考文献,后端程序为\cmdx{biber}[]。
% \end{optdesc}
% \changes{v1.31.0.0}{2022/06/21}{修改\pkgx{biblatex}默认选项}
% \begin{function}[added=2022-06-21]{style/biblatex-option}
% \begin{syntax}
% \opt{style/biblatex-option} = \marg{biblatex宏包选项}
% \end{syntax}
-% 修改\pkgx{biblatex}默认选项,具体配置参考\filex{biblatex-gb7714-2015.pdf},
+% 修改\pkgx{biblatex}默认选项,具体配置参考\pkgx{biblatex-gb7714-2015}宏包文档,
% 仅在\optx{style/bib-backend}等于|biblatex|时有效。例如:
% \begin{lstlisting}
-% \xdusetup{
-% style / biblatex-option = { gbnamefmt=quanpin }
-% }
+% \xdusetup{ style / biblatex-option = { gbnamefmt=quanpin } }
% \end{lstlisting}
% \end{function}
% \subsection{页面配置}
@@ -726,9 +723,9 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \opt{style/file-search-path} = \marg{路径}
% \end{syntax}
-% 设置文件搜索路径,可用于\tnx{input}、\tnx{include}和\tnx{includegraphics},
+% 设置文件搜索路径,可用于\tnx{input}[]、\tnx[]{include}和\tnx{includegraphics}[],
% 多个路径之间需要使用英文半角逗号隔开。
-% 设置后\tnx{input}、\tnx{include}和\tnx{includegraphics}仅需填写文件名。
+% 设置后\tnx{input}[]、\tnx[]{include}和\tnx{includegraphics}仅需填写文件名。
% \end{function}
% \begin{function}[added=2022-07-01]{style/fix-input,style/fix-include,style/fix-includegraphics}
% \begin{syntax}
@@ -738,7 +735,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{syntax}
% TEXMF树搜索优先级高于用户自定义的文件搜索路径,
% 如果在TEXMF树内存在同名文件,则会导致错误的文件被加载。
-% 通过为\tnx{input}、\tnx{include}和\tnx{includegraphics}命令打补丁可以避免该问题。
+% 通过为\tnx{input}[]、\tnx[]{include}和\tnx{includegraphics}命令打补丁可以避免该问题。
% 如果用户的\TeX{}或图片等文件不与TEXMF树内文件同名,或与\TeX{}主文件在同一目录,则无需打补丁。
% \end{function}
% \subsection{交叉引用配置}
@@ -763,7 +760,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \opt{style/caption-label-sep} = \meta{间距}
% \end{syntax}
-% 设置图、表、算法标签与后面标题之间的间距,默认值为\valuex{0.75em}。
+% 设置图、表、算法标签与后面标题之间的间距,默认值为\valuex{0.75em}[]。
% \end{function}
% \subsection{图表配置}
% \label{图表配置}
@@ -863,13 +860,13 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \opt{style/before-skip} = \marg{间距列表}
% \end{syntax}
-% 设置章节标题前的垂直间距,默认值为\valuex{\{24pt, 18pt, 12pt, 12pt, 12pt, 12pt\}},分别对应\tnx{chapter}、\tnx{section}、\tnx{subsection}、\tnx{subsubsection}、\tnx{paragraph}和\tnx{subparagraph}。
+% 设置章节标题前的垂直间距,默认值为\valuex{\{24pt, 18pt, 12pt, 12pt, 12pt, 12pt\}}[],分别对应\tnx{chapter}[]、\tnx[]{section}[]、\tnx[]{subsection}[]、\tnx[]{subsubsection}[]、\tnx[]{paragraph}和\tnx{subparagraph}。
% \end{function}
% \begin{function}[added=2022-04-05]{style/after-skip}
% \begin{syntax}
% \opt{style/after-skip} = \marg{间距列表}
% \end{syntax}
-% 设置章节标题后的垂直间距,默认值为\valuex{\{18pt, 12pt, 6pt, 6pt, 6pt, 6pt\}},分别对应\tnx{chapter}、\tnx{section}、\tnx{subsection}、\tnx{subsubsection}、\tnx{paragraph}和\tnx{subparagraph}。
+% 设置章节标题后的垂直间距,默认值为\valuex{\{18pt, 12pt, 6pt, 6pt, 6pt, 6pt\}}[],分别对应\tnx{chapter}[]、\tnx[]{section}[]、\tnx[]{subsection}[]、\tnx[]{subsubsection}[]、\tnx[]{paragraph}和\tnx{subparagraph}。
% \end{function}
% \begin{function}[added=2022-04-11]
% {
@@ -889,8 +886,8 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \opt{style/subpara-zihao} = 0|-0|1|-1|2|-2|3|-3|4|-4|5|-5|6|-6|7|8
% \end{syntax}
% 设置章节标题字号。
-% 当论文语言为中文时,默认值分别为\valuex{3}、\valuex{4}、\valuex{4}、\valuex{4}、\valuex{4}、\valuex{4}。
-% 当论文语言为英文时,默认值分别为\valuex{4}、\valuex{-4}、\valuex{-4}、\valuex{-4}、\valuex{-4}、\valuex{-4}。
+% 当论文语言为中文时,默认值分别为\valuex{3}[]、\valuex[]{4}[]、\valuex[]{4}[]、\valuex[]{4}[]、\valuex[]{4}和\valuex{4}。
+% 当论文语言为英文时,默认值分别为\valuex{4}[]、\valuex[]{-4}[]、\valuex[]{-4}[]、\valuex[]{-4}[]、\valuex[]{-4}和\valuex{-4}。
% \end{function}
% \begin{optdesc}
% \item[0] 初号
@@ -944,9 +941,9 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \opt{style/colspec-loa} = \marg{缩略语对照表列格式}
% \end{syntax}
% 设置符号对照表和缩略语对照表列格式,
-% 符号对照表列格式默认值为\valuex{Q[l,h]X[l,h]}。
-% 缩略语对照表列格式默认值为\valuex{Q[l,h]X[l,h]X[l,h]}。
-% 语法参考\pkgx{tabularray}宏包\cmdx{colspec}选项。
+% 符号对照表列格式默认值为\valuex{Q[l,h]X[l,h]}[]。
+% 缩略语对照表列格式默认值为\valuex{Q[l,h]X[l,h]X[l,h]}[]。
+% 语法参考\pkgx{tabularray}宏包\valuex{colspec}选项。
% 仅在\optx{style/customize-los}和\optx{style/customize-loa}等于\valuex{false}时有效。
% \end{function}
% \begin{function}[added=2022-06-05]{style/title-row-los,style/title-row-loa}
@@ -995,8 +992,8 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \par
% [2] XXX, XXX, XXX等. 科研项目名称. 陕西省科技进步三等奖, 获奖日期.
% \end{lstlisting}
-% \item[false] 使用内置的基于\envx{tblr}环境(\pkgx{tabularray}宏包)实现的
-% 教育背景表格环境\envx{edubg}和基于\envx{enumerate}环境(\pkgx{enumitem}宏包)实现的
+% \item[false] 使用内置的基于\envx{tblr}环境(\pkgx[]{tabularray}宏包)实现的
+% 教育背景表格环境\envx{edubg}和基于\envx{enumerate}环境(\pkgx[]{enumitem}宏包)实现的
% 攻读硕士学位期间的研究成果列表环境\envx{resresult}。
% 在\secrefx{信息录入}中提及的\optx{info/bio}中对应的文件中使用\envx{edubg}和\envx{resresult}环境即可,例如:
% \begin{lstlisting}
@@ -1293,7 +1290,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \opt{info/date} = \marg{日期1,日期2}
% \end{syntax}
-% 设置开题报告签名日期,格式为\argx{yyyy-mm-dd},如果留空,则自动使用编译当天日期。
+% 设置开题报告签名日期,格式为\margx{yyyy-mm-dd}[],如果留空,则自动使用编译当天日期。
% \end{function}
% \begin{optdesc}
% \item[日期1] 指导教师意见签名日期。
@@ -1658,15 +1655,15 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \tn{noauxwrite}\marg{参考文献引用命令}
% \end{syntax}
-% \tnx{noauxwrite}允许添加不影响现有引用列表顺序的引用。
+% \tnx[]{noauxwrite}允许添加不影响现有引用列表顺序的引用。
% 一个简单的例子如下所示:
% \begin{lstlisting}
% \caption{本文与文献\noauxwrite{\parencite{某文献}}计算开销对比}
% \end{lstlisting}
% \end{function}
-% \changes{v1.30.0.0}{2022/06/20}{英文研究生学位论文双语标题}
-% \subsubsection{英文研究生学位论文双语标题}
-% \label{英文研究生学位论文双语标题}
+% \changes{v1.30.0.0}{2022/06/20}{英文研究生学位论文标题}
+% \subsubsection{英文研究生学位论文标题}
+% \label{英文研究生学位论文标题}
% \begin{function}[added=2022-06-20,updated=2023-01-28]{\chapter,\section,\subsection}
% \begin{syntax}
% \tn{chapter}\marg{英文标题}\oarg{中文标题}
@@ -1690,13 +1687,13 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{syntax}
% \tn{anon}\oarg{匿名内容}\marg{非匿名内容}
% \end{syntax}
-% 根据\optx{style/anonymous}的状态来显示相应的\metax{匿名内容}和\metax{非匿名内容}。
+% 根据\optx{style/anonymous}的状态来显示相应的\metax{匿名内容}和\metax{非匿名内容}[]。
% 其中\oargx{匿名内容}为可选参数,默认为XXX。
% 一个简单的例子如下所示:
% \begin{lstlisting}
% \anon[XX]{张三}
% \end{lstlisting}
-% 当\optx{style/anonymous}为\valuex{true},输出张三;当\optx{style/anonymous}为\valuex{false},输出XX。
+% 当\optx{style/anonymous}为\valuex{true}[],输出XX;当\optx{style/anonymous}为\valuex{false}[],输出张三。
% \end{function}
% \subsection{额外功能}
% \label{额外功能}
@@ -1705,8 +1702,8 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% 已和学位办确认,对于研究生,如挂名导师与带教导师不是一人的,
% 仅需填写带教导师,无需填写挂名导师。
% 如有特殊需求,需要填写两位老师,
-% 可在\optx{info/supervisor}、\optx{info/supervisor*}、
-% \optx{info/supervisor-title}和\optx{info/supervisor-title*}中
+% 可在\optx{info/supervisor}[]、\optx[]{info/supervisor*}[]、^^A
+% \optx[]{info/supervisor-title}和\optx{info/supervisor-title*}中
% 使用逗号分隔两位老师的信息。
% \changes{v2.10.1.1}{2022/06/26}{相似性检测、盲审和抽查评估}
% \subsubsection{相似性检测、盲审和抽查评估}
@@ -1723,27 +1720,30 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% 由于存在插图索引、表格索引、符号对照表或缩略语对照表为空的情况,
% 故支持隐藏插图索引、表格索引、符号对照表或缩略语对照表,例如:
% \begin{lstlisting}
-% \xdusetup{
-% style / remove-page = { 插图索引, 符号对照表 }
-% }
+% \xdusetup{ style / remove-page = { 插图索引, 符号对照表 } }
% \end{lstlisting}
% \section{贡献者}
-% \xduts{}的开发过程中,唯一维护者为
+% \xduts[]{}的开发过程中,唯一维护者为
% \href{https://github.com/note286/}{\ttfamily @note286}。
% \changes{v1.15.0.1}{2022/05/15}{增加\clsx{xduugthesis}内测人员}
-% 其中,在\clsx{xduugthesis}的开发过程中,
-% \href{https://github.com/Ke-Huo}{\ttfamily @Ke-Huo}、
-% \href{https://github.com/GRHun}{\ttfamily @RH}、
-% \href{https://github.com/songyueran}{\ttfamily @syr-bloom}
+% 其中,在\clsx{xduugthesis}的开发过程中,^^A
+% \href{https://github.com/Ke-Huo}{\ttfamily @Ke-Huo}、^^A
+% \href{https://github.com/GRHun}{\ttfamily @RH}、^^A
+% \href{https://github.com/songyueran}{\ttfamily @syr-bloom}^^A
% 等人参与了内测。
-% 同时,也要感谢所有在GitHub和睿思上反馈问题和提出建议的同学、老师们。
-% \xduts{}的持续发展,离不开你们的帮助与支持。
+% 同时,也要感谢所有在GitHub和睿思上反馈问题和提出建议的同学、老师们。^^A
+% \xduts[]{}的持续发展,离不开你们的帮助与支持。
+% \changes{v4.4.5.3}{2023/02/11}{增加致谢参考链接}
% \section{致谢}
% 在学习文学编程的过程中,
% 《在\LaTeX{}中进行文学编程》\footurl{https://liam.page/2015/01/23/literate-programming-in-latex/}
% 和《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}。
+% 在文档的编写过程中,参考了^^A
+% \filex{ctex.dtx}[]\footurl{https://github.com/CTeX-org/ctex-kit/blob/master/ctex/ctex.dtx}、^^A
+% \filex[]{fduthesis.dtx}[]\footurl{https://github.com/stone-zeng/fduthesis/blob/main/source/fduthesis.dtx}、^^A
+% \filex[]{njuthesis.dtx}[]\footurl{https://github.com/nju-lug/NJUThesis/blob/master/source/njuthesis.dtx}和^^A
+% \filex{thuthesis.dtx}[]\footurl{https://github.com/tuna/thuthesis/blob/master/thuthesis.dtx}。
% \changes{v4.0.1.1}{2022/12/12}{增加支付宝红包二维码}
% \changes{v3.1.1.3}{2022/12/10}{二维码增加图标}
% \changes{v3.1.1.2}{2022/12/06}{增加QQ支付二维码}
@@ -1751,7 +1751,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \changes{v2.15.0.1}{2022/11/26}{增加赞助二维码}
% \section{赞助}
% 如果\xduts{}对您有所帮助,
-% 可以扫描\figrefx{fig:zanzhu}中的二维码来赞助\xduts{}。
+% 可以扫描\figrefx{fig:zanzhu}中的二维码来赞助\xduts{}[]。
% \ExplSyntaxOn
% \str_set_convert:Nnnn \l_xduts_alipay_red_packet_qr_str {%
% 68747470733A2F2F71722E616C697061792E636F6D2F31317731333035336232617236757438%
@@ -1805,7 +1805,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \begin{macrocode}
%<@@=xdu>
% \end{macrocode}
-% \subsection{文档类和宏包}
+% \subsection{宏包和文档类}
% \begin{macrocode}
%<*class|sty>
% \end{macrocode}
@@ -2233,7 +2233,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_load_cjk_font_win:}
-% 中文字体配置\valuex{win}。
+% 中文字体配置\valuex{win}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_cjk_font_win:
{
@@ -2248,7 +2248,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_load_cjk_font_adobe:}
-% 中文字体配置\valuex{adobe}。
+% 中文字体配置\valuex{adobe}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_cjk_font_adobe:
{
@@ -2264,7 +2264,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macro}
% \begin{macro}{\@@_load_cjk_font_founder:}
% \changes{v0.5.1.0}{2022/04/06}{适配macOS平台方正字体}
-% 中文字体配置\valuex{founder}。
+% 中文字体配置\valuex{founder}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_cjk_font_founder:
{
@@ -2279,7 +2279,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_load_cjk_font_sinotype:}
-% 中文字体配置\valuex{sinotype}。
+% 中文字体配置\valuex{sinotype}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_cjk_font_sinotype:
{
@@ -2296,7 +2296,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macro}
% \begin{macro}{\@@_load_cjk_font_fandol:}
% \changes{v0.5.1.0}{2022/04/06}{适配macOS平台Fandol字体}
-% 中文字体配置\valuex{fandol}。
+% 中文字体配置\valuex{fandol}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_cjk_font_fandol:
{
@@ -2313,7 +2313,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_load_cjk_font_none:}
-% 中文字体配置\valuex{none}。
+% 中文字体配置\valuex{none}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_cjk_font_none: { }
% \end{macrocode}
@@ -2503,7 +2503,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macro}
% \begin{macro}{\@@_load_latin_font_tac:}
% \changes{v1.12.0.0}{2022/05/06}{新增Arial和Consolas英文字体配置}
-% 英文字体配置\valuex{tac}。
+% 英文字体配置\valuex{tac}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_latin_font_tac:
{
@@ -2517,7 +2517,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_load_latin_font_tacn:}
-% 英文字体配置\valuex{tacn}。
+% 英文字体配置\valuex{tacn}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_latin_font_tacn:
{
@@ -2531,7 +2531,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_load_latin_font_thcs:}
-% 英文字体配置\valuex{thcs}。
+% 英文字体配置\valuex{thcs}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_latin_font_thcs:
{
@@ -2558,7 +2558,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macro}
% \begin{macro}{\@@_load_latin_font_gyre:}
% \changes{v0.9.0.0}{2022/04/13}{新增gyre系列英文字体配置}
-% 英文字体配置\valuex{gyre}。
+% 英文字体配置\valuex{gyre}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_latin_font_gyre:
{
@@ -2581,7 +2581,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_load_latin_font_none:}
-% 英文字体配置\valuex{none}。
+% 英文字体配置\valuex{none}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_latin_font_none: { }
% \end{macrocode}
@@ -2599,7 +2599,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_load_math_font_cambria:}
-% 数学字体配置\valuex{cambria}。
+% 数学字体配置\valuex{cambria}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_math_font_cambria:
{
@@ -2660,13 +2660,13 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \changes{v0.5.1.0}{2022/04/06}{适配macOS平台MacTeX内置XITSMath数学字体}
% \changes{v2.12.1.0}{2022/07/03}{移除XITSMath数学字体冗余语句}
% \begin{macro}{\@@_load_math_font_cm:}
-% 数学字体配置\valuex{cm}。
+% 数学字体配置\valuex{cm}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_math_font_cm: { }
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_load_math_font_none:}
-% 数学字体配置\valuex{none}。
+% 数学字体配置\valuex{none}[]。
% \begin{macrocode}
\cs_new:Npn \@@_load_math_font_none: { }
% \end{macrocode}
@@ -4233,8 +4233,8 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \subsection{额外命令}
% \begin{macro}{\noauxwrite}
-% \changes{v1.15.0.0}{2022/05/13}{\tnx{noauxwrite}允许添加不影响现有引用列表顺序的引用}
-% \tnx{noauxwrite}允许添加不影响现有引用列表顺序的引用。
+% \changes{v1.15.0.0}{2022/05/13}{\tnx[]{noauxwrite}允许添加不影响现有引用列表顺序的引用}
+% \tnx[]{noauxwrite}允许添加不影响现有引用列表顺序的引用。
% \begin{macrocode}
\NewDocumentCommand \noauxwrite { m }
{
@@ -5112,7 +5112,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macro}
% \begin{macro}{\thealgocf}
% \changes{v0.10.4.0}{2022/04/14}{修正\pkgx{algorithm2e}算法编号样式}
-% \changes{v1.1.2.0}{2022/04/15}{检测是否加载\pkgx{algorithm2e}}
+% \changes{v1.1.2.0}{2022/04/15}{检测是否加载\pkgx{algorithm2e}[]}
% 重定义\pkgx{algorithm2e}宏包算法编号样式。
% \begin{macrocode}
\PassOptionsToPackage { algochapter } { algorithm2e }
@@ -5360,8 +5360,8 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\@@_tblr_caption_box:n}
-% \changes{v2.16.2.0}{2022/11/27}{\envx{longtblr}环境整页宽的caption盒子}
-% \pkgx{tabularray}中\envx{longtblr}环境整页宽的caption盒子。
+% \changes{v2.16.2.0}{2022/11/27}{\envx[]{longtblr}环境整页宽的caption盒子}
+% \pkgx[]{tabularray}中\envx{longtblr}环境整页宽的caption盒子。
% \begin{macrocode}
\cs_new:Npn \@@_tblr_caption_box:n #1
{ \makebox [ \tablewidth ] { \parbox { \columnwidth } { #1 } } }
@@ -5624,7 +5624,7 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
\cs_set_eq:NN \SlashFont \rmfamily
}
% \end{macrocode}
-% \bibtex{}和\pkgx{biblatex}通用字体字号配置。
+% \bibtex[]{}和\pkgx{biblatex}通用字体字号配置。
% \begin{macrocode}
\cs_set:Npn \bibfont
{
@@ -5641,8 +5641,8 @@ literate = {\$}{{\textcolor{purple3}{\$}}}{1}
% \end{macrocode}
% \changes{v4.4.4.0}{2023/02/09}{精简研究生学位论文移除参考文献列表宏包调用}
% \changes{v2.12.2.0}{2022/08/15}{修正本科毕业设计参考文献列表编译错误}
-% \changes{v2.7.0.0}{2022/06/26}{\bibtex{}下允许不生成文献列表}
-% \bibtex{}下允许不生成文献列表。
+% \changes{v2.7.0.0}{2022/06/26}{\bibtex[]{}下允许不生成文献列表}
+% \bibtex[]{}下允许不生成文献列表。
% \begin{macrocode}
\ctex_at_end_preamble:n
{
diff --git a/macros/xetex/latex/xduts/xduts.pdf b/macros/xetex/latex/xduts/xduts.pdf
index 92479c283e..e1a00725c3 100644
--- a/macros/xetex/latex/xduts/xduts.pdf
+++ b/macros/xetex/latex/xduts/xduts.pdf
Binary files differ