diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/easybook/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/easybook/easybook.pdf | bin | 582435 -> 582618 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/easybook/easybook.tex | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/spbmark.pdf | bin | 81909 -> 85057 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/spbmark.tex | 49 |
6 files changed, 41 insertions, 24 deletions
diff --git a/Master/texmf-dist/doc/latex/easybook/README.md b/Master/texmf-dist/doc/latex/easybook/README.md index b8e72e87539..7300ee08f92 100644 --- a/Master/texmf-dist/doc/latex/easybook/README.md +++ b/Master/texmf-dist/doc/latex/easybook/README.md @@ -1,6 +1,6 @@ # Easybook document class -Easybook is a pure academic template created based on the ctexbook book document class. It also has the functions of book and article document class. Combined with the general framework design of the dissertation of many 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. +`easybook` is a pure academic template created based on the `ctexbook` book document class. It also has the functions of book and article document class. Combined with the general framework design of the dissertation of many 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 diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.pdf b/Master/texmf-dist/doc/latex/easybook/easybook.pdf Binary files differindex 3197e48a69a..3905c58b5a1 100644 --- a/Master/texmf-dist/doc/latex/easybook/easybook.pdf +++ b/Master/texmf-dist/doc/latex/easybook/easybook.pdf diff --git a/Master/texmf-dist/doc/latex/easybook/easybook.tex b/Master/texmf-dist/doc/latex/easybook/easybook.tex index eac5a47373d..f4042c30ec3 100644 --- a/Master/texmf-dist/doc/latex/easybook/easybook.tex +++ b/Master/texmf-dist/doc/latex/easybook/easybook.tex @@ -21,8 +21,8 @@ name = easybook, color-scheme = blue, title = EASYBOOK使用手册, - version = v1.638, - date = 2022/03/04, + version = v1.639, + date = 2022/03/05, authors = 瞿毅, info = 简便地排版中文学位论文或书籍, email = q1jx@foxmail.com, @@ -1172,15 +1172,15 @@ \subsection{图表题注} \begin{commands} - \command*{captionsetup}[\oarg{题注类型}\marg{键值列表}] + \command*{captionsetup}[\oarg{条目名}\marg{键值列表}] 这是 \pkg*{caption} 宏包的接口命令,\meta{键值列表} 提供多个选项更改图表题注的格式。题注主要由三部分组成:标题标签即图表名与题注编号的组合,标题文本本身通常是内容的简短描述,以及将文本与标签分开的题注分隔符。可以在导言区设置整体格式,也可以在正文使用局部更改格式。 \end{commands} \begin{commands}\noitemsep \command{caption}[\sarg\oarg{目录标题}\marg{标题}]\default{} - \command{captionof}[\sarg\marg{题注类型}\oarg{目录标题}\marg{标题}]\default{} - \command{bicaption}[\sarg\oarg{目录标题1}\marg{标题2}\oarg{目录标题1}\marg{标题2}] - 题注命令 \cs{caption} 用于在图表上下方插入题注,需要在浮动体环境 \env*{figure} 和 \env*{table} 中使用,在浮动环境外可以使用 \cs{captionof} 命令,第一个参数指定题注类型。\cs{bicaption} 命令可以实现中英文双语题注,需要在导言区载入 \pkg*{bicaption} 宏包,具体用法见说明文档。 + \command{captionof}[\sarg\marg{条目名}\oarg{目录标题}\marg{标题}]\default{} + \command{bicaption}[\sarg\oarg{目录标题1}\marg{标题1}\oarg{目录标题2}\marg{标题2}] + 题注命令 \cs{caption} 用于在图表上下方插入题注,需要在浮动体环境 \env*{figure} 和 \env*{table} 中使用。在浮动环境外可以使用 \cs{captionof} 命令,第一个参数指定条目名。可以搭配 \pkg*{newfloat} 宏包创建更多类型的浮动环境并设置相应题注。\cs{bicaption} 命令可以实现中英文双语题注,需要在导言区载入 \pkg*{bicaption} 宏包,具体用法见说明文档。 \end{commands} \subsection{化学式} diff --git a/Master/texmf-dist/doc/latex/spbmark/README.md b/Master/texmf-dist/doc/latex/spbmark/README.md index ed915ca1cab..93032ca3683 100644 --- a/Master/texmf-dist/doc/latex/spbmark/README.md +++ b/Master/texmf-dist/doc/latex/spbmark/README.md @@ -1,6 +1,6 @@ # The spbmark package -Spbmark provides three commands \super, \sub and \supersub to improve the layout of superscripts and subscripts which can be adjusted the relative position and format, and can be used in text and math mode. +`spbmark` provides three commands `\super`, `\sub` and `\supersub` to improve the layout of superscripts and subscripts which can be adjusted the relative position and format, and can be used in text and math mode. ## License diff --git a/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf b/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf Binary files differindex 93f58f43bd3..16a9936fffc 100644 --- a/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf +++ b/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf diff --git a/Master/texmf-dist/doc/latex/spbmark/spbmark.tex b/Master/texmf-dist/doc/latex/spbmark/spbmark.tex index 7cdd0b2bfdf..4405722a197 100644 --- a/Master/texmf-dist/doc/latex/spbmark/spbmark.tex +++ b/Master/texmf-dist/doc/latex/spbmark/spbmark.tex @@ -6,8 +6,8 @@ { package = spbmark, title = the spbmark package, - version = v1.39, - date = 2022/03/04, + version = v1.4, + date = 2022/03/05, authors = Qu Yi, info = Customize superscript and subscript, email = q1jx@foxmail.com, @@ -55,7 +55,7 @@ The following macro package options will redefine the script commands of the \La \keybool{math}\Default{false} \cs{sp} and \cs{sb} are equivalent to the \cs{super} and \cs{sub} commands. \keybool{foot}\Default{false} - The format of the footnote mark match the superscript move and format of the \cs{spbset} global setting. + The format of the footnote mark match the superscript global move and format settings. \opt{both} The values of \option{text} and \option{math} two options are \code{true} at the same time. \opt{all} @@ -69,26 +69,20 @@ The following macro package options will redefine the script commands of the \La \section{User commands} There are currently three commands to set superscript and subscript. Their format can be set temporarily using the optional parameters of the command, or set globally using a key-value list, see section \ref{sec:global control interface}. \begin{commands} - \command{super}[\oarg{kv list}\marg{content}\oarg{kv list}] + \command{super}[\sarg\oarg{kv list}\marg{content}\oarg{kv list}] This is a superscript output command. The two \meta{kv list} are equivalent. - \command{sub}[\oarg{kv list}\marg{content}\oarg{kv list}] + \command{sub}[\sarg\oarg{kv list}\marg{content}\oarg{kv list}] This is a subscript output command. The two \meta{kv list} are equivalent. - \command{supersub}[\oarg{kv list}\marg{super cont}\marg{sub cont}\oarg{kv list}] - This is a command that outputs both superscript and subscript at the same time. You can also use the shorter command \cs{spb} instead of it. The two \meta{kv list} are equivalent. - \command{defspbstyle}[\marg{style name}\marg{kv list}] - Defines the style of the superscript or subscript used for the \option{style} option. - \command{spbifmath}[\marg{math code}\marg{text code}] - In some cases, \code{math} or \code{text} output modes require different code for format or move. This command can be used when using the \code{match} option or changing the output mode locally, whitch should be used in the move or format options. It can switch the corresponding code according to different output modes. When the horizontal movement distance of the marker is \emph{non-negative}, since the \cs{super} and \cs{sub} commands put the marker in a horizontal box, the horizontal position is staggered when using superscript and subscript \emph{consecutively}, which is a different mechanism than the sequential use of \code{\^{}} and \code{\_} symbols in math mode. The following three commands save the width of the previous marker, use it for negative move of the \option{hmove} option of the next marker, and provide the corresponding alignment. It should be noted that the following commands should save the longer width of the marker, that is, the longer width of the marker in the front, the shorter width of the marker in the back. This is due to the fact that horizontal movement uses a negative distance to leave the marker in a zero-width box state. \command{llastwd}\newtag% - Save the width of the previous marker and provide left alignment. + Save the width of the previous marker and provide left alignment. This is actually the width of the previous marker, and is the same as the value of \cs{rlastwd} after the next command is used. \command{clastwd}\newtag% - Save the width of the previous marker and provide center alignment. + Save the width of the previous marker and provide center alignment. \command{rlastwd}\newtag% - Save the width of the previous marker and provide right alignment. + Save the width of the previous marker and provide right alignment. Actually this is the width of the next marker. \begin{example} A\super{bcd}\sub{e}B \\ A\super{bcd}\sub[hmove=-\llastwd]{e}B \\ @@ -96,6 +90,29 @@ There are currently three commands to set superscript and subscript. Their forma A\super{bcd}\sub[hmove=-\clastwd]{e}B \\ A\super{bcd}\sub[hmove=-\rlastwd]{e}B \\ \end{example} + \command{supersub}[\sarg\oarg{kv list}\marg{super cont}\marg{sub cont}\oarg{kv list}] + This is a command that outputs both superscript and subscript at the same time. You can also use the shorter command \cs{spb} instead of it. The two \meta{kv list} are equivalent. + \command{superwd} + Save the width of the superscript in the previous super-subscript command. + \command{subwd} + Save the width of the subscript in the previous super-subscript command. + \command{maxwd} + Save the maximum width of superscript and subscript in the previous super-subscript command. That is, it is the larger of the \cs{superwd} and \cs{subwd} commands. + + If horizontally move is negative and its absolute value is \emph{less} than the maximum width of the marker, then the marker overlaps the subsequent text. To avoid this use the command with the \emph{asterisk} parameter or adjust the horizontal distance with the marker length commands. + \begin{example} + \spbset{spvmove=5pt,vsep=1.8ex,spcmd=\color{blue}} + A\super[hmove=-8pt]{super}B \\ + A\supersub[hmove=-8pt]{examsuper}{sub}B \\ + A\super*[hmove=-8pt]{super}B \\ + A\supersub*[hmove=-8pt]{examsuper}{sub}B \\ + A\super[hmove=-8pt]{super}\hspace{\dimexpr(\llastwd-8pt)}B \\ + A\supersub[hmove=-8pt]{examsuper}{sub}\hspace{\dimexpr(\maxwd-8pt)}B + \end{example} + \command{defspbstyle}[\marg{style name}\marg{kv list}] + Defines the style of the superscript or subscript used for the \option{style} option. + \command{spbifmath}[\marg{math code}\marg{text code}] + In some cases, \code{math} or \code{text} output modes require different code for format or move. This command can be used when using the \code{match} option or changing the output mode locally, whitch should be used in the move or format options. It can switch the corresponding code according to different output modes. \command{spbshortkv}[\marg{short opt}\marg{key value}]\newtag% Converts any existing key-value pair to a shorthand option. The value of key \code{\#1} indicates that the shorthand option needs to be assigned a value. \begin{example} @@ -110,9 +127,9 @@ There are currently three commands to set superscript and subscript. Their forma The options common to \meta{kv list} of the three commands are as follows. They can also be used in \meta {key-value list} of the \cs{spbset} command. In this situation, in addition to \option{style} and \option{mode}, they will be set according to the type of the previous most recent command. \begin{options} \keyval{vmove}{fixed length}\Default{0pt} - Vertical move of superscript or subscript. Represents the extra vertical distance \option{vsep} between superscript and subscript in the superscript and subscript commands. + Vertical move of superscript or subscript. Represents the extra vertical distance \option{vsep} between superscript and subscript in super-subscript command. The vertical movement starts at the marker horizontal baseline position. \keyval{hmove}{fixed length}\Default{0pt} - Horizontal move of superscript or subscript. Represents the common move in the superscript and subscript commands. Moved values can be expressed mathematically: + Horizontal move of superscript or subscript. Represents the \emph{common} move of superscript and subscript in super-subscript command. The starting point for horizontal movement is to the left of the marker. Moved values can be expressed mathematically: \begin{example} A\super{b}[vmove=0.4ex+4pt/2,hmove=2pt*3-11.5pt] \\ A\supersub[vsep={3pt,6pt-2bp}]{examsuper}{sub} |