diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/spbmark/spbmark.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/spbmark.tex | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/spbmark/spbmark.tex b/Master/texmf-dist/doc/latex/spbmark/spbmark.tex index b068ce5ed83..727ee086a7a 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.44, - date = 2024/02/04, + version = v1.46, + date = 2024/02/05, authors = Qu Yi, info = Customize superscript and subscript, email = toquyi@163.com, @@ -19,7 +19,7 @@ color-scheme = blue, title-format = \huge\bfseries\scshape, listings-options = {numbers = none,gobble = 2,lineskip = 1pt}, - pre-output = {\parindent = 0em \setstretch{1.3}}, + pre-output = {\parindent = 0em\setstretch{1.3}}, before-skip = \smallskipamount, after-skip = \smallskipamount } @@ -40,6 +40,7 @@ \newsplitarg{\splitdarg}{(}{)} \newnote{\newtag}[1][New]{\textcolor{red}{\ding{73}\ #1}} \renewcommand{\emph}[1]{\textcolor{red}{#1}} +\renewcommand{\cnltx@write@lastname}{} \makeatother \begin{document} @@ -47,12 +48,17 @@ \label{sec:macro package options} The following macro package options will redefine the script commands of the \LaTeX{} kernel. If you do not specify the values of boolean options, they default to \code{true}. These options can also be changed in the preamble area and main body using the global control command \cs{sbpset}. \begin{options} - \keychoice{text}{true,\fbox{false}} - \cs{textsuperscript} and \cs{textsubscript} are equivalent to the \cs{super} and \cs{sub} commands. - \keychoice{math}{true,\fbox{false}} - \cs{sp} and \cs{sb} are equivalent to the \cs{super} and \cs{sub} commands. - \keychoice{foot}{true,\fbox{false}} - The format of the footnote mark match the superscript global move and format settings. + \keychoice{text}{true,\fbox{false}}\newtag[Changed]% + \cs{textsuperscript} and \cs{textsubscript} are equivalent to the \cs{super} and \cs{sub} commands. At this point, you can use the \cs{defspbstyle} command to define the style \code{textsp} and \code{textsb} to change the format of the text superscript and subscript. + \keychoice{math}{true,\fbox{false}}\newtag[Changed]% + \cs{sp} and \cs{sb} are equivalent to the \cs{super} and \cs{sub} commands. At this point, you can use the \cs{defspbstyle} command to define the style \code{mathsp} and \code{mathsb} to change the format of the math superscript and subscript. + \keychoice{foot}{true,\fbox{false}}\newtag[Changed]% + The format of the footnote mark match the superscript global move and format settings. At this point, you can use the \cs{defspbstyle} command to define the superscript style \code{fnmark} to change the format of the footnote mark. + \begin{example}[code-only] + \defspbstyle{textsp}{vmove=-1pt,cmd=\bfseries} + \defspbstyle{mathsb}{hmove=0.5em} + \defspbstyle{fnmark}{cmd=\small\color{red}} + \end{example} \keychoice{both}{true,\fbox{false}} The values of \option{text} and \option{math} two options are \code{true} or \code{false} at the same time. \keychoice{all}{true,\fbox{false}} @@ -60,7 +66,7 @@ The following macro package options will redefine the script commands of the \La \begin{example}[code-only] \usepackage[both]{spbmark} \usepackage[text,foot=true]{spbmark} - \spbset{all = false,math} + \spbset{all=false,math} \end{example} \end{options} |