texlive[58819] Master/texmf-dist: suppose (10apr21)
commits+karl at tug.org
commits+karl at tug.org
Sat Apr 10 23:11:14 CEST 2021
Revision: 58819
http://tug.org/svn/texlive?view=revision&revision=58819
Author: karl
Date: 2021-04-10 23:11:14 +0200 (Sat, 10 Apr 2021)
Log Message:
-----------
suppose (10apr21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/suppose/README.md
trunk/Master/texmf-dist/doc/latex/suppose/suppose-doc.pdf
trunk/Master/texmf-dist/doc/latex/suppose/suppose-doc.tex
trunk/Master/texmf-dist/tex/latex/suppose/suppose.sty
Modified: trunk/Master/texmf-dist/doc/latex/suppose/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/suppose/README.md 2021-04-10 21:11:00 UTC (rev 58818)
+++ trunk/Master/texmf-dist/doc/latex/suppose/README.md 2021-04-10 21:11:14 UTC (rev 58819)
@@ -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 |
Modified: trunk/Master/texmf-dist/doc/latex/suppose/suppose-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/suppose/suppose-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/suppose/suppose-doc.tex 2021-04-10 21:11:00 UTC (rev 58818)
+++ trunk/Master/texmf-dist/doc/latex/suppose/suppose-doc.tex 2021-04-10 21:11:14 UTC (rev 58819)
@@ -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 at gmail.com}{alounsbury8 at 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 @@
& \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
Modified: trunk/Master/texmf-dist/tex/latex/suppose/suppose.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/suppose/suppose.sty 2021-04-10 21:11:00 UTC (rev 58818)
+++ trunk/Master/texmf-dist/tex/latex/suppose/suppose.sty 2021-04-10 21:11:14 UTC (rev 58819)
@@ -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,43 +70,52 @@
}%
\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}%
@@ -110,7 +122,7 @@
\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}%
}%
@@ -117,39 +129,36 @@
\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
More information about the tex-live-commits
mailing list.