From b7a48c5e229d2c195b6a32bfd73a1036a31f2df3 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 4 Feb 2022 03:01:19 +0000 Subject: CTAN sync 202202040301 --- macros/latex/contrib/easybook/easybook.tex | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'macros/latex/contrib/easybook/easybook.tex') diff --git a/macros/latex/contrib/easybook/easybook.tex b/macros/latex/contrib/easybook/easybook.tex index 355b35bd00..2ea2f54526 100644 --- a/macros/latex/contrib/easybook/easybook.tex +++ b/macros/latex/contrib/easybook/easybook.tex @@ -21,8 +21,8 @@ name = easybook, color-scheme = blue, title = EASYBOOK 使用手册, - version = v1.60, - date = 2022/02/02, + version = v1.61, + date = 2022/02/03, authors = 瞿毅, info = 排版简体中文学位论文和书籍, email = q1jx@foxmail.com, @@ -44,9 +44,9 @@ \addtokomafont{subsection}{\normalfont\sffamily} \addtokomafont{subsubsection}{\normalfont\sffamily} \DeclareTOCStyleEntry[entryformat = \sffamily]{default}{section} +\DeclareFieldFormat[book]{title}{\textsf{#1}} \geometry{margin = 1in,marginparwidth = 0.65in} \SetEnumitemValue{label}{smallbullet}{\small\color{Blue}\textbullet} -\DeclareFieldFormat[book]{title}{\textsf{#1}} \setlist{nosep,topsep = \smallskipamount,labelsep = 0.5em} \setlist[1]{labelindent = \parindent} \setlist[itemize,1]{label = smallbullet,leftmargin = *} @@ -86,6 +86,7 @@ \newcommand{\spemmeta}{\splitmeta[\code{|}]} \newsplitarg[\spemmeta]{\spemcoarg}{[}{]} \newcommand{\harg}{\textcolor{argument}{\code{-}}} +% Remove default braces of values \RenewDocumentCommand{\key}{s} { \IfBooleanTF{#1}{\cnltx@key@aux*}{\cnltx@key@aux{}} @@ -614,15 +615,15 @@ \begin{options} \keychoice*{heading}{bibliography,subbibliography,bibintoc,subbibintoc}\Default{bibintoc} 参考文献通常有一个章标题或者节标题,该选项选择由 \cs*{defbibheading} 定义的标题名。 - \keyval*-{title}{参考文献标题名} + \keyval*{title}{参考文献标题名} 如果标题定义支持的话,该选项覆盖由 \option*{heading} 选项提供的缺省标题名。 - \keyval*-{prenote}{参考文献前注} + \keyval*{prenote}{参考文献前注} 该选项选择由 \cs*{defbibnote} 所定义的前注,缺省状态下不打印任何前注。 - \keyval*-{section}{整数}\Default{0} + \keyval*{section}{整数}\Default{0} 只打印在指定文节中引用的条目。该参考文献节从 1 开始编号,所有在 \env*{refsection} 环境外给出的引用标记为第零节。 - \keyval*-{type}{条目类型} + \keyval*{type}{条目类型} 指定条目的打印类型。 - \keyval*-{filter}{过滤器名} + \keyval*{filter}{过滤器名} 使用由 \cs*{defbibfilter} 定义的 \option*{filter} 来过滤条目。 \end{options} @@ -642,15 +643,15 @@ \command{declaretheorem}[\oarg{键值列表1}\marg{环境名}\oarg{键值列表2}]\Module{thmset} 定理环境声明命令。可选参数的 \meta{键值列表1} 与 \meta{键值列表2} 等效,其中常用的选项如下: \begin{options} - \keyval*-{name}{定理名} + \keyval*{name}{定理名} 定理环境的标题名称,默认为英文首字母大写的环境名。 \keychoice*{numbered}{no,yes,unless unique} 定理可以被编号、不被编号或者只有在文档中多次出现时才被编号。 \keychoice*{within}{chapter,section,empty,counter} 定理编号跟随的计数器。当计数器值递增时定理编号会从零开始,通常这是一个章节计数器。 - \keyval*-{numberlike}{计数器} + \keyval*{numberlike}{计数器} 定理将使用此 \meta{计数器} 进行编号,通常这是另一个定理环境的名称。 - \keyval*-{style}{定理样式} + \keyval*{style}{定理样式} 选项的值为使用 \cs{declaretheoremstyle} 命令新定义的定理样式。 \end{options} @@ -710,7 +711,7 @@ \keyval{footruleskip}{页脚线间距}\Default*{3.5pt} \kvsplit*{hdivide}{左边距,页面文本宽度,右边距}\default{} \kvsplit*{hmargin}{左边距,右边距}\default{} - \keyval*-{textheight}{页面文本高度}\default{} + \keyval*{textheight}{页面文本高度}\default{} \keybool*{nofoot}\Default*{false} \begin{ctexexam} \ebgeoset -- cgit v1.2.3