From 122c974d05b7cd8313c8fda65d2c8d9d06b7c3ab Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 13 Feb 2021 22:18:29 +0000 Subject: easybook (13feb21) git-svn-id: svn://tug.org/texlive/trunk@57734 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/easybook/chapter2.tex | 4 +- .../doc/latex/easybook/easybook-demo.pdf | Bin 297360 -> 297626 bytes .../doc/latex/easybook/easybook-demo.tex | 25 ++++---- Master/texmf-dist/doc/latex/easybook/easybook.pdf | Bin 225780 -> 226728 bytes Master/texmf-dist/doc/latex/easybook/easybook.tex | 71 +++++++++++---------- 5 files changed, 52 insertions(+), 48 deletions(-) (limited to 'Master/texmf-dist/doc') diff --git a/Master/texmf-dist/doc/latex/easybook/chapter2.tex b/Master/texmf-dist/doc/latex/easybook/chapter2.tex index bf2bbf77980..6c094eb9f69 100644 --- a/Master/texmf-dist/doc/latex/easybook/chapter2.tex +++ b/Master/texmf-dist/doc/latex/easybook/chapter2.tex @@ -58,7 +58,7 @@ The Stokes formula is an extension of the basic calculus formula in the case of 这是一个证明,末尾自动添加证明结束符。 \end{proof} -\begin{mybox}*[My title] +\begin{mybox}*[My title][MintCream] \index{z@自定义盒子} \zhlipsum*[3][name = aspirin] \tcblower @@ -66,7 +66,7 @@ The Stokes formula is an extension of the basic calculus formula in the case of \end{mybox} \zhlipsum*[3][name = aspirin] -\begin{exercise}[black][1.][习题] +\begin{exercise}[LightYellow][1.][习题] \index{x@习题环境} \item 设$w = f(x+y+z,xyz)$,$f$具有二阶连续偏导数,求$\dfrac{{\partial w}}{{\partial x}}$和$\dfrac{{{\partial ^2}w}}{{\partial x\partial z}}$。 \item 已知$y = y(x)$在任意点$x$处的增量$\Delta y = \dfrac{y\Delta x}{1+x^2}+\alpha$,其中$\alpha$是$\Delta x$的高阶无穷小($\Delta x\to 0$时),$y(0) = \pi$,则$y(1) = \uline{\mbox{\hspace{2em}}}$。 diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf index f668a9e04bb..8e0b1215f23 100644 Binary files a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf and b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf differ diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex index f9046d9a393..e4a64adbb88 100644 --- a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex +++ b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex @@ -15,7 +15,8 @@ % withpart = true, % perpart = true, perpage = true, - % notomath = false + % notomath = false, + rulewidth = 0.75pt }, link = { @@ -25,19 +26,19 @@ }, spread = { - linespread = 1.355, - tabspread = 1.05, - mathspread = 1.05, - capspread = 1, - fnspread = 1 + line = 1.355, + table = 1.05, + math = 1.05, + caption = 1, + footnote = 1 }, elfont = { - tabfont = \sffamily\zihao{5}, - figfont = \sffamily\zihao{5}, - lstfont = \sffamily\zihao{5}, - fnfont = \rmfamily, - marfont = \sffamily\zihao{-5} + table-cap = \sffamily\zihao{5}, + figure-cap = \sffamily\zihao{5}, + listing-cap = \sffamily\zihao{5}, + footnote = \rmfamily, + marginpar = \sffamily\zihao{-5} }, thmset = { @@ -94,7 +95,7 @@ \github~\url{https://github.com/texl3/easybook} \\ \edge~\url{https://latexstudio.net} } - \date{2021/02/10\hskip\ccwd\relax v1.23c} + \date{2021/02/13\hskip\ccwd\relax v1.23d} } \begin{document} diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.pdf b/Master/texmf-dist/doc/latex/easybook/easybook.pdf index 283aa4c6f35..f53a65b20f0 100644 Binary files a/Master/texmf-dist/doc/latex/easybook/easybook.pdf and b/Master/texmf-dist/doc/latex/easybook/easybook.pdf differ diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.tex b/Master/texmf-dist/doc/latex/easybook/easybook.tex index fee663811c8..aaaab47ed85 100644 --- a/Master/texmf-dist/doc/latex/easybook/easybook.tex +++ b/Master/texmf-dist/doc/latex/easybook/easybook.tex @@ -3,7 +3,7 @@ \title{\sffamily easybook书籍文档类} \author{瞿毅} -\date{2021/02/10\hskip\ccwd\relax v1.23c\thanks{\url{https://gitee.com/texl3/easybook}}} +\date{2021/02/13\hskip\ccwd\relax v1.23d\thanks{\url{https://gitee.com/texl3/easybook}}} \begin{document} \maketitle @@ -100,7 +100,7 @@ \cls{easybook} 扩展了\CTeX 宏集\LaTeX 3风格键值的通用控制命令 \tn{ctexset},接口选项同样用它设置, 原有的键值列表仍然可用。 \end{function} -\begin{function}[added = 2021-01-08]{config} +\begin{function}[EXP,added = 2021-01-08]{config} \begin{syntax} config = <配置文件名> \end{syntax} @@ -109,7 +109,7 @@ \end{function} \subsection{风格} -\begin{function}[EXP,added = 2021-01-05,updated = 2021-02-08]{style/color,style/capdash,style/multoc,style/withpart,style/perpart,style/perpage,style/notomath} +\begin{function}[EXP,added = 2021-01-05,updated = 2021-02-09]{style/color,style/capdash,style/multoc,style/withpart,style/perpart,style/perpage,style/notomath,style/rulewidth} \begin{syntax} color = <(none)|seaside|energy|cyberpunk> capdash = @@ -118,9 +118,11 @@ perpart = perpage = notomath = <(true)|false> + rulewidth = <(0.75pt)> \end{syntax} \changes{v1.10}{2021/01/08}{更改颜色实现方式与选项名。} \changes{v1.23}{2021/02/02}{noto风格的数学字体独立出来,可自定义设置。} +\changes{v1.23b}{2021/02/09}{增加控制页面横线粗细的选项。} \opt{style} 选项控制文章的风格。 \end{function} @@ -139,6 +141,7 @@ \item[perpart] 使脚注跟随每一部分编号,默认不跟随。 \item[perpage] 使脚注跟随每一页编号,默认不跟随。 \item[notomath] 使用 \opt{noto} 风格的数学字体,将会加载 \pkg{newtxmath} 宏包。 + \item[rulewidth] 调整页眉、定理盒子以及代码框线条的粗细。 \end{optdesc} \subsection{超链接} @@ -166,13 +169,13 @@ \end{optdesc} \subsection{行距} -\begin{function}[EXP,added = 2021-01-05,updated = 2021-02-09]{spread/linespread,spread/tabspread,spread/mathspread,spread/capspread,spread/fnspread} +\begin{function}[EXP,added = 2021-01-05,updated = 2021-02-13]{spread/line,spread/table,spread/math,spread/caption,spread/footnote} \begin{syntax} - linespread = <(1.3)> - tabspread = <(1.05)> - mathspread = <(1.05)> - capspread = <(1)> - fnspread = <(1)> + line = <(1.3)> + table = <(1.05)> + math = <(1.05)> + caption = <(1)> + footnote = <(1)> \end{syntax} \changes{v1.21b}{2021/01/12}{增加脚注线间的距离选项。} \changes{v1.23b}{2021/02/09}{取消使用 \pkg{zhlineskip} 宏包设置数学间距。} @@ -180,32 +183,32 @@ \end{function} \begin{optdesc} - \item[linespread] 正文行距。 - \item[tabspread] 表格行距。 - \item[mathspread] 数学环境行距。 - \item[capspread] 图表代码标题行距。 - \item[fnspread] 脚注行距。 + \item[line] 正文行距。 + \item[table] 表格行距。 + \item[math] 数学环境行距。 + \item[caption] 图表代码标题行距。 + \item[footnote] 脚注行距。 \end{optdesc} \subsection{其它字体} -\begin{function}[EXP,added = 2021-01-08,updated = 2021-02-08]{elfont/tabfont,elfont/figfont,elfont/lstfont,elfont/fnfont,elfont/marfont} +\begin{function}[EXP,added = 2021-01-08,updated = 2021-02-13]{elfont/table-cap,elfont/figure-cap,elfont/listing-cap,elfont/footnote,elfont/marginpart} \begin{syntax} - tabfont = <\tn{sffamily}\tn{small}> - figfont = <\tn{sffamily}\tn{small}> - lstfont = <\tn{sffamily}\tn{small}> - fnfont = <\tn{rmfamily}> - marfont = <\tn{rmfamily}\tn{footnotesize}> + table-cap = <\tn{sffamily}\tn{small}> + figure-cap = <\tn{sffamily}\tn{small}> + listing-cap = <\tn{sffamily}\tn{small}> + footnote = <\tn{rmfamily}> + marginpart = <\tn{rmfamily}\tn{footnotesize}> \end{syntax} \changes{v1.10}{2021/01/08}{加入自定义非正文字体选项。} \changes{v1.23a}{2021/02/08}{修复使用 \tn{zihao} 命令设置字体失效的问题。} \end{function} \begin{optdesc} - \item[tabfont] 表格标题的字体设置。 - \item[figfont] 图片标题的字体设置。 - \item[lstfont] 代码标题的字体设置。 - \item[fnfont] 脚注的字体设置,请不要使用字号命令。 - \item[marfont] 边注的字体设置。 + \item[table-cap] 表格标题的字体设置。 + \item[figure-cap] 图片标题的字体设置。 + \item[listing-cap] 代码标题的字体设置。 + \item[footnote] 脚注的字体设置,请不要使用字号命令。 + \item[marginpar] 边注的字体设置。 \end{optdesc} \subsection{参考文献} @@ -410,16 +413,16 @@ \end{function} \subsection{习题} -\begin{function}[added = 2021-01-05,updated = 2021-02-08]{exercise} +\begin{function}[added = 2021-01-05,updated = 2021-02-13]{exercise} \begin{syntax} - \tn{begin}\marg{exercise}\oarg{颜色名}\oarg{编号}\oarg{标题} + \tn{begin}\marg{exercise}\oarg{颜色名|(LightYellow)}\oarg{编号|(1.)}\oarg{标题|(习题)} \tn{item} <习题内容> \tn{end}\marg{exercise} \end{syntax} \changes{v1.23a}{2021/02/08}{增加准确的习题盒子标题目录锚点。} -习题环境 \opt{exercise} 的标题紧接上一节编号并加入目录与页眉,当使用星号环境时不进行编号。三个可选参数中颜色为自定义或 \pkg{xcolor} 包含的颜色名称(深色),正文编号格式与小节 \ref{sort list} 排序列表相同,标题名默认为摘要,参数只能\textbf{从右往左}省略。 +习题环境 \opt{exercise} 的标题紧接上一节编号并加入目录与页眉,当使用星号环境时不进行编号。三个可选参数中颜色为自定义或 \pkg{xcolor} 包含的颜色名称,正文编号格式与小节 \ref{sort list} 排序列表相同,标题名默认为摘要,参数只能\textbf{从右往左}省略。 \begin{ctexexam} - \begin{exercise}[black][1.][习题] + \begin{exercise}[LightYellow][1.][习题] \item 习题内容 \item 习题内容 \end{exercise} @@ -445,15 +448,15 @@ \end{function} \subsubsection{段落盒子} -\begin{function}[added = 2021-01-05]{mybox} +\begin{function}[added = 2021-01-05,updated = 2021-02-13]{mybox} \begin{syntax} - \tn{begin}\marg{mybox}\oarg{段落标题} + \tn{begin}\marg{mybox}\oarg{段落标题}\oarg{颜色名|(MintCream)} <盒子内容> \tn{end}\marg{mybox} \end{syntax} -环境 \opt{mybox} 创建一个段落盒子,可以添加可选参数的标题,否则无标题框。带有星号的环境会生成浅灰背景,否则是纯白背景。 +环境 \opt{mybox} 创建一个段落盒子,可以添加可选参数的标题,否则无标题框。当使用带有星号的环境时 \oarg{颜色名} 选项生效,可以自定义背景颜色,否则无背景颜色。 \begin{ctexexam} - \begin{mybox}*[段落标题] + \begin{mybox}*[段落标题][MintCream] 盒子内容 \tcblower % 盒子上下部分分界线 盒子内容 @@ -467,7 +470,7 @@ \tn{concise}\oarg{颜色名}\oarg{配置}\marg{内容} \tn{fuzzy}\oarg{颜色名}\oarg{配置}\marg{内容} \end{syntax} -设置了两个参数选项相同的行内盒子,盒子 \opt{concise} 可以为抄录盒子有三个参数,行内盒子内容是必选参数其他可选。盒子 \opt{fuzzy} 不是抄录盒子,具有模糊边缘类似高亮的效果。 +设置了两个参数选项相同的行内盒子,盒子 \opt{concise} 可以为抄录盒子有三个参数,行内盒子内容是必选参数其他可选。盒子 \opt{fuzzy} 不是抄录盒子,具有模糊边缘类似高亮的效果。配置的选项由 \pkg{tcolorbox} 提供支持。 \end{function} \section{其它格式} -- cgit v1.2.3