summaryrefslogtreecommitdiff
path: root/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex')
-rw-r--r--macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex34
1 files changed, 14 insertions, 20 deletions
diff --git a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
index fb03bcdf9a..d2a638335e 100644
--- a/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
+++ b/macros/unicodetex/latex/lebhart/lebhart-doc-cn.tex
@@ -1,16 +1,4 @@
-\documentclass[English,Chinese,French,allowbf,puretext]{lebhart}
-
-\theoremstyle{basic}
-\CreateTheorem{definition}<highest>
-\CreateTheorem{theorem}[definition]
-\CreateTheorem{conjecture}[definition]
-\CreateTheorem*{example*}
-\CreateTheorem{problem}[definition]
-
-\theoremstyle{emphasis}
-\CreateTheorem{remark}<highest>
-
-\theoremstyle{simple}
+\documentclass[English,Chinese,French,allowbf]{lebhart}
%%================================
%% Import toolkit
@@ -105,7 +93,7 @@
\title{\lebhart{},以多彩的方式排版你的文章}
\author{许锦文}
-\thanks{对应版本. \texttt{\lebhart{} 2021/07/27}}
+\thanks{对应版本. \texttt{\lebhart{} 2021/07/30}}
\email{\href{mailto:ProjLib@outlook.com}{ProjLib@outlook.com}}
\date{2021年7月,北京}
@@ -183,7 +171,7 @@ Référence du théorème: \cref{thm:abc}
如果你觉得这个例子有些复杂,不要担心。现在我们来一点点地观察这个例子。
-\clearpage
+\bigskip
\LevelThreeTitle{初始化部分}
\medskip
@@ -305,7 +293,7 @@ Référence du théorème: \cref{thm:abc}
\end{tip}
-\clearpage
+\bigskip
\LevelOneTitle{关于默认字体}
\lebhart{} 默认使用 Palatino Linotype 作为英文字体,方正悠宋、悠黑GBK作为中文字体,并部分使用了 Neo Euler 作为数学字体。其中,Neo Euler可以在 \url{https://github.com/khaledhosny/euler-otf} 下载。其他字体不是免费字体,需要自行购买使用。可以在方正字库网站查询详细资料:\url{https://www.foundertype.com}。
@@ -313,6 +301,7 @@ Référence du théorème: \cref{thm:abc}
在没有安装相应的字体时,将采用TeX Live中自带的字体来代替,效果可能会有所折扣。
+\clearpage
\LevelOneTitle{选项}
\lebhart{} 文档类有下面几个选项:
@@ -339,7 +328,7 @@ Référence du théorème: \cref{thm:abc}
\begin{itemize}
\item 可选的纸张大小。默认的纸张大小为 8.5in $\times$ 11in。
\end{itemize}
- \item \texttt{palatino}、\texttt{times}、\texttt{garamond}、\texttt{biolinum} ~$|$~ \texttt{useosf}
+ \item \texttt{palatino}、\texttt{times}、\texttt{garamond}、\texttt{noto}、\texttt{biolinum} ~$|$~ \texttt{useosf}
\begin{itemize}
\item 字体选项。顾名思义,会加载相应名称的字体。
\item \texttt{useosf} 选项用来启用“旧式”数字。
@@ -356,9 +345,14 @@ Référence du théorème: \cref{thm:abc}
\begin{itemize}
\item 纯文本模式,不加载定理类环境。
\end{itemize}
- \item \texttt{nothmnum}
+ \item \texttt{nothmnum}、\texttt{thmnum} 或 \texttt{thmnum=}\meta{counter}
+ \begin{itemize}
+ \item 定理类环境均不编号 / 按照 1、2、3 顺序编号 / 在 \meta{counter} 内编号。其中 \meta{counter} 应该是自带的计数器 (如 \texttt{subsection}) 或在导言部分自定义的计数器。在没有使用任何选项的情况下将按照 \texttt{chapter} (书) 或 \texttt{section} (文章) 编号。
+ \end{itemize}
+ \item \texttt{regionalref}、\texttt{originalref}
\begin{itemize}
- \item 定理类环境不编号。
+ \item 在智能引用时,定理类环境的名称是否随当前语言而变化。默认为 \texttt{regionalref},即引用时采用当前语言对应的名称;例如,在中文语境中引用定理类环境时,无论原环境处在什么语境中,都将使用名称“定理、定义……”。若启用 \texttt{originalref},则引用时会始终采用定理类环境所处语境下的名称;例如,在英文语境中书写的定理,即使稍后在中文语境下引用时,仍将显示为 Theorem。
+ \item 在 \texttt{fast} 模式下,\texttt{originalref} 将不起作用。
\end{itemize}
\end{itemize}
@@ -436,7 +430,7 @@ Référence du théorème: \cref{thm:abc}
A theorem in English.
\end{theorem}
-默认情况下,引用时,定理的名称总是与定理所在区域的语言匹配,例如,上面的定义在现在的英文模式下依然显示为中文:\cref{def: strange} 和 \cref{thm}。如果在引用时想让定理的名称与当前语境相匹配,可以在全局选项中加入 \texttt{regionalref}。
+默认情况下,引用时,定理类环境的名称总是与当前语言相匹配,例如,上面的定义在现在的英文模式下将显示为英文:\cref{def: strange,thm}。如果在引用时想让定理的名称总是与原定理所在区域的语言匹配,即总是显示原始名称,可以在全局选项中加入 \texttt{originalref}。
\end{tip}
\UseLanguage{Chinese}