summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/buctthesis/manual.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/buctthesis/manual.sty')
-rw-r--r--Master/texmf-dist/doc/xelatex/buctthesis/manual.sty32
1 files changed, 9 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/xelatex/buctthesis/manual.sty b/Master/texmf-dist/doc/xelatex/buctthesis/manual.sty
index e12078529ed..a978aedccc0 100644
--- a/Master/texmf-dist/doc/xelatex/buctthesis/manual.sty
+++ b/Master/texmf-dist/doc/xelatex/buctthesis/manual.sty
@@ -9,6 +9,7 @@
%% This is a generated file.
%%
%% Copyright (C) 2019-2022 by Miracle0565
+%% Copyright (C) 2022-2023 by The-CCSN
%%
%% https://github.com/Miracle0565/BUCTthesis
%%
@@ -24,13 +25,13 @@
%% of LaTeX version 1999/12/01 or later.
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\ProvidesPackage{manual}[2021/09/25 document style for BUCTthesis]
+\ProvidesPackage{manual}[2023/05/20 document style for BUCTthesis]
\RequirePackage{hypdoc}
\PassOptionsToPackage{AutoFakeSlant}{xeCJK}
\RequirePackage[UTF8, heading, fontset = none, linespread = 1.2,]{ctex}
\RequirePackage[toc]{multitoc}
\RequirePackage{
+ xeCJKfntef,
listings,
float,
tabularx,
@@ -114,7 +115,6 @@
\setlist[enumerate]{%
itemindent = 2em,
}
-\newcommand\without\CJKsout
\newcommand\Arg[1]{ \texttt{\char`\{} \meta{#1} \texttt{\char`\}} }
\providecommand\marg[1]{ \Arg{#1} }
\providecommand\oarg[1]{ \texttt[ \meta{#1} \texttt] }
@@ -124,25 +124,11 @@
\DeclareRobustCommand{\pkg}{\textsf}
\DeclareRobustCommand{\cls}{\textsf}
\DeclareRobustCommand{\file}{\textsf}
-\def\DescribeOpt{\leavevmode\@bsphack%
- \begingroup\MakePrivateLetters\Describe@Opt}
-\def\Describe@Opt#1{\endgroup%
- \marginpar{\raggedleft\PrintDescribeOpt{#1}}%
- \SpecialOptIndex{#1}\@esphack\ignorespaces}
-\def\PrintDescribeOpt#1{\strut \MacroFont #1\ }
-\def\SpecialOptIndex#1{\@bsphack%
- \begingroup%
- \HD@target%
- \let\HDorg@encapchar\encapchar%
- \edef\encapchar usage{%
- \HDorg@encapchar hdclindex{\the\c@HD@hypercount}{usage}%
- }%
- \@bsphack
- \index{#1\actualchar{\protect\ttfamily#1}
- (option)\encapchar usage}%
- \index{options:\levelchar#1\actualchar%
- {\protect\ttfamily#1}\encapchar usage}\@esphack%
- \endgroup\@esphack}
+\NewDocElement[macrolike = false ,
+ idxtype = opt. ,
+ idxgroup = options ,
+ printtype = \textit{opt.}
+ ]{Opt}{option}
\NewDocumentEnvironment{syntax}{ m }{%
\linespread{1}\xeCJKsetup{PunctStyle=plain}\xeCJKsetup{CJKecglue}%
\cs{#1}\ignorespaces%
@@ -162,7 +148,7 @@
}
\hypersetup{
pdftitle = {BUCTthesis:北京化工大学学位论文模板},
- pdfauthor = {Miracle0565},
+ pdfauthor = {The-CCSN},
}
\CodelineIndex
\EnableCrossrefs