summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/suppose
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-04-11 03:01:03 +0000
committerNorbert Preining <norbert@preining.info>2021-04-11 03:01:03 +0000
commit9b552e1a4637af098a01847c97658f65bc505356 (patch)
tree5fdca147f23bfe92704e86bbcac8e13521185c6c /macros/latex/contrib/suppose
parent5960076e4c9c15e2a052cf015dd697a65db3150d (diff)
CTAN sync 202104110301
Diffstat (limited to 'macros/latex/contrib/suppose')
-rw-r--r--macros/latex/contrib/suppose/README.md22
-rw-r--r--macros/latex/contrib/suppose/suppose-doc.pdfbin205546 -> 206016 bytes
-rw-r--r--macros/latex/contrib/suppose/suppose-doc.tex10
-rw-r--r--macros/latex/contrib/suppose/suppose.sty95
4 files changed, 72 insertions, 55 deletions
diff --git a/macros/latex/contrib/suppose/README.md b/macros/latex/contrib/suppose/README.md
index f607b2fe13..3aa4bdcf2b 100644
--- a/macros/latex/contrib/suppose/README.md
+++ b/macros/latex/contrib/suppose/README.md
@@ -1,14 +1,22 @@
# the ``suppose`` package
## Andrew Lounsbury
### Licensed with LPPL 1.3c
-### 1.2 2021/04/01
+### 1.2.1 2021/04/09
This package provides abbreviations of the word "Suppose" in various fonts and styles. \
See the documentation `suppose-doc.pdf` for a demonstration.
-|Change log | Info |
-|-------------------|--------------------------------------------------------------------------------|
-|**1.1 2021/03/26** | Added options for setting `\supp`, `\bsup`, `\ssup`, and `\sbsup` to one font |
-|**1.2 2021/04/01** | Added `slant` option |
-| | Fixed bug in `\PackageWarning` message for unknown options |
-| | Adjusted placement of the `\rule` for each font |
+## Change log
+|**1.1 2021/03/26** |
+|-------------------|
+| Added options for setting `\supp`, `\bsup`, `\ssup`, and `\sbsup` to one font |
+
+|**1.2 2021/04/01** |
+|-------------------|
+| Added `slant` option |
+| Fixed bug in `\PackageWarning` message for unknown options |
+| Adjusted placement of the `\rule` for each font |
+
+|**1.2.1 2021/04/09** |
+|-------------------|
+| Adjusted placement and thickness of the `\rule` for most commands |
diff --git a/macros/latex/contrib/suppose/suppose-doc.pdf b/macros/latex/contrib/suppose/suppose-doc.pdf
index 55bf001e0d..e0ab273d51 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 533c374125..5093f4e51b 100644
--- a/macros/latex/contrib/suppose/suppose-doc.tex
+++ b/macros/latex/contrib/suppose/suppose-doc.tex
@@ -1,17 +1,17 @@
\documentclass{article}
\usepackage{xcolor}
\usepackage{hyperref}
-\usepackage[tt]{suppose}
+\usepackage[tt, slant]{suppose}
\setlength{\textwidth}{15.75cm}
\setlength{\oddsidemargin}{0.75cm}
\begin{document}
\title{The \texttt{suppose} package}
-\author{1.2 \ 2021/04/01}
+\author{1.2.1 \ 2021/04/09}
\date{Andrew Lounsbury, \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. I do not recommend using them in formal work. \par
+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
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}
@@ -45,8 +45,8 @@ 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 x < y & \sbvsup x < y & \mathsf{SANS\ SERIF} \\
- &\ \stsup x < y & \sbtsup x < y & \mathtt{TYPERWRITER}
+ & \svsup < y & \sbvsup x < y & \mathsf{SANS\ SERIF} \\
+ & \stsup x < y & \sbtsup x < y & \mathtt{TYPERWRITER}
\end{array}
\]
\end{document} \ No newline at end of file
diff --git a/macros/latex/contrib/suppose/suppose.sty b/macros/latex/contrib/suppose/suppose.sty
index e0df512bfc..9c1d2ca830 100644
--- a/macros/latex/contrib/suppose/suppose.sty
+++ b/macros/latex/contrib/suppose/suppose.sty
@@ -1,4 +1,4 @@
-% suppose.sty 1.2 2021/04/01
+% suppose.sty 1.2.1 2021/04/09
% Andrew Lounsbury
%************************************************************************
@@ -20,7 +20,7 @@
% This work consists of the file suppose.sty.
%************************************************************************
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{suppose}[2021/04/01 1.2 supposition symbols]
+\ProvidesPackage{suppose}[2021/04/09 1.2.1 supposition symbols]
%
\RequirePackage{amsmath, euscript, graphicx}%
%
@@ -31,7 +31,6 @@
\newcommand*{\sansserif}[1]{\textit{{\fontfamily{lmss}\selectfont #1}}}%
\newcommand*{\bfsansserif}[1]{\textbf{\textit{{\fontfamily{lmss}\selectfont #1}}}}%
%
-\font\btt=rm-lmtk10 % bold typewriter font
\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}$}%
@@ -44,8 +43,12 @@
\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}%
%
@@ -55,9 +58,9 @@
\setlength{\boldshift}{0.0425in}%
}%
\DeclareOption{mathcal}{%
- \ifdim\boldshift = 0.0425in % if slant option selected
+ \ifdim\boldshift = 0.0425in % if slant option selected
\addtolength{\shift}{0.00225in}%
- \addtolength{\boldshift}{0.00225in}%
+ \addtolength{\boldshift}{0.0015in}%
\fi%
\renewcommand{\curfont}{\mathcal}%
\renewcommand{\curboldfont}{\mathbfcal}%
@@ -67,89 +70,95 @@
}%
\DeclareOption{dutchcal}{%
\ifdim\boldshift = 0.0425in%
- \addtolength{\shift}{0.0025in}%
- \addtolength{\boldshift}{0.002in}%
+ \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.1ex}%
- \addtolength{\boldshift}{-0.003in}%
+ \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.0015in}%
+ \addtolength{\boldshift}{0.00125in}%
\fi%
\renewcommand{\curfont}{\EuScript}%
\renewcommand{\curboldfont}{\bfeuscript}%
\addtolength{\rulelength}{0.1ex}%
\addtolength{\shift}{-0.01275in}%
- \addtolength{\boldshift}{-0.015in}%
+ \addtolength{\boldshift}{-0.01525in}%
}%
\DeclareOption{sans-serif}{%
\ifdim\boldshift = 0.0425in%
\addtolength{\shift}{0.001in}%
+ \addtolength{\boldshift}{0.001in}%
\fi%
\renewcommand{\curfont}{\sansserif}%
\renewcommand{\curboldfont}{\bfsansserif}%
\addtolength{\shift}{-0.01375in}%
- \addtolength{\boldshift}{-0.006in}%
+ \addtolength{\boldshift}{-0.005in}%
}%
\DeclareOption{tt}{%
+ \ifdim\boldshift = 0.0425in%
+ \addtolength{\shift}{0.001in}%
+ \addtolength{\boldrulewidth}{-0.025ex}%
+ \fi%
\renewcommand{\curfont}{\itt}%
\renewcommand{\curboldfont}{\bolditt}%
\addtolength{\shift}{0.0114in}%
\addtolength{\boldrulelength}{0.1ex}%
- \addtolength{\boldshift}{-0.0185in}%
+ \addtolength{\boldshift}{-0.02in}%
}%
+\DeclareOption*{\PackageWarning{suppose}{Unknown '\CurrentOption'}}%
+\ProcessOptions\relax%
+%
% The two main commands
\newlength{\Swidth}%
\settowidth{\Swidth}{S}%
\newcommand{\supp}{%
\makebox[\Swidth][r]{%
$\rotatebox{\value{angle}}{%
- \rule[-0.5ex]{0.15ex}{\rulelength}%
+ \rule[-0.5ex]{\rulewidth}{\rulelength}%
}$\hspace{\shift}\ %
}\llap{$\curfont{S}$}\mspace{5mu}%
}%
\newcommand{\bsup}{%
\makebox[\Swidth][r]{%
$\rotatebox{\value{angle}}{%
- \rule[-0.5ex]{0.2ex}{\boldrulelength}%
+ \rule[-0.5ex]{\boldrulewidth}{\boldrulelength}%
}$\hspace{\boldshift}%
}\llap{$\curboldfont{S}$%
}\mspace{5mu}}%
+%
% Commands for hard-coding
-\newcommand{\plainsupp}{\makebox[\Swidth][r]{$\rule[-0.5ex]{0.15ex}{1.3ex}\mspace{-0.25mu}$\ }\llap{$S$}\mspace{5mu}}%
-\newcommand{\csup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.15ex}{1.45ex}\mspace{8.5mu}$}\llap{$\mathcal{S}$}\mspace{5mu}}%
-\newcommand{\dsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.15ex}{1.45ex}\mspace{9.5mu}$}\llap{$\mathdutchcal{S}$}\mspace{5mu}}%
-\newcommand{\esup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.15ex}{1.35ex}\mspace{5.25mu}$}\llap{$\EuScript{S}$}\mspace{5mu}}%
-\newcommand{\tsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.15ex}{1.3ex}\mspace{5.5mu}$\ }\llap{\scalebox{1.1}{\textit{\texttt{S}}}}\mspace{5mu}}%
-
-\newcommand{\vsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.15ex}{1.45ex}\mspace{7.75mu}$}\llap{\textit{{\fontfamily{lmss}\selectfont S}}}\mspace{5mu}}%
+\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}}%
% Bold
-\newcommand{\plainbsup}{\makebox[\Swidth][r]{$\rule[-0.5ex]{0.20ex}{1.3ex}\mspace{6.3mu}$}\llap{$\boldsymbol{S}$}\mspace{5mu}}%
-\newcommand{\bcsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.20ex}{1.5ex}\mspace{10mu}$}\llap{$\boldsymbol{\mathcal{S}}$}\mspace{5mu}}%
-\newcommand{\bdsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.20ex}{1.5ex}\mspace{9.5mu}$}\llap{$\mathdutchbfcal{S}$}\mspace{5mu}}%
-\newcommand{\besup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.20ex}{1.35ex}\mspace{6mu}$}\llap{$\boldsymbol{\EuScript{S}}$}\mspace{5mu}}%
-\newcommand{\btsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.2ex}{1.3ex}\mspace{-0.7mu}$\ }\llap{\scalebox{1.11}{\bitt S}}\mspace{5mu}}%
-\newcommand{\bvsup}{\makebox[\Swidth][c]{\ $\rule[-0.5ex]{0.20ex}{1.45ex}\mspace{8.75mu}$}\llap{\textbf{\textit{{\fontfamily{lmss}\selectfont S}}}}\mspace{5mu}}%
+\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}}%
% Slanted rule
-\newcommand{\ssup}{\makebox[\Swidth][r]{$\rotatebox{-15}{\rule[-0.5ex]{0.15ex}{1.3ex}}\mspace{5mu}$}\llap{$S$}\mspace{5mu}}%
-\newcommand{\scsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.15ex}{1.45ex}}\mspace{10mu}$}\llap{$\mathcal{S}$}\mspace{5mu}}%
-\newcommand{\sdsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.15ex}{1.35ex}}\mspace{11mu}$}\llap{$\mathdutchcal{S}$}\mspace{5mu}}%
-\newcommand{\sesup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.15ex}{1.4ex}}\mspace{6.6mu}$}\llap{$\EuScript{S}$}\mspace{5mu}}%
-\newcommand{\stsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.15ex}{1.3ex}}\mspace{6.5mu}$\ }\llap{\scalebox{1.11}{\textit{\texttt{S}}}}\mspace{5mu}}%
-\newcommand{\svsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.15ex}{1.45ex}}\mspace{9mu}$}\llap{\textit{{\fontfamily{lmss}\selectfont S}}}\mspace{5mu}}%
+\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}}%
% Slanted & bold
-\newcommand{\sbsup}{\makebox[\Swidth][r]{$\rotatebox{-15}{\rule[-0.5ex]{0.20ex}{1.3ex}}\mspace{5.5mu}$}\llap{$\boldsymbol{S}$}\mspace{5mu}}%
-\newcommand{\sbcsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.20ex}{1.45ex}}\mspace{12mu}$}\llap{$\boldsymbol{\mathcal{S}}$}\mspace{5mu}}%
-\newcommand{\sbdsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.20ex}{1.4ex}}\mspace{11mu}$}\llap{$\mathdutchbfcal{S}$}\mspace{5mu}}%
-\newcommand{\sbesup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.20ex}{1.45ex}}\mspace{7.2mu}$}\llap{$\boldsymbol{\EuScript{S}}$}\mspace{5mu}}%
-\newcommand{\sbtsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.2ex}{1.4ex}}\mspace{0.25mu}$\ }\llap{\scalebox{1.11}{\bitt S}}\mspace{5mu}}%
-\newcommand{\sbvsup}{\makebox[\Swidth][c]{\ $\rotatebox{-15}{\rule[-0.5ex]{0.20ex}{1.45ex}}\mspace{10mu}$}\llap{\textbf{\textit{{\fontfamily{lmss}\selectfont S}}}}\mspace{5mu}}%
-%
-\DeclareOption*{\PackageWarning{suppose}{Unknown '\CurrentOption'}}%
-\ProcessOptions\relax%
+\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