summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook/doc/easybook.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/easybook/doc/easybook.tex')
-rw-r--r--macros/latex/contrib/easybook/doc/easybook.tex10
1 files changed, 7 insertions, 3 deletions
diff --git a/macros/latex/contrib/easybook/doc/easybook.tex b/macros/latex/contrib/easybook/doc/easybook.tex
index 6e78054325..aa6248434b 100644
--- a/macros/latex/contrib/easybook/doc/easybook.tex
+++ b/macros/latex/contrib/easybook/doc/easybook.tex
@@ -8,7 +8,7 @@
\title{\sffamily easybook书籍文档类}
\author{瞿毅}
-\date{2021/01/15\hskip\ccwd\relax v1.21e\thanks{\url{https://gitee.com/texl3/easybook}}}
+\date{2021/01/18\hskip\ccwd\relax v1.21f\thanks{\url{https://gitee.com/texl3/easybook}}}
\begin{document}
\maketitle
@@ -227,16 +227,18 @@
\end{optdesc}
\subsection{定理样式}
-\begin{function}[EXP,added = 2021-01-12]{thmset/thmbox,thmset/numberwith,thmset/headpunct,thmset/bodyfont,thmset/notefont,thmset/headindent,thmset/spaceabove,thmset/spacebelow}
+\begin{function}[EXP,added = 2021-01-12,updated = 2021-01-18]{thmset/thmbox,thmset/numberwith,thmset/headpunct,thmset/bodyfont,thmset/notefont,thmset/headfont,thmset/headindent,thmset/spaceabove,thmset/spacebelow,thmset/spacepost}
\begin{syntax}
thmbox = <true|(false))>
numberwith = <(chapter)|section|其它环境|空置>
headpunct = <(未设置)>
bodyfont = <(未设置)>
notefont = <(未设置)>
+ headfont = <(\tn{color}\marg{ctex@emph}\tn{sffamily})>
headindent = <(0\tn{ccwd})>
spaceabove = <(0.75ex plus .1ex)>
spacebelow = <(0.75ex plus .1ex)>
+ spacepost = <(\tn{ccwd})>
\end{syntax}
\changes{v1.21b}{2021/01/12}{增加配置定理环境样式的选项。}
\end{function}
@@ -247,15 +249,17 @@
\item[headpunct] 定理标题后的标记。
\item[bodyfont] 定理内容部分的字体。
\item[notefont] 定理标题内容的字体。
+ \item[headfont] 定理类型标题名的字体。
\item[headindent] 定理标题的缩进,默认无缩进,可用 \tn{parindent} 命令设置为段落缩进。
\item[spaceabove] 定理环境前的间距。
\item[spacebelow] 定理环境后的间距。
+ \item[spacepost] 定理标题后与内容的间距。
\end{optdesc}
\subsubsection{新的定理样式}
定理由 \pkg{thmtools} 设置,自带定理的样式为 \opt{mythm},如果使用这个样式而只是增加新的定理名称,可以这样
\begin{ctexexam}
- \declaretheorem[style = mythm,name = 定理名]{定理环境名}
+ \AfterPreamble{\declaretheorem[style = mythm,name = 定理名]{定理环境名}}
\end{ctexexam}
若要重新定义一个全新的定理样式,具体参数可以查看 \pkg{thmtools} 宏包帮助文档。