summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook/easybook.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/easybook/easybook.tex')
-rw-r--r--macros/latex/contrib/easybook/easybook.tex44
1 files changed, 25 insertions, 19 deletions
diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex
index 60736dc607..4bb1025dcb 100644
--- a/macros/latex/contrib/easybook/easybook.tex
+++ b/macros/latex/contrib/easybook/easybook.tex
@@ -20,7 +20,7 @@
name = easybook,
color-scheme = blue,
title = EASYBOOK 使用手册,
- version = v1.40,
+ version = v1.40A,
date = 2021/10/21,
authors = 瞿毅,
info = 排版简体中文学位论文和书籍,
@@ -218,14 +218,16 @@
{
colspec = @{}*{4}{c}@{},
hline{1,7} = {1pt,cnltxblue},
- hline{2} = {0.6pt,cnltxblue}
+ hline{2} = {0.6pt,cnltxblue},
+ row{1} = {font = \sffamily},
+ column{1} = {cmd = \code}
}
- & \textsf{正文字体} & \textsf{无衬线字体} & \textsf{等宽字体} \\
- \code{noto} & Noto Serif & Noto Sans & Noto Sans Mono \\
- \code{garamond} & EB Garamond & Libertinus Sans & LM Mono \\
- \code{palatino} & TG Pagella & Libertinus Sans & LM Mono \\
- \code{libertine} & TG Pagella & Libertinus Sans & LM Mono \\
- \code{times} & XITS & TG Heros & TG Cursor
+ & 正文字体 & 无衬线字体 & 等宽字体 \\
+ noto & Noto Serif & Noto Sans & Noto Sans Mono \\
+ garamond & EB Garamond & Libertinus Sans & LM Mono \\
+ palatino & TG Pagella & Libertinus Sans & LM Mono \\
+ libertine & TG Pagella & Libertinus Sans & LM Mono \\
+ times & XITS & TG Heros & TG Cursor
\end{tblr}
\end{center}
\end{options}
@@ -340,12 +342,14 @@
{
colspec = @{}*{5}{c}@{},
hline{1,5} = {1pt,cnltxblue},
- hline{3} = {0.6pt,cnltxblue}
+ hline{3} = {0.6pt,cnltxblue},
+ row{1,3} = {font = \sffamily},
+ row{2,4} = {cmd = \module*}
}
\hyperref[subsec:style]{风格} & \hyperref[subsec:other font]{其它字体} & \hyperref[subsec:spacing]{行距} & \hyperref[subsec:hyperlinks]{超链接} & \hyperref[subsec:reference]{参考文献} \\
- \module*{style} & \module*{subfont} & \module*{spread} & \module*{refset} & \module*{bibset} \\
+ style & subfont & spread & refset & bibset \\
\hyperref[subsec:theorem of style]{定理样式} & \hyperref[subsec:page margins]{页面尺寸} & \hyperref[subsec:header and footer]{页眉页脚} & \hyperref[subsec:catalog style]{目录样式} & \\
- \module*{thmset} & \module*{geoset} & \module*{hdrset} & \module*{tocset} &
+ thmset & geoset & hdrset & tocset &
\end{tblr}
\end{center}
@@ -576,8 +580,8 @@
\keyval*-{style}{定理样式}\Default
选项的值为使用 \cs{declaretheoremstyle} 命令新定义的定理样式。
\end{options}
- \command{DeclareTheorem}[\marg{环境名}\oarg{英文标题}\marg{中文标题}\darg{盒子风格}\oarg{键值列表}]
- 定理声明命令 \cs{DeclareTheorem} 更加便捷,同样定义一个新的定理环境,\meta{键值列表} 中支持的选项与 \cs{declaretheorem} 命令相同,但它们的区别有:
+ \command{deftheorem}[\marg{环境名}\oarg{英文标题}\marg{中文标题}\darg{盒子风格}\oarg{键值列表}]
+ 定理声明命令 \cs{deftheorem} 更加便捷,同样定义一个新的定理环境,\meta{键值列表} 中支持的选项与命令 \cs{declaretheorem} 相同,但与这个命令有以下区别:
\begin{itemize}
\item 中英文模式下标题不同,英文标题为可选项,默认为首字母大写的 \meta{环境名}。
\item 自动定义交叉引用的格式,引用标签前缀为定理名。
@@ -589,7 +593,7 @@
下面简单列举几个定理命令的用法,例如使用预置样式新建一个定理环境猜想:
\begin{ctexexam}
- \DeclareTheorem{caixiang}{猜想}[style = easy-theorem] % 不需要指定预置样式
+ \deftheorem{caixiang}{猜想}[style = easy-theorem] % 不需要指定预置样式
\declaretheorem[style = easy-theorem,name = 猜想]{caixiang}
\end{ctexexam}
@@ -684,7 +688,7 @@
\begin{ctexexam}
\hdrset
{
- headfoot =
+ headfoot =
{
\easyhead[ER]{\leftmark}
\easyhead[OL]{\rightmark}
@@ -731,7 +735,7 @@
\keychoice{fntext-vshift}{fixed length,match}\Default{0pt}
脚注内容标记的垂直偏移,可以设为刚性长度,或用 \code{match} 匹配 \option*{super-vshift} 全局的值。
\keychoice{fnmate-form}{format code,match}\Default
- 默认脚注标记的格式,\code{match} 可以匹配 \option*{super-format} 全局的值。一般配合选项 \keyis-{fnmark-num}{plain} 使用,例如配合 \pkg*{circledsteps} 宏包的带圈符号命令 \cs*{Circled} 给脚注标记添加圆圈:
+ 默认脚注标记的格式,\code{match} 可以匹配 \option*{super-format} 全局的值。一般配合选项 \keyis-{fnmate-num}{plain} 使用,例如配合 \pkg*{circledsteps} 宏包的带圈符号命令 \cs*{Circled} 给脚注标记添加圆圈:
\begin{ctexexam}
\usepackage{circledsteps}
\hdrset
@@ -902,10 +906,12 @@
{
colspec = @{}*{8}{c}@{},
hline{1,3} = {1pt,cnltxblue},
- hline{2} = {0.6pt,cnltxblue}
+ hline{2} = {0.6pt,cnltxblue},
+ row{1} = {font = \sffamily},
+ row{2} = {cmd = \env}
}
- \env{theorem} & \env{definition} & \env{lemma} & \env{corollary} & \env{proposition} & \env{example} & \env{remark} & \env{proof} \\
- 定理 & 定义 & 引理 & 推论& 性质 & 例 & 注 & 证明
+ 定理 & 定义 & 引理 & 推论& 性质 & 例 & 注 & 证明 \\
+ theorem & definition & lemma & corollary & proposition & example & remark & proof
\end{tblr}
\end{center}
\end{environments}