summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/spbmark
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-07-22 20:40:36 +0000
committerKarl Berry <karl@freefriends.org>2021-07-22 20:40:36 +0000
commitcb737e560f3ee443eec9884d81c023e139c3ffa1 (patch)
treeb0b68450749c7a6932aa00bed99858b1a7bb5e67 /Master/texmf-dist/tex/latex/spbmark
parent0ba7f884a6a123c6e85781421c3b17ce11557203 (diff)
spbmark (22jul21)
git-svn-id: svn://tug.org/texlive/trunk@60018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/spbmark')
-rw-r--r--Master/texmf-dist/tex/latex/spbmark/spbmark.sty18
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/spbmark/spbmark.sty b/Master/texmf-dist/tex/latex/spbmark/spbmark.sty
index f8a53902b79..36c379a3d5e 100644
--- a/Master/texmf-dist/tex/latex/spbmark/spbmark.sty
+++ b/Master/texmf-dist/tex/latex/spbmark/spbmark.sty
@@ -13,7 +13,7 @@
%% https://creativecommons.org/licenses/by/4.0/legalcode
\NeedsTeXFormat{LaTeX2e}[2018/12/31]
\RequirePackage{xparse,l3keys2e}
-\ProvidesExplPackage{spbmark}{2021/06/30}{1.01}
+\ProvidesExplPackage{spbmark}{2021/07/22}{1.02}
{Customize superscripts and subscripts}
\cs_new_protected:Npn \spb_define:n { \keys_define:nn { spbmark } }
@@ -99,12 +99,16 @@
}
{
\IfBooleanTF{##1}
- {\spb_tmp_hboxa_set:n { $##4{\spb_math:nn {#1} {##5}}$ }}
{
+ \spb_tmp_hboxa_set:n
+ { \ensuremath{##4{\spb_math:nn {#1} {##5}}} }
+ }{
\mode_if_math:TF
- { \spb_tmp_hboxa_set:n { $##4{\spb_math:nn {#1} {##5}}$ } }
{
\spb_tmp_hboxa_set:n
+ { \ensuremath{##4{\spb_math:nn {#1} {##5}}} }
+ }{
+ \spb_tmp_hboxa_set:n
{ ##4{\use:c { spb@text#1script@save }{##5}} }
}
}
@@ -122,13 +126,13 @@
{
\IfBooleanTF{#1}
{
- \spb_tmp_hboxa_set:n { $#4{\spb@sp@save{#5}}$ }
- \spb_tmp_hboxb_set:n { $#8{\spb@sb@save{#6}}$ }
+ \spb_tmp_hboxa_set:n { \ensuremath{#4{\spb@sp@save{#5}}} }
+ \spb_tmp_hboxb_set:n { \ensuremath{#8{\spb@sb@save{#6}}} }
}{
\mode_if_math:TF
{
- \spb_tmp_hboxa_set:n { $#4{\spb@sp@save{#5}}$ }
- \spb_tmp_hboxb_set:n { $#8{\spb@sb@save{#6}}$ }
+ \spb_tmp_hboxa_set:n { \ensuremath{#4{\spb@sp@save{#5}}} }
+ \spb_tmp_hboxb_set:n { \ensuremath{#8{\spb@sb@save{#6}}} }
}
{
\spb_tmp_hboxa_set:n { #4{\spb@textsuperscript@save{#5}} }