texlive[73781] Master/texmf-dist: spbmark (8feb25)
commits+karl at tug.org
commits+karl at tug.org
Sat Feb 8 21:54:21 CET 2025
Revision: 73781
https://tug.org/svn/texlive?view=revision&revision=73781
Author: karl
Date: 2025-02-08 21:54:21 +0100 (Sat, 08 Feb 2025)
Log Message:
-----------
spbmark (8feb25)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/spbmark/README.md
trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf
trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.tex
trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty
Modified: trunk/Master/texmf-dist/doc/latex/spbmark/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/spbmark/README.md 2025-02-08 20:54:10 UTC (rev 73780)
+++ trunk/Master/texmf-dist/doc/latex/spbmark/README.md 2025-02-08 20:54:21 UTC (rev 73781)
@@ -1,5 +1,5 @@
# The `spbmark` package
-Customize superscripts and subscripts (v1.46w)
+Customize superscripts and subscripts (v1.46x)
## Abstract
`spbmark` provides three commands `\super`, `\sub` and `\supersub` to improve the layout of superscripts and subscripts which can be adjusted the relative position and format, and can be used in text and math mode.
Modified: trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.tex 2025-02-08 20:54:10 UTC (rev 73780)
+++ trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.tex 2025-02-08 20:54:21 UTC (rev 73781)
@@ -7,8 +7,8 @@
\setcnltx
{
package = spbmark,
- version = v1.46w,
- date = 2024/12/08,
+ version = v1.46x,
+ date = 2025/02/08,
authors = Qu Yi,
title = \spbmark{} package,
info = Customize superscripts and subscripts,
@@ -325,7 +325,10 @@
\subsection{altsubsup}
The \pkg*{altsubsup} package allows to write alternate superscripts and subscripts in math mode with \code{\^{}}\oarg{mark} and \code{\_{}}\oarg{mark} dimensions. When the package is loaded using the \code{spbmark} option, the superscripts and subscripts mechanism of \pkg*{spbmark} is used, you can use \cs{defspbstyle} to define its superscripts style \code{altsup} and subscripts style \code{altsub}.
+
+Note that the mechanism of \pkg*{altsubsup} package adds \cs{text} command to markers in math mode, which invalidates the \option{match} option. You can restore it by setting the format command to \cs{relax}.
\begin{demohigh}
+\SetAltSubSupCommands{\relax}
\defspbstyle{altsup}{sphmove=-\llastwd,spthiswd=auto,spvmove=1pt}
$A_[bcd]^[e]B$
\end{demohigh}
Modified: trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty 2025-02-08 20:54:10 UTC (rev 73780)
+++ trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty 2025-02-08 20:54:21 UTC (rev 73781)
@@ -1,7 +1,7 @@
%
% ***************** THE SPBMARK PACKAGE *****************
%
-% Copyright (C) 2021-2024 by Qu Yi <toquyi at 163.com>
+% Copyright (C) 2021-2025 by Qu Yi <toquyi at 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}
-\ProvidesExplPackage{spbmark}{2024/12/08}{1.46w}
+\ProvidesExplPackage{spbmark}{2025/02/08}{1.46x}
{Customize superscripts and subscripts}
\cs_generate_variant:Nn \box_set_ht:Nn { cv }
@@ -647,15 +647,6 @@
{\AddToHook{package/easybase/after}}
{\use:n}
{ \keys_define:nn { } { ctex/tools .inherit:n = spbmark/option } }
-\IfFormatAtLeastTF{2021/11/15}
- {
- \AddToHook{package/altsubsup/after}
- {
- \ifaltsbsp at spbmark
- \SetAltSubSupCommands{\relax}
- \fi
- }
- }{}
\cs_set_eq:NN \spb \supersub
\endinput
%
More information about the tex-live-commits
mailing list.