diff options
author | Karl Berry <karl@freefriends.org> | 2022-03-02 21:37:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-03-02 21:37:50 +0000 |
commit | 7930b7d4649215c7ca864efddb658f9b56bf25e7 (patch) | |
tree | f0a005ceb04c303b0732ac0fad66d031f19e4789 /Master/texmf-dist | |
parent | b801ed5847215aa8bf4992483b22fcbb70235341 (diff) |
spbmark (2mar22)
git-svn-id: svn://tug.org/texlive/trunk@62353 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/spbmark.pdf | bin | 76051 -> 77407 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/spbmark.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/spbmark/spbmark.sty | 13 |
3 files changed, 10 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf b/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf Binary files differindex 3593e9e4ad9..6be14eef41d 100644 --- a/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf +++ b/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf diff --git a/Master/texmf-dist/doc/latex/spbmark/spbmark.tex b/Master/texmf-dist/doc/latex/spbmark/spbmark.tex index 11d7c9a8396..c1d428cd16c 100644 --- a/Master/texmf-dist/doc/latex/spbmark/spbmark.tex +++ b/Master/texmf-dist/doc/latex/spbmark/spbmark.tex @@ -6,8 +6,8 @@ { package = spbmark, title = the spbmark package, - version = v1.37, - date = 2022/02/15, + version = v1.38, + date = 2022/03/02, authors = Qu Yi, info = Customize superscript and subscript, email = q1jx@foxmail.com, diff --git a/Master/texmf-dist/tex/latex/spbmark/spbmark.sty b/Master/texmf-dist/tex/latex/spbmark/spbmark.sty index f273b8a9782..dd9dac296d2 100644 --- a/Master/texmf-dist/tex/latex/spbmark/spbmark.sty +++ b/Master/texmf-dist/tex/latex/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}{2022/02/15}{1.37} +\ProvidesExplPackage{spbmark}{2022/03/02}{1.38} {Customize superscripts and subscripts} \cs_generate_variant:Nn \box_set_ht:Nn { cv } @@ -22,7 +22,8 @@ \cs_generate_variant:Nn \tl_if_blank:nF { v } \cs_new_protected:Npn \spb_define:n { \keys_define:nn { ctex/style } } -\cs_new_protected:Npn \spbset { \keys_set:nn { ctex/style } } +\cs_new_protected:Npn \spb_set:n { \keys_set:nn { ctex/style } } +\cs_set_eq:NN \spbset \spb_set:n \keys_define:nn { spbmark/option } { text .bool_set:N = \l_spb_newsupb_text_bool, @@ -75,7 +76,7 @@ \spb_define:n { style/#1 .undefine:, - style/#1 .code:n = \keys_set:nn { ctex/style } {#2} + style/#1 .code:n = \spb_set:n {#2} } } \cs_new_protected:Npn \spbshortkv #1#2 @@ -303,7 +304,8 @@ { \group_begin: \tl_gset:Nn \g__spb_mark_case_init_tl {#1} - \keys_set:nn { ctex/style } {##1,##3} + \spb_define:n { unknown .undefine: } + \spb_set:n { ##1,##3 } \spb_mode_switch:nnn {#1} {##2} { i } \spb_content_hbox_set:n {#1} \spb_ht_dp_assign:nnn {#1} {#1} { i } @@ -339,7 +341,8 @@ { \group_begin: \tl_gset:Nn \g__spb_mark_case_init_tl { supersub } - \keys_set:nn { ctex/style } {#1,#4} + \spb_define:n { unknown .undefine: } + \spb_set:n {#1,#4} \spb_mode_switch:nnn {#2} {#3} { ii } \spb_ht_dp_assign:nnn { super } { sub } { ii } \str_case:VnF \l__spb_supersub_halign_tl |