summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-02-02 22:13:05 +0000
committerKarl Berry <karl@freefriends.org>2021-02-02 22:13:05 +0000
commit4c5f7de7e2bd10fad49a980de674f1299f89dda5 (patch)
tree708b02797c946e5d9d7f0891fd993e329696dee2 /Master/texmf-dist/doc/latex
parentd54b26c1bcb69a4c1a9b0d2982964ba5afe351e1 (diff)
easybook (2feb21)
git-svn-id: svn://tug.org/texlive/trunk@57596 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/easybook/chapter1.tex29
-rw-r--r--Master/texmf-dist/doc/latex/easybook/chapter2.tex6
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook-demo.pdfbin308574 -> 300438 bytes
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook-demo.tex3
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook.pdfbin224777 -> 224735 bytes
-rw-r--r--Master/texmf-dist/doc/latex/easybook/easybook.tex11
-rw-r--r--Master/texmf-dist/doc/latex/easybook/preface.tex22
7 files changed, 24 insertions, 47 deletions
diff --git a/Master/texmf-dist/doc/latex/easybook/chapter1.tex b/Master/texmf-dist/doc/latex/easybook/chapter1.tex
index ffb86ee290e..80157ecaacd 100644
--- a/Master/texmf-dist/doc/latex/easybook/chapter1.tex
+++ b/Master/texmf-dist/doc/latex/easybook/chapter1.tex
@@ -6,21 +6,21 @@
\section{公式}\index{g@公式}
\zhlipsum*[42][name = aspirin]
-\begin{equation}\label{eq1}
+\begin{equation}\label{eq:matrix}
\bm{A} = \left[
- \begin{matrix}
- a_{11} & a_{12} & \cdots & a_{1n} \\
- a_{21} & a_{22} & \cdots & a_{2n} \\
- \vdots & \vdots & \ddots & \vdots \\
- a_{m1} & a_{m2} & \cdots & a_{mn} \\
- \end{matrix}
+ \begin{matrix}
+ a_{11} & a_{12} & \cdots & a_{1n} \\
+ a_{21} & a_{22} & \cdots & a_{2n} \\
+ \vdots & \vdots & \ddots & \vdots \\
+ a_{m1} & a_{m2} & \cdots & a_{mn} \\
+ \end{matrix}
\right] = \left[
\begin{matrix}
\bm{a}_1 & \bm{a}_2 & \cdots & \bm{a}_n
\end{matrix}
\right]
\end{equation}
-可以通过添加标签在正文中引用公式,如带有中文括号的引用\cref{eq1}。
+可以通过添加标签在正文中引用公式,如带有中文括号的引用\cref{eq:matrix}。
\zhlipsum*[56][name = aspirin]
\begin{equation}
@@ -35,16 +35,17 @@
\begin{subnumcases}{y =}
C_1e^{r_1x}+C_2e^{r_2x} & \quad $p^2-4q > 0$
\\
- \left(C_1+C_2\right)e^{r_1x} & \quad $p^2-4q=0$
+ \left(C_1+C_2\right)e^{r_1x} & \quad $p^2-4q = 0$
\\
- e^{\alpha x}\left(C_1\cos\beta x+C_2\sin\beta x\right) & \quad $p^2-4q<0$
+ e^{\alpha x}\left(C_1\cos\beta x+C_2\sin\beta x\right) & \quad $p^2-4q < 0$
\end{subnumcases}
\zhlipsum*[57][name = aspirin]
+\vfill{\small\doclicenseThis}
\clearpage
\section{插图}\index{c@插图}
-当我们需要排列一组子图共享标题的图片时,可以使用依赖于 \lstinline{caption} 宏包的 \lstinline{subcaption} 宏包的功能,效果见\cref{fig1}。
+当我们需要排列一组子图共享标题的图片时,可以使用依赖于 \lstinline{caption} 宏包的 \lstinline{subcaption} 宏包的功能,效果见\cref{fig:example}。
\begin{figure}[htbp]
\centering
\subcaptionbox{并排子图1}
@@ -52,14 +53,14 @@
\hspace{1.2em}
\subcaptionbox{并排子图2}
{\includegraphics[width=0.4\textwidth]{example-image-4x3}}
- \bicaption[使用subcaption排版子图]{使用subcaption宏包的subcaptionbox命令排版子图}[Use subcaption to typeset subgraphs]{Use the subcaptionbox command of the subcaption package to typeset sub-pictures}\label{fig1}
+ \bicaption[使用subcaption排版子图]{使用subcaption宏包的subcaptionbox命令排版子图}[Use subcaption to typeset subgraphs]{Use the subcaptionbox command of the subcaption package to typeset sub-pictures}\label{fig:example}
\end{figure}
\section{表格}\index{b@表格}
-合并表格列使用 \lstinline{\multicolumn} 命令,合并行使用 \lstinline{\multirowcell} 命令。当插入的表格内容过长以至于一行放不下的情况可以使用 \lstinline{tabularx} 环境,设置了\textsf{L、C和R}三个列对齐选项,一个例子如\cref{tab1} 所示。
+合并表格列使用 \lstinline{\multicolumn} 命令,合并行使用 \lstinline{\multirowcell} 命令。当插入的表格内容过长以至于一行放不下的情况可以使用 \lstinline{tabularx} 环境,设置了\textsf{L、C和R}三个列对齐选项,一个例子如\cref{tab:example} 所示。
\begin{table}[htbp]
\centering
- \bicaption{使用tabularx创建内容过长表格}{Use tabularx to create a table with too long content}\label{tab1}\small
+ \bicaption{使用tabularx创建内容过长表格}{Use tabularx to create a table with too long content}\label{tab:example}\small
\begin{tabularx}{0.87\textwidth}{@{}llL@{}}
\toprule
Aliquam & Integer & Pellentesque tincidunt purus
diff --git a/Master/texmf-dist/doc/latex/easybook/chapter2.tex b/Master/texmf-dist/doc/latex/easybook/chapter2.tex
index c81e0d01bcd..49e9d1e8246 100644
--- a/Master/texmf-dist/doc/latex/easybook/chapter2.tex
+++ b/Master/texmf-dist/doc/latex/easybook/chapter2.tex
@@ -10,17 +10,17 @@
\end{outline}
\section{定理}\index{d@定理}
-\begin{theorem}[(高斯公式\footnote{选自高等数学公式。})]\label{gauss formula}\index{d@定理!g@高斯公式}
+\begin{theorem}[(高斯公式\footnote{选自高等数学公式。})]\label{theorem:gauss formula}\index{d@定理!g@高斯公式}
设空间闭区域$\Omega$是由分片光滑的闭曲面$\Sigma$围成,若函数$P(x,y,z)$,$Q(x,y,z)$,$R(x,y,z)$在$\Omega$上具有一节连续偏导数,则有
\begin{align}
\iiint_\Omega\left(\frac{\partial P}{\partial x}+\frac{\partial Q}{\partial y}+\frac{\partial R}{\partial x}\right)\mathrm{d}V & =\oiint_\Sigma P\mathrm{d}y\mathrm{d}z+Q\mathrm{d}z\mathrm{d}x+R\mathrm{d}x\mathrm{d}y
\\
& =\oiint_\Sigma \left(P\cos\alpha+Q\cos\beta+R\cos\gamma\right)\mathrm{d}S
\end{align}
-这里$\Sigma$是整个边界曲面$\Omega$的外侧,$\cos\alpha,\cos\beta,\cos\gamma$是$\Sigma$在点$(x,y,z)$处的法向量的方向余弦。引用这个公式如\cref{gauss formula}。
+这里$\Sigma$是整个边界曲面$\Omega$的外侧,$\cos\alpha,\cos\beta,\cos\gamma$是$\Sigma$在点$(x,y,z)$处的法向量的方向余弦。引用这个公式如\cref{theorem:gauss formula}。
\end{theorem}
-\begin{definition}[(Stokes formula)]\label{defi1}\index{d@定理!s@Stokes formula}
+\begin{definition}[(Stokes formula)]\index{d@定理!s@Stokes formula}
Let $\Gamma$ be a piecewise smooth directed closed curve, $\Sigma$ is a piecewise smooth directed surface bounded by $\Gamma$, the side of $\Gamma$ and the positive direction of $\Sigma$ According to the right-hand rule, if the function $P(x,y,z)$, $Q(x,y,z)$, $R(x,y,z)$ has a first-order continuous deviation on the curve $\Sigma$ Derivative, then
\begin{multline}
\iint_\Sigma\left(\frac{\partial R}{\partial y}-\frac{\partial Q}{\partial z}\right)\mathrm{d}y\mathrm{d}z+\left(\frac{\partial P}{\partial z}-\frac{\partial R}{\partial x}\right)\mathrm{d}z\mathrm{d}x+\left(\frac{\partial Q}{\partial x}-\frac{\partial P}{\partial y}\right)\mathrm{d}x\mathrm{d}y
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
index 6ec49c1b3c6..a30d93392eb 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
+++ b/Master/texmf-dist/doc/latex/easybook/easybook-demo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
index e96706fd812..3d9712293f5 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
+++ b/Master/texmf-dist/doc/latex/easybook/easybook-demo.tex
@@ -96,13 +96,12 @@
\edge~\url{https://latexstudio.net} \\
\url{https://ctan.org/pkg/easybook}
}
- \date{2021/02/01\hskip\ccwd\relax v1.22}
+ \date{2021/02/02\hskip\ccwd\relax v1.23}
}
\begin{document}
\frontmatter
\maketitle
-\subfile{pages/preface}
\tableofcontents
\mainmatter
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.pdf b/Master/texmf-dist/doc/latex/easybook/easybook.pdf
index 4ff8a3ab795..6dac946312b 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook.pdf
+++ b/Master/texmf-dist/doc/latex/easybook/easybook.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.tex b/Master/texmf-dist/doc/latex/easybook/easybook.tex
index 3da60e77e25..d2a9be0bdfb 100644
--- a/Master/texmf-dist/doc/latex/easybook/easybook.tex
+++ b/Master/texmf-dist/doc/latex/easybook/easybook.tex
@@ -1,14 +1,13 @@
\documentclass{ctxdoc}
\hypersetup
{
- colorlinks,
linkcolor = blue,
urlcolor = blue
}
\title{\sffamily easybook书籍文档类}
\author{瞿毅}
-\date{2021/02/01\hskip\ccwd\relax v1.22\thanks{\url{https://gitee.com/texl3/easybook}}}
+\date{2021/02/02\hskip\ccwd\relax v1.23\thanks{\url{https://gitee.com/texl3/easybook}}}
\begin{document}
\maketitle
@@ -80,7 +79,7 @@
同时开启 \opt{newline}、\opt{entitle} 和 \opt{english} 三个选项以符合英文原生风格。
\end{function}
-\begin{function}[rEXP,added = 2021-01-05,updated = 2021-02-01]{font}
+\begin{function}[rEXP,added = 2021-01-05,updated = 2021-02-02]{font}
\begin{syntax}
font = <adobe|founder|mac|windows|linux|(overleaf)|noto|none>
\end{syntax}
@@ -112,7 +111,7 @@
\end{function}
\subsection{风格}
-\begin{function}[EXP,added = 2021-01-05,updated = 2021-02-01]{style/color,style/capdash,style/multoc,style/withpart,style/perpart,style/perpage,style/notomath}
+\begin{function}[EXP,added = 2021-01-05,updated = 2021-02-02]{style/color,style/capdash,style/multoc,style/withpart,style/perpart,style/perpage,style/notomath}
\begin{syntax}
color = <(none)|forest|energy|cyberpunk>
capdash = <true|(false)>
@@ -123,7 +122,7 @@
notomath = <(true)|false>
\end{syntax}
\changes{v1.10}{2021/01/08}{更改颜色实现方式与选项名。}
-\changes{v1.22}{2021/02/01}{noto风格的数学字体独立出来,可自定义设置。}
+\changes{v1.23}{2021/02/02}{noto风格的数学字体独立出来,可自定义设置。}
\opt{style} 选项控制文章的风格。
\end{function}
@@ -148,7 +147,7 @@
\begin{function}[EXP,added = 2021-01-05,updated = 2021-01-08]{link/hyperlink,link/linkcolor,link/linktopage}
\begin{syntax}
hyperlink = <(edge)|various|none>
- linkcolor = <(graphite)|cutepink|skyblue|crimson>
+ linkcolor = <(fresh)|cutepink|skyblue|crimson>
linktopage = <true|(false)>
\end{syntax}
\changes{v1.10}{2021/01/08}{修复了 \opt{linktopage} 选项关闭时目录中标题编号无超链接的问题。}
diff --git a/Master/texmf-dist/doc/latex/easybook/preface.tex b/Master/texmf-dist/doc/latex/easybook/preface.tex
deleted file mode 100644
index d913c3abe16..00000000000
--- a/Master/texmf-dist/doc/latex/easybook/preface.tex
+++ /dev/null
@@ -1,22 +0,0 @@
-% Preface
-\documentclass[../easybook-demo]{subfiles}
-\begin{document}
-
-\chapter*{前言}
-
-\lstinline{easybook} 使用\LaTeX 3语法将选项扩展入\CTeX 宏集接口命令 \lstinline{\ctexset} 的列表。如果无法编译以及选项说明细节参见~\href{./easybook.pdf}{easybook用户手册}。
-
-\begin{enumerate}[label = \color{DarkBlue}\protect\circled{\arabic*}]
-\item 增加 \lstinline{bibset} 选项,可以使用 \lstinline{bibtex} 或 \lstinline{biber} 编译参考文献。
-\item 修复单面文档时页眉横线消失的问题。
-\item 修复了 \lstinline{linktopage} 选项关闭时目录中标题编号无超链接的问题。
-\item 增加 \lstinline{elfont} 选项可以自定义图表、代码、脚注和边注的字体。
-\item 增加 \lstinline{config} 选项可以载入用户配置文件。
-\item 优化页眉页脚,单面或双面排版适配了不同风格。
-\item 更改草稿选项,与标准文类行为一致并显示页面边框。
-\item 使用功能更丰富的 \lstinline{thmtools} 设置定理环境。
-\end{enumerate}
-
-\vfill{\small\doclicenseThis}
-
-\end{document} \ No newline at end of file