summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/easybook/doc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-02-28 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2021-02-28 03:01:24 +0000
commit189140b53960215eec1626503040fb38360ab4ed (patch)
treee7551ffd51e263ef259dcd95668d5b35377590cd /macros/latex/contrib/easybook/doc
parent4e6fb7c03bc033485887a99d2ffeca70ef8c0644 (diff)
CTAN sync 202102280301
Diffstat (limited to 'macros/latex/contrib/easybook/doc')
-rw-r--r--macros/latex/contrib/easybook/doc/easybook-demo.pdfbin290207 -> 290203 bytes
-rw-r--r--macros/latex/contrib/easybook/doc/easybook-demo.tex28
-rw-r--r--macros/latex/contrib/easybook/doc/easybook.pdfbin232847 -> 233035 bytes
-rw-r--r--macros/latex/contrib/easybook/doc/easybook.tex20
-rw-r--r--macros/latex/contrib/easybook/doc/pages/chapter3.tex2
5 files changed, 25 insertions, 25 deletions
diff --git a/macros/latex/contrib/easybook/doc/easybook-demo.pdf b/macros/latex/contrib/easybook/doc/easybook-demo.pdf
index b5aa905abf..67992f6a26 100644
--- a/macros/latex/contrib/easybook/doc/easybook-demo.pdf
+++ b/macros/latex/contrib/easybook/doc/easybook-demo.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/doc/easybook-demo.tex b/macros/latex/contrib/easybook/doc/easybook-demo.tex
index fae23008c3..9c59b2c7a4 100644
--- a/macros/latex/contrib/easybook/doc/easybook-demo.tex
+++ b/macros/latex/contrib/easybook/doc/easybook-demo.tex
@@ -16,7 +16,8 @@
% perpart = true,
perpage = true,
% notomath = false,
- rulewidth = 0.75pt
+ rulewidth = 0.75pt,
+ % uppercase = false
},
link =
{
@@ -57,9 +58,9 @@
},
hdrset =
{
- \easyhead[EC]{\color{DarkViolet}\kaishu\leftmark}
- \easyhead[OC]{\color{DarkViolet}\kaishu\rightmark}
- \easyhead[EL,OR]{\color{DarkViolet}\thepage}
+ \easyhead[EC]{\color{SeaGreen}\kaishu\leftmark}
+ \easyhead[OC]{\color{SeaGreen}\kaishu\rightmark}
+ \easyhead[EL,OR]{\color{SeaGreen}\thepage}
},
tocset =
{
@@ -85,20 +86,17 @@
% tocdepth = 2
}
-\AfterPreamble
+\begin{document}
+\title{\sffamily easybook书籍文档类}
+\author
{
- \title{\sffamily easybook书籍文档类}
- \author
- {
- 瞿毅\thanks{texeasybook@foxmail.com.} \\
- \git~\url{https://gitee.com/texl3/easybook}\thanks{Gitee为项目的主要发布地址。} \\
- \github~\url{https://github.com/texl3/easybook} \\
- \edge~\url{https://latexstudio.net}
- }
- \date{2021/02/23\hskip\ccwd\relax v1.23g}
+ 瞿毅\thanks{texeasybook@foxmail.com.} \\
+ \git~\url{https://gitee.com/texl3/easybook}\thanks{Gitee为项目的主要发布地址。} \\
+ \github~\url{https://github.com/texl3/easybook} \\
+ \edge~\url{https://latexstudio.net}
}
+\date{2021/02/27\hskip\ccwd\relax v1.23h}
-\begin{document}
\frontmatter[roman]
\maketitle
\tableofcontents
diff --git a/macros/latex/contrib/easybook/doc/easybook.pdf b/macros/latex/contrib/easybook/doc/easybook.pdf
index 411175f913..6a7da0e2f3 100644
--- a/macros/latex/contrib/easybook/doc/easybook.pdf
+++ b/macros/latex/contrib/easybook/doc/easybook.pdf
Binary files differ
diff --git a/macros/latex/contrib/easybook/doc/easybook.tex b/macros/latex/contrib/easybook/doc/easybook.tex
index f01e75319e..3cc05243f7 100644
--- a/macros/latex/contrib/easybook/doc/easybook.tex
+++ b/macros/latex/contrib/easybook/doc/easybook.tex
@@ -3,7 +3,7 @@
\title{\sffamily easybook书籍文档类}
\author{瞿毅}
-\date{2021/02/23\hskip\ccwd\relax v1.23g\thanks{\url{https://gitee.com/texl3/easybook}}}
+\date{2021/02/27\hskip\ccwd\relax v1.23h\thanks{\url{https://gitee.com/texl3/easybook}}}
\begin{document}
\maketitle
@@ -98,7 +98,7 @@
\tn{frontmatter}\oarg{编号格式|(Roman)}
\tn{printindex}\oarg{索引名}
\end{syntax}
-\changes{v1.23g}{2021/02/20}{重新定义文档结构划分命令。}
+\changes{v1.23h}{2021/02/20}{重新定义文档结构划分命令。}
\tn{frontmatter} 为前言区命令,章标题不编号,页码可设置为例如 \opt{roman}、\opt{Alph} 等格式,带有星号的命令 \tn{frontmatter*} 不使用 \tn{cleardoublepage}。\tn{mainmatter} 为主文区命令,章标题正常编号且页码为从1开始计数的阿拉伯数字,\tn{mainmatter*} 命令不使用 \tn{cleardoublepage}。\tn{backmatter} 为后记区命令,页码格式与编号保持不变,章标题不编号。\tn{listoffigures} 命令输出图片目录,\tn{listoftables} 命令输出表格目录,\tn{listoflistings} 命令输出代码目录。
\end{function}
@@ -119,7 +119,7 @@
\end{function}
\subsection{风格}
-\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{function}[EXP,added = 2021-01-05,updated = 2021-02-27]{style/color,style/capdash,style/multoc,style/withpart,style/perpart,style/perpage,style/notomath,style/rulewidth,style/uppercase}
\begin{syntax}
color = <(none)|seaside|energy|cyberpunk>
capdash = <true|(false)>
@@ -129,10 +129,11 @@
perpage = <true|(false)>
notomath = <(true)|false>
rulewidth = <(0.75pt)>
+ uppercase = <(true)|false>
\end{syntax}
\changes{v1.10}{2021/01/08}{更改颜色实现方式与选项名。}
-\changes{v1.23g}{2021/02/02}{noto风格的数学字体独立出来,可自定义设置。}
-\changes{v1.23g}{2021/02/09}{增加控制页面横线粗细的选项。}
+\changes{v1.23h}{2021/02/02}{noto风格的数学字体独立出来,可自定义设置。}
+\changes{v1.23h}{2021/02/09}{增加控制页面横线粗细的选项。}
\opt{style} 选项控制文章的风格。
\end{function}
@@ -152,6 +153,7 @@
\item[perpage] 使脚注跟随每一页编号,默认不跟随。
\item[notomath] 使用 \opt{noto} 风格的数学字体,将会加载 \pkg{newtxmath} 宏包。
\item[rulewidth] 调整页眉、定理盒子以及代码框线条的粗细。
+ \item[uppercase] 使用 \tn{rightmark} 及 \tn{leftmark} 获取标题内容设置页眉页脚时英文是否大小写。
\end{optdesc}
\subsection{超链接}
@@ -188,7 +190,7 @@
footnote = <(1)>
\end{syntax}
\changes{v1.21}{2021/01/12}{增加脚注线间的距离选项。}
-\changes{v1.23g}{2021/02/09}{取消使用 \pkg{zhlineskip} 宏包设置数学间距。}
+\changes{v1.23h}{2021/02/09}{取消使用 \pkg{zhlineskip} 宏包设置数学间距。}
行距因子用于设置各种行距倍数,只能是浮点数,不能带有长度单位。\tn{ctexset} 原有的行距选项\opt{linespread}失效。各行距既可在导言区全局设置也可正文中设置对后面生效,行距的意义为
\end{function}
@@ -210,7 +212,7 @@
marginpart = <\tn{rmfamily}\tn{footnotesize}>
\end{syntax}
\changes{v1.10}{2021/01/08}{加入自定义非正文字体选项。}
-\changes{v1.23g}{2021/02/08}{修复使用 \tn{zihao} 命令设置字体失效的问题。}
+\changes{v1.23h}{2021/02/08}{修复使用 \tn{zihao} 命令设置字体失效的问题。}
\end{function}
\begin{optdesc}
@@ -231,7 +233,7 @@
\tn{printbibliography}\oarg{选项列表}
\end{syntax}
\changes{v1.21}{2021/01/11}{增加 \opt{bibset} 选项,可以使用 \hologo{BibTeX} 或 \hologo{biber} 编译参考文献。}
-\changes{v1.23g}{2021/02/23}{使用 \opt{bibset} 选项时可设置标注风格。}
+\changes{v1.23h}{2021/02/23}{使用 \opt{bibset} 选项时可设置标注风格。}
\end{function}
\begin{optdesc}
@@ -430,7 +432,7 @@
\tn{item} <习题内容>
\tn{end}\marg{exercise}
\end{syntax}
-\changes{v1.23g}{2021/02/08}{增加准确的习题盒子标题目录锚点。}
+\changes{v1.23h}{2021/02/08}{增加准确的习题盒子标题目录锚点。}
习题环境 \opt{exercise} 的标题紧接上一节编号并加入目录与页眉,当使用星号环境时不进行编号。三个可选参数中颜色为自定义或 \pkg{xcolor} 包含的颜色名称,正文编号格式与小节 \ref{sort list} 排序列表相同,标题名默认为摘要,参数只能\textbf{从右往左}省略。
\begin{ctexexam}
\begin{exercise}[LightYellow][1.][习题]
diff --git a/macros/latex/contrib/easybook/doc/pages/chapter3.tex b/macros/latex/contrib/easybook/doc/pages/chapter3.tex
index 0dd968f26d..3d0a88bb1f 100644
--- a/macros/latex/contrib/easybook/doc/pages/chapter3.tex
+++ b/macros/latex/contrib/easybook/doc/pages/chapter3.tex
@@ -33,7 +33,7 @@ HN-[::+60]CH_3)=-(-HO)=)}\]
\clearpage
\section{引用}
\index{y@引用}
-\zhlipsum[8][name = aspirin]
+
\subsection{索引}
\index{y@引用!s@索引}
\zhlipsum[8][name = aspirin]