summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/spbmark/spbmark.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/spbmark/spbmark.tex')
-rw-r--r--macros/latex/contrib/spbmark/spbmark.tex15
1 files changed, 8 insertions, 7 deletions
diff --git a/macros/latex/contrib/spbmark/spbmark.tex b/macros/latex/contrib/spbmark/spbmark.tex
index a2f0e7e5a0..28025db66c 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.42,
- date = 2022/10/15,
+ version = v1.43,
+ date = 2024/01/08,
authors = Qu Yi,
info = Customize superscript and subscript,
email = toquyi@163.com,
@@ -50,11 +50,11 @@
\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}.
\begin{options}
- \keybool{text}\Default{false}
+ \keychoice{text}{true,\fbox{false}}
\cs{textsuperscript} and \cs{textsubscript} are equivalent to the \cs{super} and \cs{sub} commands.
- \keybool{math}\Default{false}
+ \keychoice{math}{true,\fbox{false}}
\cs{sp} and \cs{sb} are equivalent to the \cs{super} and \cs{sub} commands.
- \keybool{foot}\Default{false}
+ \keychoice{foot}{true,\fbox{false}}
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.
@@ -144,7 +144,7 @@ The options common to \meta{kv list} of the three commands are as follows. They
The distance between the superscript or subscript baseline and the next line.
\keyval{style}{style name}
Use the \meta{style name} defined by the \cs{defspbstyle} command to make it work global or local.
- \keychoice{mode}{text,math,match}\Default{match}
+ \keychoice{mode}{text,math,\fbox{match}}
The mode of superscript or subscript output can be \code{text} or \code{math} mode. The \code{match} option automatically matches output modes according to the current mode.
\end{options}
@@ -203,7 +203,7 @@ The following list of keys control the format of superscript \emph{and} subscrip
The distance between the subscript baseline and the next line.
\kvsplit{vsep}{super move}{sub move}\Default{0.6ex}\newtag[Changed]%
The extra vertical distance between superscript and subscript. The front part is the movement amount of the superscript, and the latter part is the movement amount of the subscript. If only the front part means that both are vertically shifted by one-half of the current value.
- \keychoice{halign}{l,c,r}\Default{l}
+ \keychoice{halign}{\fbox{l},c,r}
The alignment of superscript and subscript, which contains \code{l}, \code{c}, and \code{r} parameters respectively for left, center, and right alignment.
\end{options}
@@ -243,6 +243,7 @@ If you need to use the original definitions of \cs{textsuperscript}, \cs{textsub
\section{Known issues}
At present, the vertical and horizontal move are effective for the unit commands in the \pkg*{siunitx} macro package. However, due to the special mechanism that the decimal point is not recognized correctly because it's converted to a space in the \cs*{unit} command, it's recommended to use \code{pt} as the unit of move.
+\appendix
\nocite{*}
\end{document} \ No newline at end of file