summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-12-31 20:37:48 +0000
committerKarl Berry <karl@freefriends.org>2022-12-31 20:37:48 +0000
commit74fd318e9b1ffca5a102c9a9922e3de890ce53ee (patch)
tree3dddb08e64ff3b771e01eadc714ed6170e111220
parent2467c10530e7cab29c557fa3e6660f6f432f87b3 (diff)
elegant* (31dec22)
git-svn-id: svn://tug.org/texlive/trunk@65414 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/elegantbook/README.md4
-rw-r--r--Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.pdfbin1282398 -> 1091144 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.tex89
-rw-r--r--Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.pdfbin1036571 -> 1041706 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.tex18
-rw-r--r--Master/texmf-dist/doc/latex/elegantbook/image/donate.jpgbin141078 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elegantnote/README.md5
-rw-r--r--Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.pdfbin334457 -> 338866 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.tex10
-rw-r--r--Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.pdfbin327565 -> 338284 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.tex16
-rw-r--r--Master/texmf-dist/doc/latex/elegantpaper/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.pdfbin240096 -> 242547 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.tex26
-rw-r--r--Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.pdfbin229100 -> 230027 bytes
-rw-r--r--Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.tex10
-rw-r--r--Master/texmf-dist/tex/latex/elegantbook/elegantbook.cls96
-rw-r--r--Master/texmf-dist/tex/latex/elegantnote/elegantnote.cls4
-rw-r--r--Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls5
19 files changed, 183 insertions, 102 deletions
diff --git a/Master/texmf-dist/doc/latex/elegantbook/README.md b/Master/texmf-dist/doc/latex/elegantbook/README.md
index 21f5b47132e..81a32d53408 100644
--- a/Master/texmf-dist/doc/latex/elegantbook/README.md
+++ b/Master/texmf-dist/doc/latex/elegantbook/README.md
@@ -14,6 +14,10 @@ ElegantBook 是为 LaTeX 书籍写作而设计的模板,由 [Ethan Deng](https
ElegantBook is designed for writing books, created by [Ethan Deng](https://github.com/EthanDeng) and [Liam Huang](https://github.com/Liam0205), and maintained by [Ethan Deng](https://github.com/EthanDeng), [syvshc](https://github.com/syvshc) and [sikouhjw](https://github.com/sikouhjw). Just enjoy it! If you have any questions, suggestions or bug reports, you can create issues or contact us at elegantlatex2e@gmail.com.
+**本模板自 2023 年 1 月 1 日开始,不再维护,不建议使用本系列模板!为了保证之前版本的用户仍然能查到说明文档,本说明文档仍然保留过去的信息。**
+
+**Caution: This template will no longer be maintained since January 1st, 2023.**
+
## 致谢 Acknowledgement
diff --git a/Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.pdf b/Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.pdf
index 785c9c733f6..28e8022c4c2 100644
--- a/Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.pdf
+++ b/Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.tex b/Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.tex
index 89f89bd2eb0..e289e77d378 100644
--- a/Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.tex
+++ b/Master/texmf-dist/doc/latex/elegantbook/elegantbook-cn.tex
@@ -1,15 +1,15 @@
-\documentclass[lang=cn,10pt,founder,newtx]{elegantbook}
+\documentclass[lang=cn,newtx,10pt,scheme=chinese]{elegantbook}
\title{ElegantBook:优美的 \LaTeX{} 书籍模板}
\subtitle{Elegant\LaTeX{} 经典之作}
-\author{Ethan Deng \& Liam Huang}
+\author{Ethan Deng \& Liam Huang \& syvshc \& sikouhjw \& Osbert Wang}
\institute{Elegant\LaTeX{} Program}
-\date{Aug 15, 2022}
-\version{4.4}
+\date{2022/12/31}
+\version{4.5}
\bioinfo{自定义}{信息}
-\extrainfo{要让一群人团结起来,需要的不是英明的领导,而是共同的敌人。—— 比企谷八幡}
+\extrainfo{注意:本模板自 2023 年 1 月 1 日开始,不再更新和维护!}
\setcounter{tocdepth}{3}
@@ -38,7 +38,12 @@
\chapter{Elegant\LaTeX{} 系列模板介绍}
-Elegant\LaTeX{} 项目组致力于打造一系列美观、优雅、简便的模板方便用户使用。目前由 \href{https://github.com/ElegantLaTeX/ElegantNote}{ElegantNote},\href{https://github.com/ElegantLaTeX/ElegantBook}{ElegantBook},\href{https://github.com/ElegantLaTeX/ElegantPaper}{ElegantPaper} 组成,分别用于排版笔记,书籍和工作论文。大版本改动较大,请关注版本信息,在未开始使用模板钱,建议直接选择最新正式版本!
+\begin{quotation}
+ \textbf{\textcolor{red}{本模板自 2023 年 1 月 1 日开始,不再维护,不建议使用本系列模板!为了保证之前版本的用户仍然能查到说明文档,本说明文档仍然保留过去的信息。}}
+\end{quotation}
+
+Elegant\LaTeX{} 项目组致力于打造一系列美观、优雅、简便的模板方便用户使用。目前由 \href{https://github.com/ElegantLaTeX/ElegantNote}{ElegantNote},\href{https://github.com/ElegantLaTeX/ElegantBook}{ElegantBook},\href{https://github.com/ElegantLaTeX/ElegantPaper}{ElegantPaper} 组成,分别用于排版笔记,书籍和工作论文。大版本改动较大,请关注版本信息,在未开始使用模板前,建议直接选择最新正式版本!
+
本文将介绍本模板的一些设置内容以及基本使用方法。如果您有其他问题,建议或者意见,欢迎在 GitHub 上给我们提交 \href{https://github.com/ElegantLaTeX/ElegantBook/issues}{issues} 或者邮件联系我们。我们的联系方式如下,建议加入用户 QQ 群提问,这样能更快获得准确的反馈,加群时请备注 \LaTeX{} 或者 Elegant\LaTeX{} 相关内容。
\begin{itemize}
@@ -46,17 +51,10 @@ Elegant\LaTeX{} 项目组致力于打造一系列美观、优雅、简便的模
\item GitHub 地址:\href{https://github.com/ElegantLaTeX/}{https://github.com/ElegantLaTeX/}
\item CTAN 地址:\href{https://ctan.org/pkg/elegantbook}{https://ctan.org/pkg/elegantbook}
\item 下载地址:\href{https://github.com/ElegantLaTeX/ElegantBook/releases}{正式发行版},\href{https://github.com/ElegantLaTeX/ElegantBook/archive/master.zip}{最新版}
- \item 微博:Elegant\LaTeX{}
- \item 微信公众号:Elegant\LaTeX{}
\item Bilibili:\href{https://space.bilibili.com/516479629}{ElegantLaTeX}
\item 用户 QQ 群:692108391
- \item 邮件:\email{elegantlatex2e@gmail.com}
\end{itemize}
-\begin{quotation}
- \textbf{注意:} 由于 ElegantLaTeX 的模板涉及宏包和设定比较多,不建议没有 \LaTeX{} 基础的用户使用。我们会通过 \href{https://space.bilibili.com/516479629}{B 站}进行直播或者交流分享会,录屏也将发布在该账户下,如果大家在模板的使用上有问题,可以观看视频、加群咨询或者查看模板自带的文档说明(如果安装了 TeX Live,可以使用在命令行提示符下运行 \lstinline{texdoc elegantbook} 命令获得模板的说明文档。
-\end{quotation}
-
\section{模板安装与更新}
@@ -96,20 +94,6 @@ tlmgr update --self --all --reinstall-forcibly-removed
由于宏包版本问题,本模板不支持 C\TeX{} 套装,请务必安装 TeX Live/Mac\TeX{}。更多关于 \TeX{} Live 的安装使用以及 C\TeX{} 与 \TeX{} Live 的兼容、系统路径问题,请参考官方文档以及啸行的\href{https://github.com/OsbertWang/install-latex-guide-zh-cn/releases/}{一份简短的关于安装 \LaTeX{} 安装的介绍}。
-\section{关于提交}
-
-由于精力有限,本人维护模板的时间并不多,考虑到模板的用户还挺多,本模板自 2022 年 8 月开始,开放特性提交(features pull requests)!不过在提交之前,请务必在 issue 区将问题、解决方式以及对应的示例(最简单的使用示例)写清楚,我们会根据 issue 的信息,接受合适的提交。
-
-
-\section{赞助}
-
-如果您非常喜爱我们的模板,你还可以选择赞助的方式支持这个项目,赞助主要用于网站域名和服务器的购买、QQ 用户群的维护以及对于管理员的奖励。赞赏费用的使用解释权归 ElegantLaTeX/EthanDeng 所有,不接受监督。
-
-\begin{figure}[htbp]
- \centering
- \includegraphics[width=0.5\textwidth]{donate.jpg}
-\end{figure}
-
\chapter{ElegantBook 设置说明}
@@ -446,24 +430,36 @@ tlmgr update --self --all --reinstall-forcibly-removed
\documentclass[thmcnt=section]{elegantbook}
\end{lstlisting}
+如果希望全局的定理类环境使用同一个计数器,可以使用文档类选项 \lstinline{usesamecnt}:
+
+\begin{lstlisting}
+ \documentclass[usesamecnt]{elegantbook}
+\end{lstlisting}
+
\subsection{自定义定理类环境}
4.4 版本新增了一个自定义定理类环境的命令:\lstinline|\elegantnewtheorem|,它的参数含义如下:
\begin{lstlisting}
% fancy 模式(默认)
-\elegantnewtheorem{env}{title}{style}{prefix}
+\elegantnewtheorem{env}{title}{style}{prefix}[numbered-like]
% simple 模式
-\elegantnewtheorem{env}{title}{style}
+\elegantnewtheorem{env}{title}{style}[numbered-like]
\end{lstlisting}
该命令可以同时定义编号环境 \lstinline|env| 和不编号环境 \lstinline|env*|。
其中 \lstinline|style| 支持的参数有:\lstinline|defstyle|,\lstinline|thmstyle|,\lstinline|prostyle|,分别对应“定义”,“定理”,“命题”三种样式。
+如果添加了可选参数 \lstinline{numbered-like},将会使该定理类环境与名为 \lstinline{numbered-like} 的定理类环境使用同一计数器。\textbf{注意}:该参数在使用 \lstinline{usesamecnt} 选项时不起作用,并且会在终端以及 \lstinline{.log} 文件中输出一个警告,来提示用户该选项不起作用:
+
+\begin{lstlisting}
+ [numbered-like] won't make sence with option
+ `usesamecnt'.
+\end{lstlisting}
\begin{itemize}
- \item 在炫彩模式(\lstinline{fancy})下,需要 4 个参数来定义一个新的定理类环境,分别是:
- 定理类环境名,定理类环境的标题,定理类环境的样式,该定理类环境的前缀:
+ \item 在炫彩模式(\lstinline{fancy})下,需要 5 个参数来定义一个新的定理类环境,分别是:
+ 定理类环境名,定理类环境的标题,定理类环境的样式,该定理类环境的前缀,(可选)该定理类环境继承的定理类环境:
\begin{lstlisting}
% 导言区
@@ -501,8 +497,8 @@ Class elegantbook Warning: Because you didn't provide a prefix.
(elegantbook) on input line 3.
\end{lstlisting}
- \item 在简单模式(\lstinline{simple})下,需要 3 个参数来定义一个新的定理类环境,分别是:
- 定理类环境名,定理类环境的标题,定理类环境的样式,该定理类环境的前缀:
+ \item 在简单模式(\lstinline{simple})下,需要 4 个参数来定义一个新的定理类环境,分别是:
+ 定理类环境名,定理类环境的标题,定理类环境的样式,该定理类环境的前缀,(可选)该定理类环境继承的定理类环境:
\begin{lstlisting}
% 导言区
\elegantnewtheorem{examplesimple}{自定义定理类环境}{thmstyle}
@@ -582,7 +578,7 @@ Class elegantbook Warning: Because you didn't provide a prefix.
之前我们将文献调用的命令放在模板里面,然后用户反馈 \lstinline{\cite} 命令无法自动补全,因此我们新版本将其拿到外面来,新版本打印参考文献的命令的方法是,在导言区(也即 \lstinline|\begin{document}| 之前),加入:
\begin{lstlisting}
- \lstinline|\addbibresource[location=local]{reference.bib}|。
+ \addbibresource[location=local]{reference.bib}
\end{lstlisting}
然后再需要打印文献的地方使用:
@@ -610,12 +606,15 @@ Class elegantbook Warning: Because you didn't provide a prefix.
\documentclass[citestyle=gb7714-2015, bibstyle=gb7714-2015]{elegantbook}
\end{lstlisting}
-如果需要添加排序方式,可以在导言区加入下面命令:
+在使用
\begin{lstlisting}
- \ExecuteBibliographyOptions{sorting=ynt}
+ \documentclass[citestyle=gb7714-2015, bibstyle=gb7714-2015]{elegantbook}
\end{lstlisting}
-
-如果使用的是国标,可以将 \lstinline{ynt} 改为 \lstinline{gb7714-2015},使文献按照国标规定进行文献排序。
+后,排序方式为按引用先后排序。如果不使用国标 GB7714-2015 并且需要添加排序方式,可以在导言区加入下面命令:
+\begin{lstlisting}
+ \ExecuteBibliographyOptions{sorting=<name>}
+\end{lstlisting}
+其中 \lstinline{<name>} 可以是 nty, nyt, nyvt, anyt, anyvt, ynt, ydnt, none, count, debug 的其中之一,更多排序相关请参考 biblatex 宏包手册的 3.1.2.1 节。
\section{添加序章}
@@ -896,8 +895,6 @@ Lebesgue 积分有几种不同的定义方式。我们将采用逐步定义非
(2)若 $f(x,y)$ 是 $\mathcal{R}^p\times\mathcal{R}^q$ 上的可积函数,则对几乎处处的 $x\in\mathcal{R}^p$,$f(x,y)$ 作为 $y$ 的函数是 $\mathcal{R}^q$ 上的可积函数,并且 $g(x)=\int_{\mathcal{R}^q}f(x,y) dy$ 是 $\mathcal{R}^p$ 上的可积函数。而且~\eqref{eq:461} 成立。
\end{theorem}
-\ref{thm:fubi}
-
\begin{note}
在本模板中,引理(lemma),推论(corollary)的样式和定理~\ref{thm:fubi} 的样式一致,包括颜色,仅仅只有计数器的设置不一样。
\end{note}
@@ -927,7 +924,7 @@ Lebesgue 积分有几种不同的定义方式。我们将采用逐步定义非
\end{property}
\begin{conclusion}
-回归分析(regression analysis) 是确定两种或两种以上变量间相互依赖的定量关系的一种统计分析方法。运用十分广泛,回归分析按照涉及的变量的多少,分为一元回归和多元回归分析;按照因变量的多少,可分为简单回归分析和多重回归分析;按照自变量和因变量之间的关系类型,可分为线性回归分析和非线性回归分析。
+回归分析(regression analysis) 是确定两种或两种以上变量间相互依赖的定量关系的一种统计分析方法。运用十分广泛,回归分析按照涉及的变量的多少,分为一元回归和多元回归分析;按照因变量的多少,可分为简单回归分析和多重回归分析;按照自变量和因变量之间的关系类型,可分为线性回归分析和非线性回归分析。
\end{conclusion}
\begin{problemset}
@@ -965,6 +962,14 @@ Lebesgue 积分有几种不同的定义方式。我们将采用逐步定义非
根据用户的反馈,我们不断修正和完善模板。由于 3.00 之前版本与现在版本差异非常大,在此不列出 3.00 之前的更新内容。
+\datechange{2022/12/31}{版本 4.5} \textcolor{red}{\bfseries 停止维护!}
+
+\datechange{2022/08/17}{版本 4.5 pre}
+\begin{change}
+ \item \textbf{重要改动}:提供了一个新的文档类选项 \lstinline|usesamecnt|,可以使全局的定理类环境使用同一个计数器。
+ \item \textbf{重要改动}:修改了 \lstinline|\elegantnewtheorem| 命令,使其有第五个(可选)参数。
+\end{change}
+
\datechange{2022/08/15}{版本 4.4 正式发布。}
\begin{change}
@@ -973,7 +978,7 @@ Lebesgue 积分有几种不同的定义方式。我们将采用逐步定义非
\item \textbf{重要改动}:在 \lstinline{scheme=chinese} 下将目录中的“第 1 章”修改为“第一章”;
\item 将 TeX Gyre Termes 改为 TeX Gyre TermesX,使英文部分字形与 newtx 系列宏包更相近;
\item 重写了内置定理类环境的实现方法,修复了一些 bug,由于修改部分较大,如果引入了新的 bug,请及时在 QQ 群或 \href{https://github.com/ElegantLaTeX}{Github} 上进行反馈;
- \item 删除 Gitee 仓库地址,恢复 GitHub 提交(pull requests);
+ \item 删除 Gitee 仓库地址,恢复 GitHub 提交(pull requests);
\item 将参考文献命令添加到导言区,使编辑器能够对参考文献自动补全。
\end{change}
diff --git a/Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.pdf b/Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.pdf
index 42be810cd68..1c2fcfdeb5d 100644
--- a/Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.pdf
+++ b/Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.tex b/Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.tex
index ee46a40015c..c581abc9fe4 100644
--- a/Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.tex
+++ b/Master/texmf-dist/doc/latex/elegantbook/elegantbook-en.tex
@@ -3,13 +3,13 @@
\title{An Elegant \LaTeX{} Template for Books}
\subtitle{Classic Elegant\LaTeX{} Template}
-\author{Ethan Deng \& Liam Huang}
+\author{Ethan Deng, Liam Huang, syvshc, sikouhjw \& Osbert Wang}
\institute{Elegant\LaTeX{} Program}
-\date{Aug 15, 2022}
-\version{4.4}
+\date{Dec. 31, 2022}
+\version{4.5}
\bioinfo{Bio}{Information}
-\extrainfo{Victory won\rq t come to us unless we go to it. }
+\extrainfo{\textcolor{red}{\bfseries Caution: This template will no longer be maintained since January 1st, 2023.}}
\logo{logo-blue.png}
\cover{cover.jpg}
@@ -643,7 +643,7 @@ and expand the ones already used\index{keywords!used}.
$R^2$ & 0.220 & 0.293 \\
\bottomrule
\multicolumn{3}{l}{\scriptsize Standard errors in parentheses} \\
- \multicolumn{3}{l}{\scriptsize *** p<0.01, ** p<0.05, * p<0.1} \\
+ \multicolumn{3}{l}{\scriptsize *** $p < 0.01$, ** $p<0.05$, * $p<0.1$} \\
\end{tabular}%
\end{table}%
@@ -692,6 +692,14 @@ We list some FAQs for users to refer to:
We revised our templates now and then. This section shows the version story of ElegantBook.
+\datechange{2022/12/31}{release of v4.5.} \textcolor{red}{\bfseries Stop Maintenance}
+
+\begin{change}
+ \item Add new document option \lstinline|usesamecnt| for same thm counter for all theme environments;
+ \item Add 5-th optional parameter for \lstinline|elegantnewtheorem|.
+\end{change}
+
+
\datechange{2022/08/15}{release of v4.4.}
\begin{change}
diff --git a/Master/texmf-dist/doc/latex/elegantbook/image/donate.jpg b/Master/texmf-dist/doc/latex/elegantbook/image/donate.jpg
deleted file mode 100644
index 60741efcdee..00000000000
--- a/Master/texmf-dist/doc/latex/elegantbook/image/donate.jpg
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elegantnote/README.md b/Master/texmf-dist/doc/latex/elegantnote/README.md
index fafe84ce6c9..aa93fc8eb21 100644
--- a/Master/texmf-dist/doc/latex/elegantnote/README.md
+++ b/Master/texmf-dist/doc/latex/elegantnote/README.md
@@ -14,6 +14,11 @@ ElegantNote is designed for Notes. Just enjoy it! If you have any questions, sug
设计 ElegantNote 是为了方便记录笔记和阅读笔记。如果你有其他问题、建议或者报告 bug,可以提交 issues 或者给我们发邮件:elegantlatex2e@gmail.com。最近我们新建了一个 QQ 用户交流群(Q 群:692108391),欢迎加入。
+
+**Caution: This template will no longer be maintained since January 1st, 2023.**
+
+**注意:本模板自 2023 年 1 月 1 日开始,不再维护,不建议使用本系列模板!**
+
# License
This work is released under the LaTeX Project Public License, v1.3c or later.
diff --git a/Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.pdf b/Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.pdf
index 0270e665cee..8bf22577917 100644
--- a/Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.pdf
+++ b/Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.tex b/Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.tex
index e36b2036055..92f891971ca 100644
--- a/Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.tex
+++ b/Master/texmf-dist/doc/latex/elegantnote/elegantnote-cn.tex
@@ -2,11 +2,11 @@
\documentclass[cn,hazy,blue,14pt,screen]{elegantnote}
\title{ElegantNote:一个优美的 \LaTeX{} 笔记模板}
-\author{邓东升}
+\author{作者}
\institute{Elegant\LaTeX{} Program}
-\version{2.40}
-\date{\zhtoday}
+\version{2.50}
+\date{\zhdate{2022/12/31}}
\usepackage{array}
@@ -20,6 +20,8 @@
\section{ElegantNote 使用说明}
+\textbf{\textcolor{red}{本模板自 2023 年 1 月 1 日开始,不再维护,不建议使用本系列模板!为了保证之前版本的用户仍然能查到说明文档,本说明文档仍然保留过去的信息。}}
+
新版 ElegantNote 是基于标准的 \LaTeX{} 文类 article 重新设计的,格式更加简化的笔记模板!本模板支持两种编译方式,\hologo{pdfLaTeX} 和 \hologo{XeLaTeX},英文模式下请使用 \hologo{pdfLaTeX} 进行编译,中文模式下务必使用 \hologo{XeLaTeX}。
新模板有下面几个特性:
@@ -231,7 +233,7 @@ Let $z$ be some element of $xH \cap yH$. Then $z = xa$ for some $a \in H$, and
\section{致谢}
-特别感谢 \href{https://github.com/sikouhjw}{sikouhjw} 和 \href{https://github.com/syvshc}{syvshc} 长期以来对于 Github 上 issue 的快速回应,以及各个社区论坛对于 ElegantLaTeX 相关问题的回复。特别感谢 ChinaTeX 以及 \href{http://www.latexstudio.net/}{LaTeX 工作室} 对于本系列模板的大力宣传与推广。
+特别感谢 \href{https://github.com/sikouhjw}{sikouhjw} 和 \href{https://github.com/syvshc}{syvshc} 长期以来对于 Github 上 issue 的快速回应,以及各个社区论坛对于 Elegant\LaTeX{} 相关问题的回复。特别感谢 China\TeX{} 以及 \href{http://www.latexstudio.net/}{\LaTeX{} 工作室} 对于本系列模板的宣传与推广。
如果你喜欢我们的模板,你可以在 Github 上收藏我们的模板。
diff --git a/Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.pdf b/Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.pdf
index 271eeeeecf7..7f5f18c5f4b 100644
--- a/Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.pdf
+++ b/Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.tex b/Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.tex
index 3da57d2b29f..8b61d99b158 100644
--- a/Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.tex
+++ b/Master/texmf-dist/doc/latex/elegantnote/elegantnote-en.tex
@@ -1,12 +1,12 @@
-\documentclass[en,hazy,screen,blue,14pt]{elegantnote}
+\documentclass[en,hazy,blue,screen,14pt]{elegantnote}
\title{ElegantNote: An Elegant \LaTeX{} Template for Notes}
-\author{Dongsheng Deng}
+\author{Author}
\institute{Elegant\LaTeX{} Program}
-\version{2.40}
-\date{\today}
+\version{2.50}
+\date{Dec. 31, 2022}
\begin{document}
\maketitle
@@ -15,8 +15,12 @@
\section{ElegantNote Instructions}
\thispagestyle{empty}
+\textcolor{red}{\bfseries Caution: This template will no longer be maintained since January 1st, 2023.}
+
+
The brand new ElegantNote is redesigned on the basis of \LaTeX{} article, a more elegant note template! You can use either \hologo{pdfLaTeX} or \hologo{XeLaTeX} to compile. It is recommended that \hologo{pdfLaTeX} be used for notes in English while \hologo{XeLaTeX} be used for notes in Chinese.
+
The new template has the following features:
\begin{itemize}
\item two modes: good for eye mode (geye) and hazy mode;
@@ -188,7 +192,7 @@ Let's continue using our application training example. In this case, we'd want t
$R^2$ & 0.220 & 0.293 \\
\bottomrule
\multicolumn{3}{l}{\scriptsize Standard errors in parentheses} \\
- \multicolumn{3}{l}{\scriptsize *** p<0.01, ** p<0.05, * p<0.1} \\
+ \multicolumn{3}{l}{\scriptsize *** $p<0.01$, ** $p<0.05$, * $p<0.1$} \\
\end{tabular}%
\end{table}%
@@ -206,7 +210,7 @@ Let's continue using our application training example. In this case, we'd want t
\section{Acknowledgement}
-Thank \href{https://github.com/sikouhjw}{sikouhjw} and \href{https://github.com/syvshc}{syvshc} for their quick response to Github issues and continuously support work for ElegantLaTeX. Thank ChinaTeX and \href{http://www.latexstudio.net/}{LaTeX Studio} for their promotion.
+Thank \href{https://github.com/sikouhjw}{sikouhjw} and \href{https://github.com/syvshc}{syvshc} for their quick response to Github issues and continuously support work for Elegant\LaTeX{}. Thank China\TeX{} and \href{http://www.latexstudio.net/}{LaTeX Studio} for their promotion.
\section{FAQ}
diff --git a/Master/texmf-dist/doc/latex/elegantpaper/README.md b/Master/texmf-dist/doc/latex/elegantpaper/README.md
index c3a0fb2ce83..75e2f843201 100644
--- a/Master/texmf-dist/doc/latex/elegantpaper/README.md
+++ b/Master/texmf-dist/doc/latex/elegantpaper/README.md
@@ -10,7 +10,9 @@
![Github Version](https://img.shields.io/github/release/ElegantLaTeX/ElegantPaper.svg)
![Repo Size](https://img.shields.io/github/repo-size/ElegantLaTeX/ElegantPaper.svg)
+**Caution: This template will no longer be maintained since January 1st, 2023.**
+**注意:本模板自 2023 年 1 月 1 日开始,不再维护,不建议使用本系列模板!**
ElegantPaper is designed for writing a working paper, especially for economics students. This template is based on the standard LaTeX article class. The goal of this template is to make the writing process easier and more comfortable. You can get rid of all the worries about the format. Just enjoy it! If you have any questions, suggestions or bug reports, you can create issues or email us at elegantlatex2e@gmail.com.
diff --git a/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.pdf b/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.pdf
index 3a33a72b392..9eed5768e23 100644
--- a/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.pdf
+++ b/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.tex b/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.tex
index c858cf7a248..feb0beba62e 100644
--- a/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.tex
+++ b/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-cn.tex
@@ -1,18 +1,18 @@
%!TEX program = xelatex
% 完整编译: xelatex -> biber/bibtex -> xelatex -> xelatex
-\documentclass[lang=cn,11pt,a4paper]{elegantpaper}
+\documentclass[lang=cn,a4paper,newtx]{elegantpaper}
\title{ElegantPaper: 一个优美的 \LaTeX{} 工作论文模板}
-\author{Ethan DENG \\ Fudan University \and Dongsheng DENG \\ PA Technology}
+\author{作者1 \\ 某某大学/机构 \and 作者2 \\ 某某大学/机构}
\institute{\href{https://elegantlatex.org/}{Elegant\LaTeX{} 项目组}}
-\version{0.10}
-\date{\zhtoday}
-
+\version{0.11}
+\date{\zhdate{2022/12/31}}
% 本文档命令
\usepackage{array}
\newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}}
+\addbibresource[location=local]{reference.bib} % 参考文献,不要删除
\begin{document}
@@ -23,16 +23,14 @@
\keywords{Elegant\LaTeX{},工作论文,模板}
\end{abstract}
-
\section{模板使用须知}
-\subsection{注意事项}
+\textcolor{red}{\bfseries 本模板自 2023 年 1 月 1 日开始,不再维护,不建议使用本系列模板!为了保证之前版本的用户仍然能查到说明文档,本说明文档仍然保留过去的信息。}
-时隔两年,本模板迎来更新,中间发生了很多变化,两个主要变化是参考文献与字体设定,\textbf{使用前请务必仔细阅读本文档}。
-
-\textbf{文献部分}:我们将 bibtex 的默认文献编译方式改为 biblatex,不过我们也提供了两个后端,\lstinline{bibend=biber} 和 \lstinline{bibend=bibtex}。特别需要注意的是,从 0.10 开始,文献文件改为 \lstinline{reference.bib},与 ElegantBook 保持一致,而参考文献的引文样式等更多格式,请参考后文参考文献部分,更多样式可以参考 biblatex 文档。
+\subsection{注意事项}
+\textbf{文献部分}:我们将 bibtex 的默认文献编译方式改为 biblatex,不过我们也提供了两个后端,\lstinline{bibend=biber} 和 \lstinline{bibend=bibtex}。特别需要注意的是从 0.10 开始,文献文件改为 \lstinline{reference.bib},与 ElegantBook 保持一致,而参考文献的引文样式等更多格式,请参考后文参考文献部分,更多样式可以参考 biblatex 文档。
-\textbf{字体部分},我们将 newtxtext 宏包的支持方式改为了字体名称设定方式,设定英文字体为 TeX Gyre Terms/Heros,,英文字体部分,根据编译方式选择不同字体。对于一般用户而言,不太需要关心这部分内容。
+\textbf{字体部分},我们将 newtxtext 宏包的支持方式改为了字体名称设定方式,设定英文字体为 TeX Gyre Terms/Heros,英文字体部分,根据编译方式选择不同字体。对于一般用户而言,不太需要关心这部分内容。
另外,中文请务必使用 \hologo{XeLaTeX} 编译。
@@ -51,7 +49,7 @@
此模板定义了一个语言选项 \lstinline{lang},可以选择英文模式 \lstinline{lang=en}(默认)或者中文模式 \lstinline{lang=cn}。当选择中文模式时,图表的标题引导词以及参考文献,定理引导词等信息会变成中文。你可以通过下面两种方式来选择语言模式:
\begin{lstlisting}
\documentclass[lang=cn]{elegantpaper} % or
-\documentclass{cn}{elegantpaper}
+\documentclass[cn]{elegantpaper}
\end{lstlisting}
\textbf{注意:} 英文模式下,由于没有添加中文宏包,无法输入中文。如果需要输入中文,可以通过在导言区引入中文宏包 \lstinline{ctex} 或者加入 \lstinline{xeCJK} 宏包后自行设置字体。
@@ -104,9 +102,9 @@
\subsection{自定义命令}
-此模板并没有修改任何默认的 \LaTeX{} 命令或者环境\footnote{目的是保证代码的可复用性,请用户关注内容,不要太在意格式,这才是本工作论文模板的意义。}。另外,我自定义了 4 个命令:
+此模板并没有修改任何默认的 \LaTeX{} 命令或者环境\footnote{目的是保证代码的可复用性,请用户关注内容,不要太在意格式,这才是本工作论文模板的意义。}。另外,本模板可以使用的 4 个额外命令:
\begin{enumerate}
- \item \lstinline{\email}:创建邮箱地址的链接,比如 \email{ddswhu@outlook.com};
+ \item \lstinline{\email}:创建邮箱地址的链接,比如 \email{xxx@outlook.com};
\item \lstinline{\figref}:用法和 \lstinline{\ref} 类似,但是会在插图的标题前添加 <\textbf{图 n}> ;
\item \lstinline{\tabref}:用法和 \lstinline{\ref} 类似,但是会在表格的标题前添加 <\textbf{表 n}>;
\item \lstinline{\keywords}:为摘要环境添加关键词。
diff --git a/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.pdf b/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.pdf
index 6da08d73256..89d191200fa 100644
--- a/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.pdf
+++ b/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.tex b/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.tex
index 73499dc51b1..7126f038700 100644
--- a/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.tex
+++ b/Master/texmf-dist/doc/latex/elegantpaper/elegantpaper-en.tex
@@ -3,16 +3,17 @@
\documentclass[11pt,en]{elegantpaper}
\title{ElegantPaper: An Elegant \LaTeX{} Template for Working Papers}
-\author{Ethan DENG \\ Fudan University \and Dongsheng DENG \\ PA Technology}
+\author{Author1 \\ Institute1 \and Author2 \\ Institute2}
\institute{\href{https://github.com/ElegantLaTeX}{Elegant\LaTeX{} Program}}
-\version{0.10}
-\date{\today}
+\version{0.11}
+\date{Dec. 31, 2022}
% cmd for this doc
\usepackage{array}
\newcommand{\ccr}[1]{\makecell{{\color{#1}\rule{1cm}{1cm}}}}
+\addbibresource[location=local]{reference.bib} % reference file
\begin{document}
\maketitle
@@ -22,6 +23,7 @@ This documentation illustrates the usage of the \href{https://github.com/Elegant
\keywords{Elegant\LaTeX{}, Working Paper, Template}
\end{abstract}
+\textcolor{red}{\bfseries Caution: This template will no longer be maintained since January 1st, 2023.}
\section*{Update Notes}
@@ -44,7 +46,7 @@ This template is based on the standard \LaTeX{} article class, hence the argumen
Language mode option \lstinline{lang} allows two alternative inputs, \lstinline{lang=en} (default) for English or \lstinline{lang=cn} for Chinese. \lstinline{lang=cn} will make the caption of figure/table, abstract name, refname etc. Chinese. You can use this option as
\begin{lstlisting}
\documentclass[lang=cn]{elegantpaper} % or
-\documentclass{cn}{elegantpaper}
+\documentclass[cn]{elegantpaper}
\end{lstlisting}
\textbf{Note:} Under the English mode \lstinline{lang=en}, Chinese characters are not allowed. To type in Chinese, please load \lstinline{ctex} or \lstinline{xeCJK} package at the preamble as:
\begin{lstlisting}
diff --git a/Master/texmf-dist/tex/latex/elegantbook/elegantbook.cls b/Master/texmf-dist/tex/latex/elegantbook/elegantbook.cls
index 93f4dd99190..4fb3e3d93a7 100644
--- a/Master/texmf-dist/tex/latex/elegantbook/elegantbook.cls
+++ b/Master/texmf-dist/tex/latex/elegantbook/elegantbook.cls
@@ -8,7 +8,7 @@
%%%%%%%%%%%%%%%%%%%%%
% % !Mode:: "TeX:UTF-8"
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{elegantbook}[2022/04/09 v4.3 ElegantBook document class]
+\ProvidesClass{elegantbook}[2022/12/31 v4.5 ElegantBook document class]
%%%
@@ -16,7 +16,6 @@
\RequirePackage{etoolbox}
\SetupKeyvalOptions{family=ELEGANT, prefix=ELEGANT@, setkeys=\kvsetkeys}
\newcommand{\ekv}[1]{\kvsetkeys{ELEGANT}{#1}}
-
% ----- Colors -----
\DeclareStringOption[blue]{color}
\DeclareStringOption[en]{lang}
@@ -56,6 +55,7 @@
\DeclareVoidOption{fancy}{\ekv{mode=fancy}}
\DeclareVoidOption{simple}{\ekv{mode=simple}}
+\DeclareBoolOption[false]{usesamecnt}
\DeclareVoidOption{answer}{\ekv{result=answer}}
\DeclareVoidOption{noanswer}{\ekv{result=noanswer}}
@@ -895,6 +895,19 @@
\RequirePackage[many]{tcolorbox}
% \newlength{\normalparindent}
% \setlength{\normalparindent}{\parindent}
+\newcommand{\ELEGANT@tmp@tl}{}
+\ifELEGANT@usesamecnt
+ \newcounter{ELEGANT@samecnt}
+ \counterwithin{ELEGANT@samecnt}{\ELEGANT@thmcnt}
+ \tcbset{
+ new/usesamecnt/.style = {use counter = ELEGANT@samecnt}
+ }
+\else
+ \tcbset{
+ new/usesamecnt/.style = {}
+ }
+\fi
+
\ifdefstring{\ELEGANT@mode}{fancy}{
\tcbset{
common/.style={
@@ -944,9 +957,16 @@
\textcolor{third}{$\spadesuit$}};}},
ELEGANT@title/.code n args={2}
{
- \ifblank{#2}
- {\tcbset{title={\csname #1name\endcsname~\thetcbcounter}}}
- {\tcbset{title={\csname #1name\endcsname~\thetcbcounter\ (#2)}}}
+
+ \tcbset
+ {
+ title=
+ {
+ \csname #1name\endcsname~%
+ \ifdef{\thetcbcounter}{\thetcbcounter}{}%
+ \ifblank{#2}{}{\ (#2)}
+ }
+ }
},
ELEGANT@label/.code n args={2}
{
@@ -962,14 +982,23 @@
% will define two environments: numbered ``theorem'' and no-numbered ``theorem*''
% WARNING FOR MULTILINGUAL: this cs will automatically find \theoremname's definition,
% WARNING FOR MULTILINGUAL: it should be defined in language settings.
- \newcommand{\ELEGANT@newtheorem}[3]{
+ \NewDocumentCommand \ELEGANT@newtheorem { m m m O{} }{
\ifcsundef{#1name}{%
\ClassError{elegantbook}{%
\ #1name undefined, \MessageBreak
Please check in language setting
}{}
}{\relax}
- \DeclareTColorBox[auto counter,number within=\ELEGANT@thmcnt]{#1}{ g o t\label g }{
+ \expandafter\ifblank\expandafter{#4}{
+ \tcbset{
+ new/usecnt/.style={}
+ }
+ }{
+ \tcbset{
+ new/usecnt/.style= {use counter from = #4}
+ }
+ }
+ \DeclareTColorBox[auto counter,number within=\ELEGANT@thmcnt,usesamecnt,usecnt]{#1}{ g o t\label g }{
common,#3,
IfValueTF={##1}
{ELEGANT@title={#1}{##1}}
@@ -998,8 +1027,8 @@
}
% define several environment
% we define headers like \definitionname before
- \ELEGANT@newtheorem{definition}{def}{defstyle}
\ELEGANT@newtheorem{theorem}{thm}{thmstyle}
+ \ELEGANT@newtheorem{definition}{def}{defstyle}
\ELEGANT@newtheorem{postulate}{pos}{thmstyle}
\ELEGANT@newtheorem{axiom}{axi}{thmstyle}
\ELEGANT@newtheorem{corollary}{cor}{thmstyle}
@@ -1030,16 +1059,24 @@
% will define two environments: numbered ``theorem'' and no-numbered ``theorem*''
% WARNING FOR MULTILINGUAL: this cs will automatically find \theoremname's definition,
% WARNING FOR MULTILINGUAL: it should be defined in language settings.
- \newcommand{\ELEGANT@newtheorem}[2]{
+ \NewDocumentCommand \ELEGANT@newtheorem { m m O{} } {
\theoremstyle{#2}
- \newtheorem{#1}{\csname #1name\endcsname}[\ELEGANT@thmcnt]
+ \ifELEGANT@usesamecnt
+ \newtheorem{#1}[ELEGANT@samecnt]{\csname #1name\endcsname}
+ \else
+ \ifblank{#3}{
+ \newtheorem{#1}{\csname #1name\endcsname}[\ELEGANT@thmcnt]
+ }{
+ \newtheorem{#1}[#3]{\csname #1name\endcsname}
+ }
+ \fi
\newtheorem*{#1*}{\csname #1name\endcsname}
}
% define several environment
% we define headers like \definitionname before
- \ELEGANT@newtheorem{definition}{defstyle}
\ELEGANT@newtheorem{theorem}{thmstyle}
+ \ELEGANT@newtheorem{definition}{defstyle}
\ELEGANT@newtheorem{postulate}{thmstyle}
\ELEGANT@newtheorem{axiom}{thmstyle}
\ELEGANT@newtheorem{corollary}{thmstyle}
@@ -1056,12 +1093,19 @@
% and a warning will be raised
\newcommand{\ELEGANT@newtheorem@warning}{}
\newcommand{\ELEGANT@newtheorem@error}{}
-\NewDocumentCommand\elegantnewtheorem{ m m m g }
+\newcommand{\ELEGANT@usesamecnt@warning}{}
+\NewDocumentCommand\elegantnewtheorem{ m m m g O{} }
{
+ \renewcommand{\ELEGANT@usesamecnt@warning}{
+ \ClassWarning{elegantbook}{%
+ [#5] won't make sence with option \MessageBreak
+ `usesamecnt'.
+ }
+ }
\renewcommand{\ELEGANT@newtheorem@warning}{
\ClassWarning{elegantbook}{%
- Because you didn't provide a prefix. \MessageBreak
- We use #1 as the default prefix. \MessageBreak
+ Because you didn't provide a prefix, \MessageBreak
+ we use #1 as the default prefix. \MessageBreak
You have to use \MessageBreak
\ref{#1:label} to refer a \MessageBreak
\begin{#1}{name}{label} environment. \MessageBreak
@@ -1078,11 +1122,16 @@
The 4th parameter ``prefix'' isn't allowed.
}
}
+ \ifELEGANT@usesamecnt
+ \ifblank{#5}{}{\ELEGANT@usesamecnt@warning}
+ \else
+ \renewcommand{\ELEGANT@tmp@tl}{#5}
+ \fi
\expandafter\def\csname #1name\endcsname{#2}
\ifdefstring{\ELEGANT@mode}{simple}{%
\IfValueTF{#4}
{\ELEGANT@newtheorem@error}
- {\ELEGANT@newtheorem{#1}{#3}}
+ {\ELEGANT@newtheorem{#1}{#3}[\ELEGANT@tmp@tl]}
}{\relax}
\ifdefstring{\ELEGANT@mode}{fancy}{%
\IfValueTF{#4}
@@ -1090,13 +1139,13 @@
\def\ELEGANT@temp@prefix{#4}
\ifdefempty{\ELEGANT@temp@prefix}
{
- \ELEGANT@newtheorem{#1}{#1}{#3}
+ \ELEGANT@newtheorem{#1}{#1}{#3}[\ELEGANT@tmp@tl]
\ELEGANT@newtheorem@warning
}
- {\ELEGANT@newtheorem{#1}{#4}{#3}}
+ {\ELEGANT@newtheorem{#1}{#4}{#3}[\ELEGANT@tmp@tl]}
}
{
- \ELEGANT@newtheorem{#1}{#1}{#3}
+ \ELEGANT@newtheorem{#1}{#1}{#3}[\ELEGANT@tmp@tl]
\ELEGANT@newtheorem@warning
}
}{\relax}
@@ -1321,9 +1370,9 @@
breaklines=true,
keywordstyle=\color{winered},
commentstyle=\color{gray},
- emph={elegantpaper,fontenc,fontspec,xeCJK,citestyle,FiraMono,xunicode,figure,fig,image,img,table,itemize,enumerate,ctex,microtype,description,times,booktabs,tabular,PDFLaTeX,XeLaTeX,type1cm,BibTeX,device,color,mode,lang,amsthm,tcolorbox,titlestyle,cite,ctex,listings,base,math,scheme,toc,esint,chinesefont,amsmath,bibstyle,natbib,pgfornament},
+ emph={elegantpaper,fontenc,fontspec,xeCJK,citestyle,FiraMono,xunicode,figure,fig,image,img,table,itemize,enumerate,ctex,microtype,description,times,booktabs,tabular,PDFLaTeX,XeLaTeX,type1cm,BibTeX,device,color,mode,lang,amsthm,tcolorbox,titlestyle,cite,ctex,listings,base,math,scheme,toc,esint,chinesefont,amsmath,bibstyle,natbib,pgfornament,addbibresource,printbibliography},
emphstyle={\color{frenchplum}},
- morekeywords={DeclareSymbolFont,SetSymbolFont,toprule,midrule,bottomrule,institute,version,includegraphics,setmainfont,setsansfont,setmonofont ,setCJKmainfont,setCJKsansfont,setCJKmonofont,RequirePackage,figref,tabref,email,maketitle,keywords,definecolor,extrainfo,logo,cover,subtitle,appendix,chapter,section,hypersetup,mainmatter,frontmatter,tableofcontents,elegantpar,heiti,kaishu,lstset,pagecolor,zhnumber,marginpar,part,equote,marginnote,bioinfo,datechange,listofchange,lvert,lastpage,songti,heiti,fangsong,setCJKfamilyfont,textbf,elegantnewtheorem,thmcnt,colorlet},
+ morekeywords={DeclareSymbolFont,SetSymbolFont,toprule,midrule,bottomrule,institute,version,includegraphics,setmainfont,setsansfont,setmonofont ,setCJKmainfont,setCJKsansfont,setCJKmonofont,RequirePackage,figref,tabref,email,maketitle,keywords,definecolor,extrainfo,logo,cover,subtitle,appendix,chapter,section,hypersetup,mainmatter,frontmatter,tableofcontents,elegantpar,heiti,kaishu,lstset,pagecolor,zhnumber,marginpar,part,equote,marginnote,bioinfo,datechange,listofchange,lvert,lastpage,songti,heiti,fangsong,setCJKfamilyfont,textbf,elegantnewtheorem,thmcnt,colorlet,usesamecnt},
frame=single,
tabsize=2,
rulecolor=\color{structurecolor},
@@ -1387,7 +1436,7 @@
\renewcommand*{\cleardoublepage}{\clearpage\if@twoside \ifodd\c@page\else
\hbox{}%
\thispagestyle{empty}%
-beforechap\newpage%
+\newpage%
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
@@ -1397,7 +1446,10 @@ beforechap\newpage%
\ifdefstring{\ELEGANT@lang}{cn}{
% \renewcommand{\cftchappresnum}{\beforechap\space}
% \renewcommand{\cftchapaftersnum}{\space\afterchap}
- \setlength{\cftchapnumwidth}{\widthof{\textbf{附录~999}}}
+ % \setlength{\cftchapnumwidth}{\widthof{\textbf{附录~十一}}}
+ \renewcommand{\numberline}[1]{%
+ \@cftbsnum #1\@cftasnum~\@cftasnumb ~%
+ }
\g@addto@macro\appendix{%
% recover \thechapter in the \NR@chapter's \numberline
\ifELEGANT@Hy@later
diff --git a/Master/texmf-dist/tex/latex/elegantnote/elegantnote.cls b/Master/texmf-dist/tex/latex/elegantnote/elegantnote.cls
index 872e4ff188d..4dc70b15d42 100644
--- a/Master/texmf-dist/tex/latex/elegantnote/elegantnote.cls
+++ b/Master/texmf-dist/tex/latex/elegantnote/elegantnote.cls
@@ -4,7 +4,7 @@
% Lastest Version: https://github.com/ElegantLaTeX/ElegantNote
% --- Class structure: identification part
-\ProvidesClass{elegantnote}[2022/04/09 ElegantNote v2.40 class]
+\ProvidesClass{elegantnote}[2022/12/31 ElegantNote v2.50 class]
\NeedsTeXFormat{LaTeX2e}
@@ -165,7 +165,7 @@
backend=\ELEGANT@bibend,
citestyle=\ELEGANT@citestyle,
bibstyle=\ELEGANT@bibstyle]{biblatex}
-\defbibheading{elegantbook}[\ebibname]{#1}
+
\RequirePackage{appendix}
diff --git a/Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls b/Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls
index 4b4a2a34d9f..ca6a74f313b 100644
--- a/Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls
+++ b/Master/texmf-dist/tex/latex/elegantpaper/elegantpaper.cls
@@ -4,7 +4,7 @@
% Lastest Version: https://github.com/ElegantLaTeX/ElegantPaper
% --- Class structure: identification part
-\ProvidesClass{elegantpaper}[2022/04/09 v0.10 ElegantLaTeX Paper class]
+\ProvidesClass{elegantpaper}[2022/12/31 v0.11 ElegantLaTeX Paper class]
\NeedsTeXFormat{LaTeX2e}
%%%
@@ -197,7 +197,6 @@
backend=\ELEGANT@bibend,
citestyle=\ELEGANT@citestyle,
bibstyle=\ELEGANT@bibstyle]{biblatex}
-\defbibheading{elegantbook}[\ebibname]{#1}
\RequirePackage{appendix}
@@ -366,7 +365,7 @@
backgroundcolor=\color{lightgrey}
}
-\addbibresource[location=local]{reference.bib}
+
% restore the tt default family to lmodern tt family
\renewcommand\ttdefault{lmtt}