summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/spbmark
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-01-09 03:01:30 +0000
committerNorbert Preining <norbert@preining.info>2024-01-09 03:01:30 +0000
commit140e2f7f1509acd423172e2895d0d7839e5b88c6 (patch)
treeb95babe2ddbb2ed3cb8f1aee35286b5218e5e4d1 /macros/latex/contrib/spbmark
parentafbba3b1d12f17572ca4745766f2e0d55a6f58f3 (diff)
CTAN sync 202401090301
Diffstat (limited to 'macros/latex/contrib/spbmark')
-rw-r--r--macros/latex/contrib/spbmark/spbmark.pdfbin84938 -> 85360 bytes
-rw-r--r--macros/latex/contrib/spbmark/spbmark.sty4
-rw-r--r--macros/latex/contrib/spbmark/spbmark.tex15
3 files changed, 10 insertions, 9 deletions
diff --git a/macros/latex/contrib/spbmark/spbmark.pdf b/macros/latex/contrib/spbmark/spbmark.pdf
index 799e84a323..678496688b 100644
--- a/macros/latex/contrib/spbmark/spbmark.pdf
+++ b/macros/latex/contrib/spbmark/spbmark.pdf
Binary files differ
diff --git a/macros/latex/contrib/spbmark/spbmark.sty b/macros/latex/contrib/spbmark/spbmark.sty
index 3529829d7e..9d8c24a018 100644
--- a/macros/latex/contrib/spbmark/spbmark.sty
+++ b/macros/latex/contrib/spbmark/spbmark.sty
@@ -1,7 +1,7 @@
%
% ***************** THE SPBMARK PACKAGE *****************
%
-% Copyright (C) 2021-2022 by Qu Yi <toquyi@163.com>
+% Copyright (C) 2021-2024 by Qu Yi <toquyi@163.com>
%
% This work may be distributed and/or modified under the
% conditions of the CC-BY 4.0 License.
@@ -9,7 +9,7 @@
% https://creativecommons.org/licenses/by/4.0/legalcode
\NeedsTeXFormat{LaTeX2e}[2018/12/31]
\RequirePackage{xparse,l3keys2e}
-\ProvidesExplPackage{spbmark}{2022/10/15}{1.42}
+\ProvidesExplPackage{spbmark}{2024/01/08}{1.43}
{Customize superscripts and subscripts}
\cs_generate_variant:Nn \box_set_ht:Nn { cv }
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