texlive[60204] Master/texmf-dist: spbmark (9aug21)

commits+karl at tug.org commits+karl at tug.org
Mon Aug 9 23:04:26 CEST 2021


Revision: 60204
          http://tug.org/svn/texlive?view=revision&revision=60204
Author:   karl
Date:     2021-08-09 23:04:26 +0200 (Mon, 09 Aug 2021)
Log Message:
-----------
spbmark (9aug21)

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-08-09 21:04:13 UTC (rev 60203)
+++ trunk/Master/texmf-dist/doc/latex/spbmark/spbmark.tex	2021-08-09 21:04:26 UTC (rev 60204)
@@ -6,8 +6,8 @@
   {
     package   = spbmark,
     title     = the spbmark package,
-    version   = v1.1a,
-    date      = 2021/07/30,
+    version   = v1.1b,
+    date      = 2021/08/09,
     authors   = Qu Yi,
     info      = Customize superscript and subscript,
     email     = quee123 at foxmail.com,
@@ -94,6 +94,10 @@
   Extra vertical shift of the subscript.
   \keyval{sub-hshift}{fixed length}\Default{0pt}
   Extra horizontal shift of the subscript.
+  \opt{nohshift}\Default!
+  Cancel the horizontal offset of superscript and subscript at the same time.
+  \opt{novshift}\Default!
+  Cancel the vertical offset of superscript and subscript at the same time.
   \keyval{super-format}{format code}\Default
   Control the format of superscript, the last command in the code can take an argument, which is a superscript.
   \keyval{sub-format}{format code}\Default

Modified: trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty	2021-08-09 21:04:13 UTC (rev 60203)
+++ trunk/Master/texmf-dist/tex/latex/spbmark/spbmark.sty	2021-08-09 21:04:26 UTC (rev 60204)
@@ -9,7 +9,7 @@
 %   https://creativecommons.org/licenses/by/4.0/legalcode
 \NeedsTeXFormat{LaTeX2e}[2018/12/31]
 \RequirePackage{xparse,l3keys2e}
-\ProvidesExplPackage{spbmark}{2021/07/30}{1.1a}
+\ProvidesExplPackage{spbmark}{2021/08/09}{1.1b}
   {Customize superscripts and subscripts}
 
 \cs_new_protected:Npn \spb_define:n { \keys_define:nn { spbmark } }
@@ -42,6 +42,8 @@
     sub-hshift .initial:n       = 0pt,
     supersub-hshift .dim_set:N  = \l__spb_supersub_script_hshift_dim,
     supersub-hshift .initial:n  = 0pt,
+    nohshift .meta:n = {super-hshift = 0pt,sub-hshift = 0pt},
+    nohvhift .meta:n = {super-vshift = 0pt,sub-vshift = 0pt},
     super-format .tl_set:N      = \l__spb_super_script_formati_tl,
     sub-format .tl_set:N        = \l__spb_sub_script_formati_tl,
     supersub-format .code:n     = \spb_both_format_assign:n {#1},



More information about the tex-live-commits mailing list.