From 73486a8e8845c320215fd62268307710de090f02 Mon Sep 17 00:00:00 2001 From: EthanDeng Date: Sun, 14 Apr 2019 19:45:00 +0800 Subject: [PATCH] typo --- README.md | 2 +- elegantbook.cls | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9aa0ce3..0ac4009 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ ElegantBook is designed for books. Just enjoy it! If you have any questions, sug 如果你有其他问题、建议或者报告 bug,可以提交 issues 或者给我们发邮件:elegantlatex2e@gmail.com。 -**版本兼容** 由于 3.x 版本进行了重构,3.x 版本并不兼容 2.x 版本,如果你想把 2.x 版本的文件转为 3.x 版本,可以查看[跨版本转换](https://github.com/ElegantLaTeX/ElegantBook/wiki/%E8%BD%AC%E6%8D%A2)。 +**注意:** 由于新版本进行了重构,3.x 版本并不兼容 2.x 版本,如果你想把 2.x 版本的文件转为 3.x 版本,请查看[跨版本转换](https://github.com/ElegantLaTeX/ElegantBook/wiki/%E8%BD%AC%E6%8D%A2)。 # License diff --git a/elegantbook.cls b/elegantbook.cls index 41c89ea..5ea6fbf 100644 --- a/elegantbook.cls +++ b/elegantbook.cls @@ -420,7 +420,7 @@ \newenvironment{property}{\par\noindent\textbf{\color{main} \ifdefstring{\ELEGANT@lang}{en}{Property:}{性质:} }}{\par} -\newenvironment{property}[1]{\par\noindent\textbf{\color{main} +\newenvironment{custom}[1]{\par\noindent\textbf{\color{main} \ifdefstring{\ELEGANT@lang}{en}{#1:}{#1:} }}{\par} % \ifdefstring{\ELEGANT@result}{answer}{