diff options
author | Karl Berry <karl@freefriends.org> | 2024-01-08 21:46:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-01-08 21:46:21 +0000 |
commit | d03268de8ad05064eee294aed446a647541e6ddd (patch) | |
tree | d3198bdbb931a8f52476f0ce958feb1781126a37 /Master/texmf-dist | |
parent | 3aa55a0242706589989bedd8e31037f65bfb020e (diff) |
spbmark (8jan24)
git-svn-id: svn://tug.org/texlive/trunk@69350 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/spbmark.pdf | bin | 84938 -> 85360 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/spbmark/spbmark.tex | 15 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/spbmark/spbmark.sty | 4 |
3 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf b/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf Binary files differindex 799e84a3237..678496688bb 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 a2f0e7e5a0a..28025db66cb 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.42, - date = 2022/10/15, + version = v1.43, + date = 2024/01/08, authors = Qu Yi, info = Customize superscript and subscript, email = toquyi@163.com, @@ -50,11 +50,11 @@ \label{sec:macro package options} The following macro package options will redefine the script commands of the \LaTeX{} kernel. If you do not specify the values of boolean options, they default to \code{true}. \begin{options} - \keybool{text}\Default{false} + \keychoice{text}{true,\fbox{false}} \cs{textsuperscript} and \cs{textsubscript} are equivalent to the \cs{super} and \cs{sub} commands. - \keybool{math}\Default{false} + \keychoice{math}{true,\fbox{false}} \cs{sp} and \cs{sb} are equivalent to the \cs{super} and \cs{sub} commands. - \keybool{foot}\Default{false} + \keychoice{foot}{true,\fbox{false}} The format of the footnote mark match the superscript global move and format settings. \opt{both} The values of \option{text} and \option{math} two options are \code{true} at the same time. @@ -144,7 +144,7 @@ The options common to \meta{kv list} of the three commands are as follows. They The distance between the superscript or subscript baseline and the next line. \keyval{style}{style name} Use the \meta{style name} defined by the \cs{defspbstyle} command to make it work global or local. - \keychoice{mode}{text,math,match}\Default{match} + \keychoice{mode}{text,math,\fbox{match}} The mode of superscript or subscript output can be \code{text} or \code{math} mode. The \code{match} option automatically matches output modes according to the current mode. \end{options} @@ -203,7 +203,7 @@ The following list of keys control the format of superscript \emph{and} subscrip The distance between the subscript baseline and the next line. \kvsplit{vsep}{super move}{sub move}\Default{0.6ex}\newtag[Changed]% The extra vertical distance between superscript and subscript. The front part is the movement amount of the superscript, and the latter part is the movement amount of the subscript. If only the front part means that both are vertically shifted by one-half of the current value. - \keychoice{halign}{l,c,r}\Default{l} + \keychoice{halign}{\fbox{l},c,r} The alignment of superscript and subscript, which contains \code{l}, \code{c}, and \code{r} parameters respectively for left, center, and right alignment. \end{options} @@ -243,6 +243,7 @@ If you need to use the original definitions of \cs{textsuperscript}, \cs{textsub \section{Known issues} At present, the vertical and horizontal move are effective for the unit commands in the \pkg*{siunitx} macro package. However, due to the special mechanism that the decimal point is not recognized correctly because it's converted to a space in the \cs*{unit} command, it's recommended to use \code{pt} as the unit of move. +\appendix \nocite{*} \end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/spbmark/spbmark.sty b/Master/texmf-dist/tex/latex/spbmark/spbmark.sty index 3529829d7ed..9d8c24a0182 100644 --- a/Master/texmf-dist/tex/latex/spbmark/spbmark.sty +++ b/Master/texmf-dist/tex/latex/spbmark/spbmark.sty @@ -1,7 +1,7 @@ % % ***************** THE SPBMARK PACKAGE ***************** % -% Copyright (C) 2021-2022 by Qu Yi <toquyi@163.com> +% Copyright (C) 2021-2024 by Qu Yi <toquyi@163.com> % % This work may be distributed and/or modified under the % conditions of the CC-BY 4.0 License. @@ -9,7 +9,7 @@ % https://creativecommons.org/licenses/by/4.0/legalcode \NeedsTeXFormat{LaTeX2e}[2018/12/31] \RequirePackage{xparse,l3keys2e} -\ProvidesExplPackage{spbmark}{2022/10/15}{1.42} +\ProvidesExplPackage{spbmark}{2024/01/08}{1.43} {Customize superscripts and subscripts} \cs_generate_variant:Nn \box_set_ht:Nn { cv } |