diff options
Diffstat (limited to 'macros/latex/contrib/spbmark/spbmark.tex')
-rw-r--r-- | macros/latex/contrib/spbmark/spbmark.tex | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/macros/latex/contrib/spbmark/spbmark.tex b/macros/latex/contrib/spbmark/spbmark.tex index 967ebbd694..5d8bebe053 100644 --- a/macros/latex/contrib/spbmark/spbmark.tex +++ b/macros/latex/contrib/spbmark/spbmark.tex @@ -6,8 +6,8 @@ { package = spbmark, title = the spbmark package, - version = v1.1G, - date = 2021/10/30, + version = v1.1H, + date = 2021/11/06, authors = Qu Yi, info = Customize superscript and subscript, email = q1jx@foxmail.com, @@ -41,14 +41,21 @@ \section{Macro package options} \label{sec:macro package options} +The following macro package options will redefine the scripts commands of the \LaTeX{} kernel. If you do not specify the values of boolean options, they default to \code{true}. \begin{options} - \opt{ctex}\Default! - This option works with the C\TeX{} document class used by simplified Chinese users, there's actually no functional change. Adding path \module*{style} to \cs*{ctexset} command, which is equivalent to using \cs{spbset}. - \keychoice{newsupb}{text,math,foot,all}\Default - \option{newsupb} is a compound option that can select multiple values and will redefine the scripts commands of the \LaTeX{} kernel. \code{text} stands for \cs{textsuperscript} and \cs{textsubscript} are equivalent to the \cs{super} and \cs{sub} commands. \code{math} indicates that \cs{sp} and \cs{sb} are equivalent to the \cs{super} and \cs{sub} commands. \code{foot} will make the format of the footnote mark match the superscript offsets and format of the \cs{spbset} global setting. \code{all} will selects all previous three values at the same time. + \keybool{text}\Default{false} + \cs{textsuperscript} and \cs{textsubscript} are equivalent to the \cs{super} and \cs{sub} commands. + \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 offsets and format of the \cs{spbset} global setting. + \opt{both}\Default! + The values of \option{text} and \option{math} two options are \code{true} at the same time. + \opt{all}\Default! + The values of \option{text}, \option{math} and \option{foot} three options are \code{true} at the same time. \begin{example}[code-only] - \usepackage[newsupb = {text,math,foot}]{spbmark} - \usepackage[newsupb = all]{spbmark} + \usepackage[both]{spbmark} + \usepackage[text,foot = true]{spbmark} \end{example} \end{options} |