summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-05 21:11:37 +0000
committerKarl Berry <karl@freefriends.org>2024-02-05 21:11:37 +0000
commitd44f7c8cc9d2eb4bad275337f285a157a6d898d3 (patch)
treef274dd3e058721fad6d512e931887efafd95fb12 /Master/texmf-dist/doc
parent3b167c7d4289a4b872c3a35f125e0d9c473ca9ad (diff)
spbmark (5feb24)
git-svn-id: svn://tug.org/texlive/trunk@69714 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/spbmark/spbmark.pdfbin85732 -> 86873 bytes
-rw-r--r--Master/texmf-dist/doc/latex/spbmark/spbmark.tex26
2 files changed, 16 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf b/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf
index 477f2bfd03e..bd7701a44a8 100644
--- a/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf
+++ b/Master/texmf-dist/doc/latex/spbmark/spbmark.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/spbmark/spbmark.tex b/Master/texmf-dist/doc/latex/spbmark/spbmark.tex
index b068ce5ed83..727ee086a7a 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.44,
- date = 2024/02/04,
+ version = v1.46,
+ date = 2024/02/05,
authors = Qu Yi,
info = Customize superscript and subscript,
email = toquyi@163.com,
@@ -19,7 +19,7 @@
color-scheme = blue,
title-format = \huge\bfseries\scshape,
listings-options = {numbers = none,gobble = 2,lineskip = 1pt},
- pre-output = {\parindent = 0em \setstretch{1.3}},
+ pre-output = {\parindent = 0em\setstretch{1.3}},
before-skip = \smallskipamount,
after-skip = \smallskipamount
}
@@ -40,6 +40,7 @@
\newsplitarg{\splitdarg}{(}{)}
\newnote{\newtag}[1][New]{\textcolor{red}{\ding{73}\ #1}}
\renewcommand{\emph}[1]{\textcolor{red}{#1}}
+\renewcommand{\cnltx@write@lastname}{}
\makeatother
\begin{document}
@@ -47,12 +48,17 @@
\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}. These options can also be changed in the preamble area and main body using the global control command \cs{sbpset}.
\begin{options}
- \keychoice{text}{true,\fbox{false}}
- \cs{textsuperscript} and \cs{textsubscript} are equivalent to the \cs{super} and \cs{sub} commands.
- \keychoice{math}{true,\fbox{false}}
- \cs{sp} and \cs{sb} are equivalent to the \cs{super} and \cs{sub} commands.
- \keychoice{foot}{true,\fbox{false}}
- The format of the footnote mark match the superscript global move and format settings.
+ \keychoice{text}{true,\fbox{false}}\newtag[Changed]%
+ \cs{textsuperscript} and \cs{textsubscript} are equivalent to the \cs{super} and \cs{sub} commands. At this point, you can use the \cs{defspbstyle} command to define the style \code{textsp} and \code{textsb} to change the format of the text superscript and subscript.
+ \keychoice{math}{true,\fbox{false}}\newtag[Changed]%
+ \cs{sp} and \cs{sb} are equivalent to the \cs{super} and \cs{sub} commands. At this point, you can use the \cs{defspbstyle} command to define the style \code{mathsp} and \code{mathsb} to change the format of the math superscript and subscript.
+ \keychoice{foot}{true,\fbox{false}}\newtag[Changed]%
+ The format of the footnote mark match the superscript global move and format settings. At this point, you can use the \cs{defspbstyle} command to define the superscript style \code{fnmark} to change the format of the footnote mark.
+ \begin{example}[code-only]
+ \defspbstyle{textsp}{vmove=-1pt,cmd=\bfseries}
+ \defspbstyle{mathsb}{hmove=0.5em}
+ \defspbstyle{fnmark}{cmd=\small\color{red}}
+ \end{example}
\keychoice{both}{true,\fbox{false}}
The values of \option{text} and \option{math} two options are \code{true} or \code{false} at the same time.
\keychoice{all}{true,\fbox{false}}
@@ -60,7 +66,7 @@ The following macro package options will redefine the script commands of the \La
\begin{example}[code-only]
\usepackage[both]{spbmark}
\usepackage[text,foot=true]{spbmark}
- \spbset{all = false,math}
+ \spbset{all=false,math}
\end{example}
\end{options}