summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-01-18 22:11:31 +0000
committerKarl Berry <karl@freefriends.org>2021-01-18 22:11:31 +0000
commitac1dd65826faaad512d3128faf5972bca8792035 (patch)
treec6fb8391e912d84d799a652e0cecbf55a9766403 /Master/texmf-dist/doc
parentba482327de1709eadaca9630cbdc6d62c7533ea9 (diff)
easybook (18jan21)
git-svn-id: svn://tug.org/texlive/trunk@57460 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook-demo.pdfbin308555 -> 308553 bytes
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook-demo.tex2
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook.pdfbin231477 -> 234522 bytes
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook.tex10
4 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
index 8de59b0b82c..71496575c96 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
+++ b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
index 2eeda2eb201..2c9a7ae8994 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
+++ b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
@@ -95,7 +95,7 @@
\edge~\url{https://latexstudio.net} \\
\url{https://ctan.org/pkg/easybook}
}
- \date{2021/01/15\hskip\ccwd\relax v1.21e}
+ \date{2021/01/18\hskip\ccwd\relax v1.21f}
}
\begin{document}
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.pdf b/Master/texmf-dist/doc/latex/easybook/easybook.pdf
index bf0dd89a05c..8cdd54c31a6 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook.pdf
+++ b/Master/texmf-dist/doc/latex/easybook/easybook.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.tex b/Master/texmf-dist/doc/latex/easybook/easybook.tex
index 6e780543256..aa6248434b4 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook.tex
+++ b/Master/texmf-dist/doc/latex/easybook/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} 宏包帮助文档。