diff options
Diffstat (limited to 'macros/latex/contrib/spbmark/spbmark.tex')
-rw-r--r-- | macros/latex/contrib/spbmark/spbmark.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macros/latex/contrib/spbmark/spbmark.tex b/macros/latex/contrib/spbmark/spbmark.tex index 9fbf4962cf..3235237822 100644 --- a/macros/latex/contrib/spbmark/spbmark.tex +++ b/macros/latex/contrib/spbmark/spbmark.tex @@ -7,8 +7,8 @@ { package = spbmark, title = the spbmark package, - version = v1.46d, - date = 2024/02/13, + version = v1.46e, + date = 2024/02/16, authors = Qu Yi, info = Customize superscript and subscript, email = toquyi@163.com, @@ -163,8 +163,8 @@ The options common to \meta{kv list} of the three commands are as follows. They \keyval{regex}{regular expression}\newtag% After using the superscript or subscript command, this option is used to determine whether the \textcolor{red}{following} tokens match the \meta{regular expression}. If it does \textcolor{red}{not}, the width of the this marker returns to zero. \begin{example}[code-only] - \newcommand{\mysp}[2][]{\super[regex=\c{mysb},#2]{#1}} - \newcommand{\mysb}[2][]{\sub[regex=\c{mysp},#2]{#1}} + \newcommand{\mysp}[2][]{\super[regex=\c{mysb},#1]{#2}} + \newcommand{\mysb}[2][]{\sub[regex=\c{mysp},#1]{#2}} \end{example} \end{options} @@ -215,7 +215,7 @@ The following list of keys control the format both of superscript \emph{or} subs After the subscript command is used, the regular expression rules of the following tokens are matched. See Section \ref{sec:user commands} for the meaning of this option. \end{options} -If \option{sphmove} is positive, the superscript or subscript moves to the right, conversely it moves to the left. The positive direction of vertical offset of subscript and superscript is opposite. For superscript, if \option{spvmove} is positive, the superscript moves up, conversely it moves down. For subscript, if \option{spvmove} is positive, the subscript moves down, conversely it moves up. +If \option{sphmove} is positive, the superscript or subscript moves to the right, conversely it moves to the left. The positive direction of vertical offset of subscript and superscript is \textcolor{red}{opposite}. For superscript, if \option{spvmove} is positive, the superscript moves up, conversely it moves down. For subscript, if \option{spvmove} is positive, the subscript moves down, conversely it moves up. The following list of keys control the format of superscript \emph{and} subscript. \begin{options} |