summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cquthesis/cquthesis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/cquthesis/cquthesis.dtx')
-rw-r--r--macros/latex/contrib/cquthesis/cquthesis.dtx23
1 files changed, 13 insertions, 10 deletions
diff --git a/macros/latex/contrib/cquthesis/cquthesis.dtx b/macros/latex/contrib/cquthesis/cquthesis.dtx
index 60df9b710d..00bc741efd 100644
--- a/macros/latex/contrib/cquthesis/cquthesis.dtx
+++ b/macros/latex/contrib/cquthesis/cquthesis.dtx
@@ -16,7 +16,7 @@
%
% \iffalse
%<*driver>
-\ProvidesFile{cquthesis.dtx}[2019/10/12 v1.40 Chongqing University Thesis Template]
+\ProvidesFile{cquthesis.dtx}[2020/06/23 v1.50 Chongqing University Thesis Template]
\documentclass{ltxdoc}
\usepackage{dtx-style}
@@ -30,7 +30,7 @@
%</driver>
% \fi
%
-% \CheckSum{1891}
+% \CheckSum{1893}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -99,7 +99,7 @@
% \GlossaryPrologue{\section{\glossaryname}}
%
% \title{\bfseries\color{blue!50!black}\cquthesis:重庆大学毕业论文\LaTeX 模板}
-% \author{{\fangsong 李振楠}\\[5pt]\texttt{i@nanmu.me}}
+% \author{{\fangsong 李振楠\footnote{\href{https://nanmu.me/zh-cn/about/}{中文页面},\href{https://nanmu.me/en/about}{About in English}}}\\[5pt]\texttt{i@nanmu.me}}
% \date{\fileversion\ (\filedate)}
% \maketitle\thispagestyle{empty}
% \vspace{\stretch{1}}
@@ -115,7 +115,7 @@
% \begin{abstract}\noindent
% \begin{enumerate}
% \item 本模板按照LaTeX Project Public License发布,协议版本号为1.3或以后的任何版本(随你意);
-% \item 截止本文档编译时,重庆大学教务处和研究生院只提供了\href{https://github.com/nanmu42/CQUThesis/tree/master/toolkit}{毕业论文写作指南},没有提供官方模板,也没有授权或认证任何第三方模板为官方模板\footnote{\href{http://jq.qq.com/?_wv=1027&k=2HvYu95}{重庆大学\TeX 用户组}正在推动学校\href{https://github.com/CQUtug/TeXProposal}{认证\cquthesis} 。}。本模板是按照写作指南的参考实现,模板作者自当尽力,但不保证审查老师不提意见。在开始使用前,您同意,任何由于本模板而引起的论文格式审查问题与本模板作者无关。
+% \item 截止本文档编译时,重庆大学教务处和研究生院只提供了\href{https://github.com/nanmu42/CQUThesis/tree/master/toolkit}{毕业论文写作指南},没有提供官方模板,也没有授权或认证任何第三方模板为官方模板\footnote{\href{http://jq.qq.com/?_wv=1027&k=2HvYu95}{重庆大学\TeX 用户组}做过推动学校\href{https://github.com/CQUtug/TeXProposal}{认证\cquthesis}的努力。}。本模板是按照写作指南的参考实现,模板作者自当尽力,但不保证审查老师不提意见。在开始使用前,您同意,任何由于本模板而引起的论文格式审查问题与本模板作者无关。
% \end{enumerate}
% \vskip2cm
% \end{abstract}
@@ -956,13 +956,15 @@
% \begin{macrocode}
\RequirePackage{fontspec}
\RequirePackage{amsmath}
+\RequirePackage{amssymb}
+\RequirePackage{amsfonts}
% \end{macrocode}
%
% 一些字体相关的宏包:
% \begin{macrocode}
\RequirePackage[defaultsups]{newtxtext}
\RequirePackage{pifont}
-\RequirePackage{CJKfntef}
+\RequirePackage{xeCJKfntef}
% \end{macrocode}
%
% 解决各种文档部件需求,如表格、题注、插图等
@@ -1538,18 +1540,19 @@
\renewcommand{\thesubtable}{(\alph{subtable})}
% \end{macrocode}
% \begin{macro}{\bicaption}
+% \changes{v1.50}{2020/06/23}{修改了双语图注的声明顺序,以适应新版\cs{bicaption}的变更。}
% 这里对\cs{bicaption}这个命令进行设置,题注的第二语言默认为英文,用户可以重定义\cs{shorttablenameEN}和\cs{shortfigurenameEN}
% \begin{macrocode}
-\captionsetup[bi-first]{bi-first}
-\captionsetup[bi-second]{bi-second}
\DeclareCaptionOption{bi-first}[]{%
\def\tablename{\shorttablename}
\def\figurename{\shortfigurename}
}%bi-first
\DeclareCaptionOption{bi-second}[]{%
- \def\tablename{\shorttablenameEN}
- \def\figurename{\shortfigurenameEN}
+\def\tablename{\shorttablenameEN}
+\def\figurename{\shortfigurenameEN}
}%bi-second
+\captionsetup[bi-first]{bi-first}
+\captionsetup[bi-second]{bi-second}
% \end{macrocode}
% \end{macro}
% \begin{macro}{\listoffiguresEN}
@@ -2515,4 +2518,4 @@ headsep=3mm]{geometry}
% \fi
%
% \Finale
-\endinput \ No newline at end of file
+\endinput