summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/spbmark
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-31 03:00:46 +0000
committerNorbert Preining <norbert@preining.info>2021-10-31 03:00:46 +0000
commit7d4662184ed36e01faf1fbe7b6e19567a331da2f (patch)
tree2f67bb58141f7edd2c6ab200f39ddf079fa609fb /macros/latex/contrib/spbmark
parentf6b069c5441e2ba598b97c269ac8d00977606ef6 (diff)
CTAN sync 202110310300
Diffstat (limited to 'macros/latex/contrib/spbmark')
-rw-r--r--macros/latex/contrib/spbmark/spbmark.pdfbin67357 -> 67381 bytes
-rw-r--r--macros/latex/contrib/spbmark/spbmark.sty8
-rw-r--r--macros/latex/contrib/spbmark/spbmark.tex6
3 files changed, 8 insertions, 6 deletions
diff --git a/macros/latex/contrib/spbmark/spbmark.pdf b/macros/latex/contrib/spbmark/spbmark.pdf
index 6031d8553b..7c978d9362 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 8ed460d1b8..6d0fcfd2c4 100644
--- a/macros/latex/contrib/spbmark/spbmark.sty
+++ b/macros/latex/contrib/spbmark/spbmark.sty
@@ -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@font
diff --git a/macros/latex/contrib/spbmark/spbmark.tex b/macros/latex/contrib/spbmark/spbmark.tex
index 73019e147e..967ebbd694 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.1F,
- date = 2021/10/29,
+ version = v1.1G,
+ date = 2021/10/30,
authors = Qu Yi,
info = Customize superscript and subscript,
email = q1jx@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}