diff options
author | Karl Berry <karl@freefriends.org> | 2021-08-09 21:04:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-08-09 21:04:26 +0000 |
commit | 16e2c1b3a1c46fd7558e7f69890c6b805d3d3109 (patch) | |
tree | 1e0dbff60ed99b7602295a1f2a6604b174fcfc9f | |
parent | a1a06b86b5daaacb07a1b112b3aac41185c22087 (diff) |
spbmark (9aug21)
git-svn-id: svn://tug.org/texlive/trunk@60204 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/spbmark.pdf | bin | 65290 -> 65618 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/spbmark.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/spbmark/spbmark.sty | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf b/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf Binary files differindex e0dae969d6a..4f2ab194f95 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 67047c8fef0..835e4ca217c 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.1a, - date = 2021/07/30, + version = v1.1b, + date = 2021/08/09, authors = Qu Yi, info = Customize superscript and subscript, email = quee123@foxmail.com, @@ -94,6 +94,10 @@ The following list of keys control the format both of superscript or subscript. 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 diff --git a/Master/texmf-dist/tex/latex/spbmark/spbmark.sty b/Master/texmf-dist/tex/latex/spbmark/spbmark.sty index f3e5446f526..d7261565ce5 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}{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}, |