summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-09-07 03:03:54 +0000
committerNorbert Preining <norbert@preining.info>2021-09-07 03:03:54 +0000
commita7ef56f18421a8ffb9d34c16ff9f017e45e4e6d3 (patch)
tree7e5c6afbefbbbf312f0d8db33fd0884924a5f227 /macros/latex/contrib/easybook
parentb63aa636b82853ca4885c1e90c619cdbcfa72730 (diff)
CTAN sync 202109070303
Diffstat (limited to 'macros/latex/contrib/easybook')
-rw-r--r--macros/latex/contrib/easybook/README.md14
-rw-r--r--macros/latex/contrib/easybook/easybook.dtx6
-rw-r--r--macros/latex/contrib/easybook/easybook.pdfbin590672 -> 578392 bytes
-rw-r--r--macros/latex/contrib/easybook/easybook.tex47
4 files changed, 11 insertions, 56 deletions
diff --git a/macros/latex/contrib/easybook/README.md b/macros/latex/contrib/easybook/README.md
index ac57d4e389..2d410a3109 100644
--- a/macros/latex/contrib/easybook/README.md
+++ b/macros/latex/contrib/easybook/README.md
@@ -1,6 +1,6 @@
# Easybook document class
-Easybook is a minimalist style template based on the ctexbook book document class, and it also has the functions of the book and article document classes, its basic macro package easybase can also be used with CTeX and standard document classes. Easybook considers some details and loads some almost necessary macro packages for packaging and improvement, and provides multiple commands and interfaces to make settings easy for users. It is suitable for typesetting Chinese and English dissertations, academic books or notes.
+Eeasybook is based on the book document class of ctexbook to create a minimalist style template. It also has the functions of book and article document class. Combined with the general framework design of the dissertation of various universities in China, providing multiple commands and interfaces allows users to easily customize the thesis template. Its basic macro package easybase can also be used with CTeX and standard document classes.
## License
@@ -8,16 +8,4 @@ This work may be distributed and/or modified under the conditions of the LPPL-1.
## Website
-| [Gitee](https://gitee.com/texl3/easybook) | [Github](https://github.com/texl3/easybook) | [CTAN](https://ctan.org/pkg/easybook) |
-
-# easybook 文档类
-
-easybook 是基于 ctexbook 书籍文档类创建以极简为风格的模板,同时兼具 book 与 article 文档类的用途,它的基础宏包 easybase 还可以搭配 CTeX 和标准文档类使用。easybook 考虑了一些细节并载入一些几乎必备的宏包进行包装和改进,提供多个命令和接口可以使用户简便地进行设置。它适用于排版中英文学位论文、学术书籍或者是笔记。
-
-## 协议
-
-可以使用 LPPL-1.3c 许可协议传播和修改此作品。此许可协议的最新版本位于 http://www.latex-project.org/lppl.txt
-
-## 网址
-
| [Gitee](https://gitee.com/texl3/easybook) | [Github](https://github.com/texl3/easybook) | [CTAN](https://ctan.org/pkg/easybook) | \ No newline at end of file
diff --git a/macros/latex/contrib/easybook/easybook.dtx b/macros/latex/contrib/easybook/easybook.dtx
index 3c11935729..c21f742ba7 100644
--- a/macros/latex/contrib/easybook/easybook.dtx
+++ b/macros/latex/contrib/easybook/easybook.dtx
@@ -15,7 +15,7 @@
%<*class>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e}
-\ProvidesExplClass{easybook}{2021/08/31}{1.29h}
+\ProvidesExplClass{easybook}{2021/09/06}{1.29p}
{Typeset Chinese theses or books}
\bool_set_false:N \l__eb_compile_draft_bool
@@ -297,7 +297,7 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\RequirePackage{l3keys2e,etoolbox}
-\ProvidesExplPackage{easybase}{2021/08/31}{1.29h}
+\ProvidesExplPackage{easybase}{2021/09/06}{1.29p}
{Typeset Chinese theses or books}
\cs_generate_variant:Nn \dim_add:Nn { NV,Nv }
@@ -2400,7 +2400,7 @@
}
%</package>
%<*tcolorbox>
-\ProvidesExplFile{eb-tcolorbox.cfg}{2021/08/31}{1.29h}
+\ProvidesExplFile{eb-tcolorbox.cfg}{2021/09/06}{1.29p}
{Customization of tcolorbox for easybook}
\tl_gset:Nn \eb@tc@line@skip { 0.5\baselineskip }
diff --git a/macros/latex/contrib/easybook/easybook.pdf b/macros/latex/contrib/easybook/easybook.pdf
index 61676923f4..a72a5948a3 100644
--- a/macros/latex/contrib/easybook/easybook.pdf
+++ b/macros/latex/contrib/easybook/easybook.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex
index a7b3d93c2f..83b27dad58 100644
--- a/macros/latex/contrib/easybook/easybook.tex
+++ b/macros/latex/contrib/easybook/easybook.tex
@@ -12,15 +12,15 @@
name = easybook,
color-scheme = blue,
title = EASYBOOK 使用手册,
- version = v1.29h,
- date = 2021/08/31,
+ version = v1.29p,
+ date = 2021/09/06,
authors = 瞿毅,
info = 排版简体中文学位论文和书籍,
email = quee123@foxmail.com,
url = https://gitee.com/texl3/easybook,
abstract =
{
- \cls*{easybook} 是基于 \cls*{ctexbook} 书籍文档类创建以极简为风格的模板,同时兼具 \cls*{book} 与 \cls*{article} 文档类的用途,它的基础宏包 \pkg*{easybase} 还可以搭配 C\TeX 和标准文档类使用。\cls*{easybook} 考虑了一些细节并载入一些几乎必备的宏包进行包装和改进,提供多个命令和接口可以使用户简便地进行设置。它适用于排版中英文学位论文、学术书籍或者是笔记。
+ \cls*{easybook} 是基于 \cls*{ctexbook} 书籍文档类创建以极简为风格的模板,同时兼具 \cls*{book} 与 \cls*{article} 文档类的功能。结合中国各高校学位论文的通用框架设计,提供多个命令和接口可以使用户简便地定制论文模板。它的基础宏包 \pkg*{easybase} 还可以搭配 C\TeX 和标准文档类使用。
},
arg-format = \normalfont\small\itshape,
abstract-format = \small,
@@ -727,9 +727,9 @@
\subsection{目录样式}
\label{subsec:catalog style}
-模块 \module*{tocset} 将使用 \pkg*{titletoc} 处理目录样式,\code{level} 代表 \code{part}、\code{chapter}、\code{section}、\code{subsection}、\code{figure}、\code{table} 和 \code{lstlisting} 级别的目录,而使用 \code{list} 级别可以统一设置图片、表格和代码目录的样式。目前目录支持适用于论文的常规样式,如果您需要例如段落或更复杂的样式可以使用本模块基于的 \cs*{titlecontents} 命令。
+模块 \module*{tocset} 将使用 \pkg*{titletoc} 处理目录样式,\module*{level} 代表 \code{part}、\code{chapter}、\code{section}、\code{subsection}、\code{figure}、\code{table} 和 \code{lstlisting} 级别的目录,而使用 \code{list} 级别可以统一设置图片、表格和代码目录的样式。目前目录支持适用于论文的常规样式,如果您需要例如段落或更复杂的样式可以使用本模块基于的 \cs*{titlecontents} 命令。
\begin{options}
- \keyval-{format}{目录标题格式}\Module{/(level)}
+ \keyval-{format}{目录标题格式}\Module{/<level>}
各级别目录中标题的格式,可以设置字体和加入垂直间距等,垂直间距最好使用防止垂直间距重合的 \cs*{addvspace} 命令。
\keyval-{format+}{目录标题格式}
与 \option{format} 用法一样,只是在已有的格式命令后附加代码。
@@ -762,8 +762,8 @@
\begin{options}
\keyval-{belowoffset}{刚性长度}\Module{tocset}\Default{-1pc}
主文档目录标题下方的间距补偿,一般为负值,用于抵消 \option{format} 中额外的垂直间距。
- \keyval-{belowoffset}{刚性长度}\Module{/(level)}\Default{0pc}
- \code{level} 代表 \code{figure}、\code{table} 和 \code{lstlisting} 三个级别目录标题下方间距补偿,也可以使用 \code{list} 统一设置,一般为正值。这个距离也可以用 C\TeX 标题下方距离选项修改。
+ \keyval-{belowoffset}{刚性长度}\Module{/<level>}\Default{0pc}
+ \module*{level} 代表 \code{figure}、\code{table} 和 \code{lstlisting} 三个级别目录标题下方间距补偿,也可以使用 \code{list} 统一设置,一般为正值。这个距离也可以用 C\TeX 标题下方距离选项修改。
\keyval-{lolskip}{弹性长度}\Module{tocset}\Default{0.8pc}
代码目录中每章代码标题的额外距离,与 C\TeX 的表格和图片目录中每章间的标题距离选项 \option*{lotskip} 和 \option*{lofskip} 类似,在 \cls*{article} 模式中此选项失效。
\keyval-{tocline-fig}{图片目录标签}
@@ -1185,39 +1185,6 @@
\end{commands}
\appendix
-
-\section{依赖的宏包}
-以下为 \pkg*{easybase} 直接调用的关键宏包,方括号内为宏包已使用的选项。蓝色的宏包表示截至当前在 \TeX Live 2021 中存在更新,旧版本并不影响使用。带有 \ding{72} 符号的宏包并未载入它们,仅做了一些预配置,可在导言区手动载入以实现相关的功能。
-\begin{description}[font = \normalfont\sffamily]
- \item[amsmath] 提供 \LaTeX 中的数学功能。
- \item[\passto{heading}{ctex}] 提供中文排版的通用框架。
- \item[chemformula] 提供了对化学式进行排版的命令。
- \item[caption] 在浮动环境中自定义题注。
- \item[\passto*{shortlabels,inline}{enumitem}] 提供列表环境的布局控制。
- \item[fancyhdr] 广泛控制页面的页眉和页脚。
- \item[graphicx] 增强了对图形插入的支持。
- \item[geometry] 灵活完整的页面尺寸设置。
- \item[\color{cnltxblue}hyperref] 处理交叉引用命令以及在文档中生成超文本链接。
- \item[listings] 可以在 \LaTeX 中排版程序/编程代码。
- \item[marginnote] 增强了边注输出的功能。
- \item[multicol] 混合单栏和多栏排版。
- \item[\passto{upint}{newtxmath}] 提供多种数学字体。
- \item[pdfpages] 在 \LaTeX 中插入 \code{pdf} 文档。
- \item[\passto{ctex}{spbmark}] 定制上标和下标的格式。
- \item[\color{cnltxblue}siunitx] 全面的国际标准单位支持。
- \item[setspace] 提供对文档中行间距的支持。
- \item[\color{cnltxblue}tabularray] 完全分离表格的内容和样式,并且可以通过键值方式完全设置表格。
- \item[thmtools] 用于通常需要的排版定理支持。
- \item[titletoc] 设置目录中的标题格式。
- \item[\passto*{normalem}{ulem}] 提供可断行多样式的下划线命令。
- \item[\passto*{svgnames}{xcolor}] 提供任意颜色的设定与混合。
- \item[\ding{72} \passto{list = off}{bicaption}] 提供图表的双语题注。
- \item[\ding{72} imakeidx] 可以让文档同时生成和排版一个或多个索引。
- \item[\ding{72} mathtools] 增强 \pkg*{amsmath} 的数学功能。
- \item[\color{cnltxblue}\ding{72} \passto{many}{tcolorbox}] 为带有标题线的彩色和带框文本框提供了一个环境。
- \item[\ding{72} unicode-math] 处理使用 \code{unicode} 编码的数学字体。
-\end{description}
-
\nocite{*}
\end{document} \ No newline at end of file