summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/suppose
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-20 20:18:15 +0000
committerKarl Berry <karl@freefriends.org>2021-05-20 20:18:15 +0000
commit18c0c88bc306126e3331bfd58d6286f64921f7e9 (patch)
treec2ae9ec76510c7c371bd8360c7e09aef042863de /Master/texmf-dist/tex/latex/suppose
parentdcbd7054adeb27d771321139957652cf12e181a9 (diff)
suppose (20may21)
git-svn-id: svn://tug.org/texlive/trunk@59281 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/suppose')
-rw-r--r--Master/texmf-dist/tex/latex/suppose/suppose.sty368
1 files changed, 263 insertions, 105 deletions
diff --git a/Master/texmf-dist/tex/latex/suppose/suppose.sty b/Master/texmf-dist/tex/latex/suppose/suppose.sty
index 9c1d2ca8308..9c4c858fa8d 100644
--- a/Master/texmf-dist/tex/latex/suppose/suppose.sty
+++ b/Master/texmf-dist/tex/latex/suppose/suppose.sty
@@ -1,4 +1,4 @@
-% suppose.sty 1.2.1 2021/04/09
+% suppose.sty 1.2.2 2021/05/20
% Andrew Lounsbury
%************************************************************************
@@ -20,145 +20,303 @@
% This work consists of the file suppose.sty.
%************************************************************************
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{suppose}[2021/04/09 1.2.1 supposition symbols]
-%
-\RequirePackage{amsmath, euscript, graphicx}%
-%
-\DeclareMathAlphabet{\mathbfcal}{OMS}{cmsy}{b}{n}%
-\DeclareMathAlphabet{\mathdutchcal}{U}{dutchcal}{m}{n}%
-\DeclareMathAlphabet{\mathdutchbfcal}{U}{dutchcal}{b}{n}%
-\newcommand*{\bfeuscript}[1]{\boldsymbol{\EuScript{#1}}}%
-\newcommand*{\sansserif}[1]{\textit{{\fontfamily{lmss}\selectfont #1}}}%
-\newcommand*{\bfsansserif}[1]{\textbf{\textit{{\fontfamily{lmss}\selectfont #1}}}}%
-%
+\ProvidesPackage{suppose}[2021/05/20 1.2.2 supposition symbols]
+\RequirePackage{amsmath, euscript, graphicx}
+
+\DeclareMathAlphabet{\mathbfcal}{OMS}{cmsy}{b}{n}
+\DeclareMathAlphabet{\mathdutchcal}{U}{dutchcal}{m}{n}
+\DeclareMathAlphabet{\mathdutchbfcal}{U}{dutchcal}{b}{n}
+\newcommand*{\bfeuscript}[1]{\boldsymbol{\EuScript{#1}}}
+\newcommand*{\sansserif}[1]{\textit{{\fontfamily{lmss}\selectfont #1}}}
+\newcommand*{\bfsansserif}[1]{\textbf{\textit{{\fontfamily{lmss}\selectfont #1}}}}
\font\bitt=rm-lmtko10 % bold italicized typewriter font
-\newcommand*{\itt}[1]{\scalebox{1.11}{\textit{\texttt{#1}}}}%
-\newcommand*{\bolditt}[1]{$\scalebox{1.11}{\bitt #1}$}%
-%
+\newcommand*{\itt}[1]{\scalebox{1.11}{\textit{\texttt{#1}}}}
+\newcommand*{\bolditt}[1]{$\scalebox{1.11}{\bitt #1}$}
+
+\newlength{\Swidth}
+\settowidth{\Swidth}{S}
+
+% horizontal alignments for \rule's
+\newlength{\shift} % shift for \supp
+ \setlength{\shift}{0.25\Swidth}
+\newlength{\bshift} % shift for \bsup
+ \setlength{\bshift}{0.425\Swidth}
+% plain font
+\newlength{\plainshift}
+ \setlength{\plainshift}{0.25\Swidth}
+\newlength{\bplainshift}
+ \setlength{\bplainshift}{0.425\Swidth}
+% mathcal
+\newlength{\cshift}
+ \setlength{\cshift}{0.25\Swidth}
+\newlength{\bcshift}
+ \setlength{\bcshift}{0.45\Swidth}
+% dutchcal
+\newlength{\dshift}
+ \setlength{\dshift}{0.35\Swidth}
+\newlength{\bdshift}
+ \setlength{\bdshift}{0.35\Swidth}
+% eulerscript
+\newlength{\eshift}
+ \setlength{\eshift}{-0.055\Swidth}
+\newlength{\beshift}
+ \setlength{\beshift}{0.06\Swidth}
+% sans-serif
+\newlength{\vshift}
+ \setlength{\vshift}{-0.085\Swidth}
+\newlength{\hardvshift}
+ \setlength{\hardvshift}{0.2\Swidth}
+\newlength{\bvshift}
+ \setlength{\bvshift}{0.3\Swidth}
+% tt
+\newlength{\tshift}
+ \setlength{\tshift}{0.55\Swidth}
+\newlength{\btshift}
+ \setlength{\btshift}{-0.085\Swidth}
+% Shifts for slanted \rule's
+\newlength{\sshift} % slant shift
+ \setlength{\sshift}{0.4\Swidth}
+\newlength{\sbshift} % slant bold shift
+ \setlength{\sbshift}{0.55\Swidth}
+% Slant mathcal
+\newlength{\scshift}
+ \addtolength{\scshift}{\Swidth}
+\newlength{\sbcshift}
+ \setlength{\sbcshift}{-1\Swidth}
+% Slant dutchcal
+\newlength{\sdshift}
+ \setlength{\sdshift}{0.45\Swidth}
+\newlength{\sbdshift}
+ \setlength{\sbdshift}{0.475\Swidth}
+% Slant eulerscript
+\newlength{\seshift}
+ \setlength{\seshift}{0.1\Swidth}
+\newlength{\sbeshift}
+ \setlength{\sbeshift}{0.2\Swidth}
+% Slant sans-serif
+\newlength{\svshift}
+ \setlength{\svshift}{0.1\Swidth}
+\newlength{\hardsvshift}
+ \setlength{\hardsvshift}{0.375\Swidth}
+\newlength{\sbvshift}
+ \setlength{\sbvshift}{0.4\Swidth}
+% Slant tt
+\newlength{\stshift}
+ \setlength{\stshift}{0.675\Swidth}
+\newlength{\sbtshift}
+ \setlength{\sbtshift}{0.065\Swidth}
+
+% Parameters
\newcounter{angle} % angle at which the \rule's are rotated
-\setcounter{angle}{0}%
-\newlength{\shift} % horizontal shift of \rule's
-\setlength{\shift}{-0.0025in}%
-\newlength{\boldshift}%
-\setlength{\boldshift}{0.0485in}%
-\newlength{\rulelength}%
-\setlength{\rulelength}{1.3ex}%
-\newlength{\rulewidth}%
-\setlength{\rulewidth}{0.15ex}%
-\newlength{\boldrulelength}%
-\setlength{\boldrulelength}{1.3ex}%
-\newlength{\boldrulewidth}%
-\setlength{\boldrulewidth}{0.25ex}%
-\newcommand{\curfont}{\mathnormal}%
-\newcommand{\curboldfont}{\boldsymbol}%
-%
+\newlength{\rulelength}
+ \setlength{\rulelength}{1.3ex}
+\newlength{\rulewidth}
+ \setlength{\rulewidth}{0.15ex}
+\newlength{\boldrulelength}
+ \setlength{\boldrulelength}{1.3ex}
+\newlength{\boldrulewidth}
+ \setlength{\boldrulewidth}{0.25ex}
+\newcommand{\curfont}{\mathnormal} % current font
+\newcommand{\curboldfont}{\boldsymbol}
+
+\newcounter{slantselected}
\DeclareOption{slant}{%
+ \setcounter{slantselected}{1}%
\setcounter{angle}{-15}%
- \setlength{\shift}{-0.0075in}%
- \setlength{\boldshift}{0.0425in}%
-}%
+ \setlength{\shift}{\sshift}%
+ \setlength{\bshift}{\sbshift}%
+}
\DeclareOption{mathcal}{%
- \ifdim\boldshift = 0.0425in % if slant option selected
- \addtolength{\shift}{0.00225in}%
- \addtolength{\boldshift}{0.0015in}%
- \fi%
\renewcommand{\curfont}{\mathcal}%
\renewcommand{\curboldfont}{\mathbfcal}%
\addtolength{\rulelength}{0.1ex}%
\addtolength{\boldrulelength}{0.15ex}%
- \addtolength{\shift}{-0.00125in}%
-}%
+}
\DeclareOption{dutchcal}{%
- \ifdim\boldshift = 0.0425in%
- \addtolength{\shift}{0.0012in}%
- \addtolength{\boldshift}{0.0012in}%
- \fi%
\renewcommand{\curfont}{\mathdutchcal}%
\renewcommand{\curboldfont}{\mathdutchbfcal}%
\addtolength{\rulelength}{0.1ex}%
- \addtolength{\shift}{0.0025in}%
\addtolength{\boldrulelength}{0.145ex}%
- \addtolength{\boldshift}{-0.0035in}%
\addtolength{\boldrulewidth}{-0.025ex}%
-}%
-\DeclareOption{eulerscript}{%
- \ifdim\boldshift = 0.0425in%
- \addtolength{\shift}{0.0000000000000000001in}%
- \addtolength{\boldshift}{0.00125in}%
+ \setlength{\shift}{\dshift}
+ \setlength{\bshift}{\bdshift}
+ \ifnum\value{slantselected} = 1% if slant option is selected
+ \setlength{\shift}{\sdshift}%
+ \setlength{\bshift}{\sbdshift}%
\fi%
+}
+\DeclareOption{eulerscript}{%
\renewcommand{\curfont}{\EuScript}%
\renewcommand{\curboldfont}{\bfeuscript}%
\addtolength{\rulelength}{0.1ex}%
- \addtolength{\shift}{-0.01275in}%
- \addtolength{\boldshift}{-0.01525in}%
-}%
-\DeclareOption{sans-serif}{%
- \ifdim\boldshift = 0.0425in%
- \addtolength{\shift}{0.001in}%
- \addtolength{\boldshift}{0.001in}%
+ \setlength{\shift}{\eshift}%
+ \setlength{\bshift}{\beshift}%
+ \ifnum\value{slantselected} = 1%
+ \setlength{\shift}{\seshift}%
+ \setlength{\bshift}{\sbeshift}%
\fi%
+}
+\DeclareOption{sans-serif}{%
\renewcommand{\curfont}{\sansserif}%
\renewcommand{\curboldfont}{\bfsansserif}%
- \addtolength{\shift}{-0.01375in}%
- \addtolength{\boldshift}{-0.005in}%
-}%
-\DeclareOption{tt}{%
- \ifdim\boldshift = 0.0425in%
- \addtolength{\shift}{0.001in}%
- \addtolength{\boldrulewidth}{-0.025ex}%
+ \setlength{\shift}{\vshift}%
+ \setlength{\bshift}{\bvshift}%
+ \ifnum\value{slantselected} = 1%
+ \setlength{\shift}{\svshift}%
+ \setlength{\bshift}{\sbvshift}%
\fi%
+}
+\DeclareOption{tt}{%
\renewcommand{\curfont}{\itt}%
\renewcommand{\curboldfont}{\bolditt}%
- \addtolength{\shift}{0.0114in}%
\addtolength{\boldrulelength}{0.1ex}%
- \addtolength{\boldshift}{-0.02in}%
-}%
-\DeclareOption*{\PackageWarning{suppose}{Unknown '\CurrentOption'}}%
-\ProcessOptions\relax%
-%
+ \setlength{\shift}{\tshift}%
+ \setlength{\bshift}{\btshift}%
+ \ifnum\value{slantselected} = 1%
+ \setlength{\shift}{\stshift}%
+ \setlength{\bshift}{\sbtshift}%
+ \fi%
+}
+\DeclareOption*{\PackageWarning{suppose}{Unknown '\CurrentOption'}}
+\ProcessOptions\relax
+
% The two main commands
-\newlength{\Swidth}%
-\settowidth{\Swidth}{S}%
\newcommand{\supp}{%
- \makebox[\Swidth][r]{%
+ \makebox[\Swidth][c]{%
$\rotatebox{\value{angle}}{%
\rule[-0.5ex]{\rulewidth}{\rulelength}%
- }$\hspace{\shift}\ %
+ }$\hspace{\shift}%
}\llap{$\curfont{S}$}\mspace{5mu}%
-}%
+}
\newcommand{\bsup}{%
- \makebox[\Swidth][r]{%
+ \makebox[\Swidth][c]{%
$\rotatebox{\value{angle}}{%
\rule[-0.5ex]{\boldrulewidth}{\boldrulelength}%
- }$\hspace{\boldshift}%
- }\llap{$\curboldfont{S}$%
-}\mspace{5mu}}%
-%
+ }$\hspace{\bshift}%
+ }\llap{$\curboldfont{S}$}\mspace{5mu}%
+}
+
% Commands for hard-coding
-\newcommand{\plainsupp}{\makebox[\Swidth][r]{$\rule[-0.5ex]{\rulewidth}{1.3ex}\mspace{-0.25mu}$\ }\llap{$S$}\mspace{5mu}}%
-\newcommand{\csup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{\rulewidth}{1.45ex}\mspace{8.5mu}$}\llap{$\mathcal{S}$}\mspace{5mu}}%
-\newcommand{\dsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{\rulewidth}{1.45ex}\mspace{9.5mu}$}\llap{$\mathdutchcal{S}$}\mspace{5mu}}%
-\newcommand{\esup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{\rulewidth}{1.35ex}\mspace{5.25mu}$}\llap{$\EuScript{S}$}\mspace{5mu}}%
-\newcommand{\tsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{\rulewidth}{1.3ex}\mspace{5.5mu}$\ }\llap{\scalebox{1.1}{\textit{\texttt{S}}}}\mspace{5mu}}%
-\newcommand{\vsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{\rulewidth}{1.45ex}\mspace{7.75mu}$}\llap{\textit{{\fontfamily{lmss}\selectfont S}}}\mspace{5mu}}%
+\newcommand{\plainsupp}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\rulewidth}{1.3ex}$\hspace{\plainshift}%
+ }\llap{$\mathnormal{S}$}\mspace{5mu}%
+}
+\newcommand{\csup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\rulewidth}{1.45ex}$\hspace{\cshift}%
+ }\llap{$\mathcal{S}$}\mspace{5mu}%
+}
+\newcommand{\dsup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\rulewidth}{1.45ex}$\hspace{\dshift}%
+ }\llap{$\mathdutchcal{S}$}\mspace{5mu}%
+}
+\newcommand{\esup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\rulewidth}{1.35ex}$\hspace{\eshift}%
+ }\llap{$\EuScript{S}$}\mspace{5mu}%
+}
+\newcommand{\vsup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\rulewidth}{1.45ex}$\hspace{\hardvshift}%
+ }\llap{\textit{{\fontfamily{lmss}\selectfont S}}}\mspace{5mu}%
+}
+\newcommand{\tsup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\rulewidth}{1.3ex}$\hspace{\tshift}%
+ }\llap{\scalebox{1.1}{\textit{\texttt{S}}}}\mspace{5mu}%
+}
% Bold
-\newcommand{\plainbsup}{\makebox[\Swidth][r]{$\rule[-0.5ex]{\boldrulewidth}{1.3ex}\mspace{6.3mu}$}\llap{$\boldsymbol{S}$}\mspace{5mu}}%
-\newcommand{\bcsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{\boldrulewidth}{1.45ex}\mspace{10.5mu}$}\llap{$\boldsymbol{\mathcal{S}}$}\mspace{5mu}}%
-\newcommand{\bdsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.225ex}{1.5ex}\mspace{9.5mu}$}\llap{$\mathdutchbfcal{S}$}\mspace{5mu}}%
-\newcommand{\besup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{\boldrulewidth}{1.35ex}\mspace{6.4mu}$}\llap{$\boldsymbol{\EuScript{S}}$}\mspace{5mu}}%
-\newcommand{\btsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{\boldrulewidth}{1.3ex}\mspace{-0.675mu}$\ }\llap{\scalebox{1.11}{\bitt S}}\mspace{5mu}}%
-\newcommand{\bvsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{\boldrulewidth}{1.45ex}\mspace{9mu}$}\llap{\textbf{\textit{{\fontfamily{lmss}\selectfont S}}}}\mspace{5mu}}%
+\newcommand{\plainbsup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\boldrulewidth}{1.3ex}$\hspace{\bplainshift}%
+ }\llap{$\boldsymbol{S}$}\mspace{5mu}%
+}
+\newcommand{\bcsup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\boldrulewidth}{1.45ex}$\hspace{\bcshift}%
+ }\llap{$\boldsymbol{\mathcal{S}}$}\mspace{5mu}%
+}
+\newcommand{\bdsup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{0.225ex}{1.5ex}$\hspace{\bdshift}%
+ }\llap{$\mathdutchbfcal{S}$}\mspace{5mu}%
+}
+\newcommand{\besup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\boldrulewidth}{1.35ex}$\hspace{\beshift}%
+ }\llap{$\boldsymbol{\EuScript{S}}$}\mspace{5mu}%
+}
+\newcommand{\bvsup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\boldrulewidth}{1.45ex}$\hspace{\bvshift}%
+ }\llap{\textbf{\textit{{\fontfamily{lmss}\selectfont S}}}}\mspace{5mu}%
+}
+\newcommand{\btsup}{%
+ \makebox[\Swidth][c]{%
+ $\rule[-0.5ex]{\boldrulewidth}{1.3ex}$\hspace{\btshift}%
+ }\llap{\scalebox{1.11}{\bitt S}}\mspace{5mu}%
+}
% Slanted rule
-\newcommand{\ssup}{\makebox[\Swidth][r]{$\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.3ex}}\mspace{5mu}$}\llap{$S$}\mspace{5mu}}%
-\newcommand{\scsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.45ex}}\mspace{10mu}$}\llap{$\mathcal{S}$}\mspace{5mu}}%
-\newcommand{\sdsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.35ex}}\mspace{11mu}$}\llap{$\mathdutchcal{S}$}\mspace{5mu}}%
-\newcommand{\sesup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.4ex}}\mspace{6.6mu}$}\llap{$\EuScript{S}$}\mspace{5mu}}%
-\newcommand{\stsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.3ex}}\mspace{6.8mu}$\ }\llap{\scalebox{1.11}{\textit{\texttt{S}}}}\mspace{5mu}}%
-\newcommand{\svsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.45ex}}\mspace{9mu}$}\llap{\textit{{\fontfamily{lmss}\selectfont S}}}\mspace{5mu}}%
+\newcommand{\ssup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.3ex}}$\hspace{\sshift}%
+ }\llap{$S$}\mspace{5mu}%
+}
+\newcommand{\scsup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.45ex}}$\hspace{\sshift}%
+ }\llap{$\mathcal{S}$}\mspace{5mu}%
+}
+\newcommand{\sdsup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.35ex}}$\hspace{\sdshift}%
+ }\llap{$\mathdutchcal{S}$}\mspace{5mu}%
+}
+\newcommand{\sesup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.4ex}}$\hspace{\seshift}%
+ }\llap{$\EuScript{S}$}\mspace{5mu}%
+}
+\newcommand{\svsup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.45ex}}$\hspace{\hardsvshift}%
+ }\llap{\textit{{\fontfamily{lmss}\selectfont S}}}\mspace{5mu}%
+}
+\newcommand{\stsup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\rulewidth}{1.3ex}}$\hspace{\stshift}%
+ }\llap{\scalebox{1.11}{\textit{\texttt{S}}}}\mspace{5mu}%
+}
% Slanted & bold
-\newcommand{\sbsup}{\makebox[\Swidth][r]{$\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.3ex}}\mspace{5.5mu}$}\llap{$\boldsymbol{S}$}\mspace{5mu}}%
-\newcommand{\sbcsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.45ex}}\mspace{12mu}$}\llap{$\boldsymbol{\mathcal{S}}$}\mspace{5mu}}%
-\newcommand{\sbdsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.4ex}}\mspace{11mu}$}\llap{$\mathdutchbfcal{S}$}\mspace{5mu}}%
-\newcommand{\sbesup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.45ex}}\mspace{7.6mu}$}\llap{$\boldsymbol{\EuScript{S}}$}\mspace{5mu}}%
-\newcommand{\sbtsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.4ex}}\mspace{0.5mu}$\ }\llap{\scalebox{1.11}{\bitt S}}\mspace{5mu}}%
-\newcommand{\sbvsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.45ex}}\mspace{10mu}$}\llap{\textbf{\textit{{\fontfamily{lmss}\selectfont S}}}}\mspace{5mu}}% \ No newline at end of file
+\newcommand{\sbsup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.3ex}}$\hspace{\sbshift}%
+ }\llap{$\boldsymbol{S}$}\mspace{5mu}%
+}
+\newcommand{\sbcsup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.45ex}}$\hspace{\sbshift}%
+ }\llap{$\boldsymbol{\mathcal{S}}$}\mspace{5mu}%
+}
+\newcommand{\sbdsup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.4ex}}$\hspace{\sbdshift}%
+ }\llap{$\mathdutchbfcal{S}$}\mspace{5mu}%
+}
+\newcommand{\sbesup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.45ex}}$\hspace{\sbeshift}%
+ }\llap{$\boldsymbol{\EuScript{S}}$}\mspace{5mu}%
+}
+\newcommand{\sbvsup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.45ex}}$\hspace{\sbvshift}%
+ }\llap{\textbf{\textit{{\fontfamily{lmss}\selectfont S}}}}\mspace{5mu}%
+}
+\newcommand{\sbtsup}{%
+ \makebox[\Swidth][c]{%
+ $\rotatebox{-15}{\rule[-0.5ex]{\boldrulewidth}{1.4ex}}$\hspace{\sbtshift}%
+ }\llap{\scalebox{1.11}{\bitt S}}\mspace{5mu}%
+} \ No newline at end of file