texlive[60904] Master/texmf-dist: spbmark (30oct21)
commits+karl at tug.org
commits+karl at tug.org
Sat Oct 30 21:40:41 CEST 2021
Revision: 60904
http://tug.org/svn/texlive?view=revision&revision=60904
Author: karl
Date: 2021-10-30 21:40:40 +0200 (Sat, 30 Oct 2021)
Log Message:
-----------
spbmark (30oct21)
Modified Paths:
--------------
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/spbmark.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.tex 2021-10-30 19:40:28 UTC (rev 60903)
+++ trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.tex 2021-10-30 19:40:40 UTC (rev 60904)
@@ -6,8 +6,8 @@
{
package = spbmark,
title = the spbmark package,
- version = v1.1F,
- date = 2021/10/29,
+ version = v1.1G,
+ date = 2021/10/30,
authors = Qu Yi,
info = Customize superscript and subscript,
email = q1jx at foxmail.com,
@@ -45,7 +45,7 @@
\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 subscript 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.
+ \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.
\begin{example}[code-only]
\usepackage[newsupb = {text,math,foot}]{spbmark}
\usepackage[newsupb = all]{spbmark}
Modified: trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty 2021-10-30 19:40:28 UTC (rev 60903)
+++ trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty 2021-10-30 19:40:40 UTC (rev 60904)
@@ -9,7 +9,7 @@
% https://creativecommons.org/licenses/by/4.0/legalcode
\NeedsTeXFormat{LaTeX2e}[2018/12/31]
\RequirePackage{xparse,l3keys2e}
-\ProvidesExplPackage{spbmark}{2021/10/29}{1.1F}
+\ProvidesExplPackage{spbmark}{2021/10/30}{1.1G}
{Customize superscripts and subscripts}
\cs_new_protected:Npn \spb_define:n { \keys_define:nn { spbmark } }
@@ -29,7 +29,9 @@
newsupb .multichoices:nn =
{ text,math,foot,all }
{ \bool_set_true:c { l_spb_newsupb_#1_bool } },
- newsupb .default:n = all
+ newsupb .default:n = all,
+ newsupb/true .meta:n = { newsupb = all },
+ newsupb/false .code:n = { }
}
\ProcessKeysOptions{spbmark/option}
@@ -279,7 +281,7 @@
\bool_if:NT \l_spb_newsupb_foot_bool
{
\cs_set:Npn \@makefnmark
- { \hbox:n { \fnmarkfont\super{\@thefnmark} } }
+ { \hbox:n { \fnmarkfont{\super{\@thefnmark}} } }
}
\cs_set_eq:NN \spb \supersub
\tl_if_exist:NTF \ftntm at font
More information about the tex-live-commits
mailing list.