texlive[58751] Master/texmf-dist: easybook (5apr21)

commits+preining at tug.org commits+preining at tug.org
Mon Apr 5 03:44:49 CEST 2021


Revision: 58751
          http://tug.org/svn/texlive?view=revision&revision=58751
Author:   preining
Date:     2021-04-05 03:44:49 +0200 (Mon, 05 Apr 2021)
Log Message:
-----------
easybook (5apr21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
    trunk/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
    trunk/Master/texmf-dist/doc/latex/easybook/easybook.pdf
    trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
    trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls

Modified: trunk/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex	2021-04-05 01:43:33 UTC (rev 58750)
+++ trunk/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex	2021-04-05 01:44:49 UTC (rev 58751)
@@ -99,7 +99,7 @@
     \url{https://latexstudio.net} \\
     \url{https://gitee.com/texl3/easybook}\thanks{Gitee为项目的主要发布地址。}
   }
-\date{2021/04/01\hskip\ccwd\relax v1.24b}
+\date{2021/04/03\hskip\ccwd\relax v1.24c}
 
 \frontmatter[roman]
 \maketitle

Modified: trunk/Master/texmf-dist/doc/latex/easybook/easybook.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-04-05 01:43:33 UTC (rev 58750)
+++ trunk/Master/texmf-dist/source/latex/easybook/easybook.dtx	2021-04-05 01:44:49 UTC (rev 58751)
@@ -55,7 +55,7 @@
 %
 % \title{\sffamily easybook书籍文档类}
 % \author{瞿毅}
-% \date{2021/04/01\hskip\ccwd\relax v1.24b\thanks{\url{https://gitee.com/texl3/easybook}}}
+% \date{2021/04/03\hskip\ccwd\relax v1.24c\thanks{\url{https://gitee.com/texl3/easybook}}}
 % \maketitle
 % \begin{abstract}
 %   \cls{easybook} 是基于 \cls{ctexbook} 书籍文档类创建以极简为风格的模板,可以看作对 \cls{ctexbook} 的进一步包装。虽然\CTeX 文档类提供了较好的中文支持,但想实现个性化功能一般需要在其基础上载入更多宏包来定制。\cls{easybook} 考虑了一些细节并载入一些常用宏包实现一般的排版需求,它适用于排版中英文书籍或笔记,甚至可稍加调整成为学位论文模板。
@@ -67,7 +67,7 @@
 % 模板含有一个使用示例文件 \opt{easybook-demo.tex},编译前建议满足以下的条件
 % \begin{itemize}
 %   \item 使用 \hologo{XeLaTeX}(推荐)或 \hologo{LuaLaTeX} 两种编译方式。
-%   \item 由于用到了一些宏包较新的功能,建议安装最新的\TeX 发行版并将所有宏包升级为最新,目前在 \hologo{MiKTeX} 21.2和 \TeX Live 2020可以正常编译。
+%   \item 由于用到了一些宏包较新的功能,建议安装最新的\TeX 发行版并将所有宏包升级为最新,目前在 \hologo{MiKTeX} 21.2和 \TeX Live 2021可以正常编译。
 % \end{itemize}
 %
 % \subsection{编译步骤}
@@ -436,7 +436,7 @@
 %   includehead = <true|(false)>
 % \end{syntax}
 % \ding{229} 以上选项路径为 \opt{geoset/...} \\
-% \opt{geoset} 会将前4个选项以外的其它选项交给 \pkg{geometry} 宏包接口命令 \tn{geometry} 处理,并且选项的键值列表与之相同,上面的选项仅是一小部分,支持的参数可查阅宏包帮助文档。当在此设置页面大小时,会覆盖 \opt{paper} 选项的设置。
+% 预置的页面边距与 \cls{Word} 的默认值接近,\opt{geoset} 会将前4个选项以外的其它选项交给 \pkg{geometry} 宏包接口命令 \tn{geometry} 处理,并且选项的键值列表与之相同,上面的选项仅是一小部分,支持的参数可查阅宏包帮助文档。当在此设置页面大小时,会覆盖 \opt{paper} 选项的设置。
 % \begin{ctexexam}
 %   \geoset
 %     {
@@ -474,7 +474,7 @@
 %   \tn{easyhead}\oarg{位置}\marg{内容}
 %   \tn{easyfoot}\oarg{位置}\marg{内容}
 % \end{syntax}
-% 命令 \tn{easyhead} 和 \tn{easyfoot} 的含义与 \tn{fancyhead} 和 \tn{fancyfoot} 相同,它们用于 \opt{head-foot} 选项中,设置的是一个名为 \opt{fancy} 的页面风格。\pkg{fancyhdr} 将页眉页脚分成了左中右和奇数页(odd)、偶数页(even)共12个部分,可选参数中E、O代表偶数、奇数,L、C、R代表左、中、右部分。单面打印时,含有偶数的选项无效。
+% 命令 \tn{easyhead} 和 \tn{easyfoot} 的使用方法与 \tn{fancyhead} 和 \tn{fancyfoot} 完全相同,它们需要在 \opt{head-foot} 选项中使用,设置的是一个名为 \opt{fancy} 的页面风格。\pkg{fancyhdr} 将页眉页脚分成了左中右和奇数页(odd)、偶数页(even)共12个部分,可选参数中E、O代表偶数、奇数,L、C、R代表左、中、右部分。单面打印时,含有偶数的选项无效。
 % \begin{ctexexam}
 %   \hdrset
 %     {
@@ -484,8 +484,8 @@
 %           \easyhead[OL]{\rightmark}
 %           \easyhead[EL,OR]{\textbf{\thepage}}
 %         },
-%       sec-mark = {\CTEXthesection\hspace{0.5\ccwd}},
-%       headrule = {\hrule width \textwidth height 1pt}
+%       sec-mark = \CTEXthesection\hspace{0.5\ccwd},
+%       headrule = \hrule width \textwidth height 1pt
 %     }
 % \end{ctexexam}
 % \end{function}
@@ -538,7 +538,7 @@
 % \begin{function}[added = 2021-01-05]{equation,multline,gather,align}
 % \begin{syntax}
 %   \tn{begin}\marg{环境名}
-%   <行间公式>
+%   \  <行间公式>
 %   \tn{end}\marg{环境名}
 % \end{syntax}
 % \pkg{amsmath} 宏包提供了一系列数学环境,它们可以排布各种对齐或不对齐的公式组。\env{multline} 环境用于一行无法放下的长公式,\env{gather} 环境用于每行居中的公式组,\env{align} 环境用于多列对齐的公式组。
@@ -548,7 +548,7 @@
 % \begin{function}[added = 2021-01-05]{enumerate,itemize,description}
 % \begin{syntax}
 %   \tn{begin}\marg{环境名}\oarg{键值列表}
-%   \tn{item} <列表内容>
+%   \  \tn{item} <列表内容>
 %   \tn{end}\marg{环境名}
 % \end{syntax}
 % \pkg{enumitem} 宏包为系统预置的列表环境 \env{enumerate}、\env{itemize}和 \env{description} 提供了更灵活的标签以及间距的控制,可使用 \tn{setlist} 命令设置原有的三种列表格式。已设置默认格式,若自定义标签可例如
@@ -590,7 +590,7 @@
 % \begin{function}[added = 2021-01-05,updated = 2021-01-08]{theorem,definition,lemma,corollary,proposition,example,remark,proof}
 % \begin{syntax}
 %   \tn{begin}\marg{环境名}
-%   <定理内容>
+%   \  <定理内容>
 %   \tn{end}\marg{环境名}
 % \end{syntax}
 % 这些是已预置的定理环境,定理环境除了注和证明跟随章编号并可带有边框,边框和习题标题盒子可使用 \opt{thmbox = false} 开启,证明末尾会自动添加证明结束符。环境名对应的定理标题名如下
@@ -609,7 +609,7 @@
 % \begin{function}[added = 2021-01-05,updated = 2021-03-19]{exercise}
 % \begin{syntax}
 %   \tn{begin}\marg{exercise}\oarg{颜色名|(LightYellow)}\oarg{编号|(1.)}\parg{标题|(习题)}\oarg{配置选项}
-%   \tn{item} <习题内容>
+%   \  \tn{item} <习题内容>
 %   \tn{end}\marg{exercise}
 % \end{syntax}
 % 习题环境 \env{exercise} 的标题紧接上一节编号并加入目录与页眉,当使用星号环境时不进行编号。三个可选参数中颜色为自定义或 \pkg{xcolor} 包含的颜色名称,正文编号格式与小节 \ref{subsec:sort list} 排序列表相同,标题名默认为摘要。注意,环境具有相同定界符的可选参数只能\textbf{从右往左}省略,省略的参数使用默认值。
@@ -630,7 +630,7 @@
 % \begin{function}[added = 2021-01-05,updated = 2021-03-19]{outline}
 % \begin{syntax}
 %   \tn{begin}\marg{outline}\parg{标题名称}\oarg{配置选项}
-%   \tn{item} <摘要内容>
+%   \  \tn{item} <摘要内容>
 %   \tn{end}\marg{outline}
 % \end{syntax}
 % 摘要盒子可用于章前摘要,它的标题是可选参数,默认标题是摘要。
@@ -646,7 +646,7 @@
 % \begin{function}[added = 2021-01-05,updated = 2021-03-19]{easybox}
 % \begin{syntax}
 %   \tn{begin}\marg{easybox}\oarg{颜色名|(MintCream)}\parg{段落标题}\oarg{配置选项}
-%   <盒子内容>
+%   \  <盒子内容>
 %   \tn{end}\marg{easybox}
 % \end{syntax}
 % 环境 \opt{easybox} 创建一个段落盒子,可以添加可选参数的标题,否则无标题框。当使用带有星号的环境时 \oarg{颜色名} 选项生效,可以自定义背景颜色,否则无背景颜色。
@@ -675,7 +675,7 @@
 % \begin{syntax}
 %   \tn{lstinline}\oarg{键值列表}\marg{行内代码}
 %   \tn{begin}\marg{lstlisting}\oarg{键值列表}
-%   <行间代码>
+%   \  <行间代码>
 %   \tn{end}\marg{lstlisting}
 % \end{syntax}
 % 加载 \pkg{listings} 宏包以对代码格式进行高度定制,代码样式可使用 \tn{lstset} 命令设置,\tn{listoflistings} 命令用于输出代码目录。
@@ -721,7 +721,7 @@
 %   \tn{index}\marg{标签}
 %   \tn{printindex}\oarg{索引名}
 % \end{syntax}
-% 使用 \pkg{imakeidx} 生成索引,\tn{printindex} 命令用于生成索引目录。仅做了简单的设置如将索引设为双栏并加入目录,其他选项可另外配置。
+% \pkg{imakeidx} 宏包可使用索引的功能,\tn{printindex} 命令用于生成索引目录。仅做了简单的设置如将索引设为双栏并加入目录,其他选项可另外配置。
 % \end{function}
 %
 % \subsubsection{自定义脚注}
@@ -767,11 +767,21 @@
 % \begin{function}[added = 2021-03-14]{spacing}
 % \begin{syntax}
 %   \tn{begin}\marg{spacing}\marg{浮点数}
-%   <段落内容>
+%   \  <段落内容>
 %   \tn{end}\marg{spacing}
 % \end{syntax}
 % 该环境由 \pkg{setspace} 提供,可以指定环境内段落的行距,使用浮点数控制行距倍数。
 % \end{function}
+%
+% \subsection{下划线}
+% \begin{function}[added = 2021-04-03]{\uline,\uuline,\uwave}
+% \begin{syntax}
+%   \tn{uline}\marg{下划直线}
+%   \tn{uuline}\marg{下划双直线}
+%   \tn{uwave}\marg{下划波浪线}
+% \end{syntax}
+% \pkg{ulem} 宏包提供了多种下划线命令,下划线的粗细由命令 \tn{ULthickness} 控制,重新定义它需要使用 \tn{renewcommand} 命令。下划线的深度由 \tn{ULdepth} 控制,默认值 \tn{maxdimen} 是一个允许深度根据当前字体变化的特殊标志,当然也可以使用 \tn{setlength} 设定特定深度。
+% \end{function}
 % \end{documentation}
 %
 % \StopEventually{}
@@ -778,7 +788,7 @@
 %<*class>
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/04/01}{1.24b}{beta}
+\ProvidesExplClass{easybook}{2021/04/03}{1.24c}{beta}
 
 \cs_generate_variant:Nn \keys_define:nn {nx}
 \cs_generate_variant:Nn \int_to_arabic:n {v}
@@ -943,8 +953,7 @@
     caption-light,subcaption,
     tabularx,multirow,booktabs,
     tasks,enumitem,
-    listings,
-    imakeidx
+    listings,imakeidx
   }
 \ctex_at_end_preamble:n
   {
@@ -1807,6 +1816,8 @@
   }
 \cs_gset:Npn \tagform@#1
   {\maketag@@@{\color{ctex at emph}(\ignorespaces#1\unskip\@@italiccorr)}}
+\ctex_at_end_package:nn {unicode-math}
+  {\unimathsetup{warnings-off = {mathtools-overbracket,mathtools-colon}}}
 
 \ctex_at_end_package:nn {tcolorbox}
   {
@@ -2344,5 +2355,4 @@
       }
   }
 %</class>
-% \Finale
 \endinput
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-04-05 01:43:33 UTC (rev 58750)
+++ trunk/Master/texmf-dist/tex/latex/easybook/easybook.cls	2021-04-05 01:44:49 UTC (rev 58751)
@@ -13,7 +13,7 @@
 %%   https://creativecommons.org/licenses/by/4.0/legalcode
 \NeedsTeXFormat{LaTeX2e}[2020/10/01]
 \RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/04/01}{1.24b}{beta}
+\ProvidesExplClass{easybook}{2021/04/03}{1.24c}{beta}
 
 \cs_generate_variant:Nn \keys_define:nn {nx}
 \cs_generate_variant:Nn \int_to_arabic:n {v}
@@ -178,8 +178,7 @@
     caption-light,subcaption,
     tabularx,multirow,booktabs,
     tasks,enumitem,
-    listings,
-    imakeidx
+    listings,imakeidx
   }
 \ctex_at_end_preamble:n
   {
@@ -1042,6 +1041,8 @@
   }
 \cs_gset:Npn \tagform@#1
   {\maketag@@@{\color{ctex at emph}(\ignorespaces#1\unskip\@@italiccorr)}}
+\ctex_at_end_package:nn {unicode-math}
+  {\unimathsetup{warnings-off = {mathtools-overbracket,mathtools-colon}}}
 
 \ctex_at_end_package:nn {tcolorbox}
   {



More information about the tex-live-commits mailing list.