summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/suppose
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-21 03:01:23 +0000
committerNorbert Preining <norbert@preining.info>2021-05-21 03:01:23 +0000
commit6a52d8839d334ac56f36195aa404fac667862830 (patch)
tree826593c6af503aaaf2691f8e96912485428ef595 /macros/latex/contrib/suppose
parent6d6c3b4ee419b9f485a213d2ece28b06e9ca2f7c (diff)
CTAN sync 202105210301
Diffstat (limited to 'macros/latex/contrib/suppose')
-rw-r--r--macros/latex/contrib/suppose/README.md26
-rw-r--r--macros/latex/contrib/suppose/suppose-doc.pdfbin206016 -> 206852 bytes
-rw-r--r--macros/latex/contrib/suppose/suppose-doc.tex24
-rw-r--r--macros/latex/contrib/suppose/suppose.sty368
4 files changed, 291 insertions, 127 deletions
diff --git a/macros/latex/contrib/suppose/README.md b/macros/latex/contrib/suppose/README.md
index 3aa4bdcf2b..41ae6264a9 100644
--- a/macros/latex/contrib/suppose/README.md
+++ b/macros/latex/contrib/suppose/README.md
@@ -1,22 +1,26 @@
# the ``suppose`` package
## Andrew Lounsbury
### Licensed with LPPL 1.3c
-### 1.2.1 2021/04/09
+### 1.2.2 2021/05/20
This package provides abbreviations of the word "Suppose" in various fonts and styles. \
See the documentation `suppose-doc.pdf` for a demonstration.
-## Change log
-|**1.1 2021/03/26** |
-|-------------------|
-| Added options for setting `\supp`, `\bsup`, `\ssup`, and `\sbsup` to one font |
+## Change log
+|**1.1 2021/03/26** |
+|------------------------------------|
+| Added options for setting one font |
-|**1.2 2021/04/01** |
-|-------------------|
-| Added `slant` option |
+|**1.2 2021/04/01** |
+|------------------------------------------------------------|
+| Added `slant` option |
| Fixed bug in `\PackageWarning` message for unknown options |
-| Adjusted placement of the `\rule` for each font |
+| Adjusted placement of the `\rule` for each font |
-|**1.2.1 2021/04/09** |
-|-------------------|
+|**1.2.1 2021/04/09** |
+|-------------------------------------------------------------------|
| Adjusted placement and thickness of the `\rule` for most commands |
+
+|**1.2.2 2021/05/20** |
+|-------------------------|
+| Improved implementation | \ No newline at end of file
diff --git a/macros/latex/contrib/suppose/suppose-doc.pdf b/macros/latex/contrib/suppose/suppose-doc.pdf
index e0ab273d51..dafb35b642 100644
--- a/macros/latex/contrib/suppose/suppose-doc.pdf
+++ b/macros/latex/contrib/suppose/suppose-doc.pdf
Binary files differ
diff --git a/macros/latex/contrib/suppose/suppose-doc.tex b/macros/latex/contrib/suppose/suppose-doc.tex
index 5093f4e51b..4ba3d5f7e4 100644
--- a/macros/latex/contrib/suppose/suppose-doc.tex
+++ b/macros/latex/contrib/suppose/suppose-doc.tex
@@ -1,22 +1,24 @@
\documentclass{article}
\usepackage{xcolor}
\usepackage{hyperref}
-\usepackage[tt, slant]{suppose}
-\setlength{\textwidth}{15.75cm}
-\setlength{\oddsidemargin}{0.75cm}
+\usepackage{suppose}
+\addtolength{\textwidth}{3.75cm}
+\addtolength{\oddsidemargin}{-2cm}
\begin{document}
\title{The \texttt{suppose} package}
-\author{1.2.1 \ 2021/04/09}
-\date{Andrew Lounsbury, \href{mailto:alounsbury8@gmail.com}{alounsbury8@gmail.com}}
+\author{1.2.2 \ 2021/05/20}
+\date{
+ Andrew Lounsbury, \texttt{\href{mailto:alounsbury8@gmail.com}{alounsbury8@gmail.com}}
+}
\maketitle
-This package is licensed with LPPL 1.3c, and provides the following abbreviations of the word ``Suppose.'' I recommend only using these symbols when the immediately succeeding strings are mathematical in nature, and they do in fact require math mode. I do not recommend using them in formal work. \par
+This package is licensed with \href{https://ctan.org/license/lppl1.3c}{LPPL 1.3c}, and provides the following abbreviations of the word ``Suppose.'' I recommend only using these symbols when the immediately succeeding strings are mathematical in nature, and they do in fact require math mode. I do not recommend using them in formal work. \par
The two main commands are \texttt{\textbackslash supp} and \texttt{\textbackslash bsup}, whose style and font may be specified with the options so that we can use them consistently. For example,
-\begin{verbatim}
- \usepackage[dutchcal, slant]{suppose}
-\end{verbatim}
-will make \texttt{\textbackslash supp} print in the \texttt{dutchcal} font with a slanted line and make \texttt{\textbackslash bsup} print the bold version of the same thing. The default font is the regular \texttt{mathit} serif font, and the vertical line is upright by default.
+\begin{center}
+ \fbox{\texttt{\textbackslash usepackage[dutchcal, slant]\{suppose\}}}
+\end{center}
+will make \texttt{\textbackslash supp} print in the \texttt{dutchcal} font with a slanted line and make \texttt{\textbackslash bsup} print the bold version of the same thing. The default font is the regular serif math mode font, and the vertical line is upright by default.
Though it is better to use the options with \texttt{\textbackslash supp} and \texttt{\textbackslash bsup}, every combination of font and style provided here can be hard-coded with the following commands.
\begin{center}
@@ -45,7 +47,7 @@ Though it is better to use the options with \texttt{\textbackslash supp} and \te
& \scsup x < y & \sbcsup x < y & \mathcal{MATHCAL} \\
\textsl{Slanted} & \sdsup x < y & \sbdsup x < y & \mathdutchcal{DUTCHCAL} \\
\textsl{Line} & \sesup x < y & \sbesup x < y & \EuScript{EULERSCRIPT} \\
- & \svsup < y & \sbvsup x < y & \mathsf{SANS\ SERIF} \\
+ & \svsup x < y & \sbvsup x < y & \mathsf{SANS\ SERIF} \\
& \stsup x < y & \sbtsup x < y & \mathtt{TYPERWRITER}
\end{array}
\]
diff --git a/macros/latex/contrib/suppose/suppose.sty b/macros/latex/contrib/suppose/suppose.sty
index 9c1d2ca830..9c4c858fa8 100644
--- a/macros/latex/contrib/suppose/suppose.sty
+++ b/macros/latex/contrib/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