Debian Codegraph @

texmf-dist/doc/latex/suppose/suppose-doc.tex

raw
1 \documentclass{article}
2 \usepackage{xcolor}
3 \usepackage{hyperref}
4 \usepackage{suppose}
5 \addtolength{\textwidth}{3.75cm}
6 \addtolength{\oddsidemargin}{-2cm}
7
8 \begin{document}
9 \title{The \texttt{suppose} package}
10 \author{1.2.2 \ 2021/05/20}
11 \date{
12 Andrew Lounsbury, \texttt{\href{mailto:[email protected]}{[email protected]}}
13 }
14 \maketitle
15
16 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
17 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,
18 \begin{center}
19 \fbox{\texttt{\textbackslash usepackage[dutchcal, slant]\{suppose\}}}
20 \end{center}
21 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.
22
23 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.
24 \begin{center}
25 \begin{tabular}{|c|c|c|c|c|c|}
26 \hline
27 \textbf{Option} & \textbf{Font} & \textbf{Command} & \textbf{Bold} & \textbf{Slanted Line} & \textbf{Slanted \& Bold} \\ \hline\hline
28 default & normal & \texttt{\textbackslash plainsupp} & \texttt{\textbackslash plainbsup} & \texttt{\textbackslash ssup} & \texttt{\textbackslash sbsup} \\ \hline
29 \texttt{mathcal} & mathcal & \texttt{\textbackslash csup} & \texttt{\textbackslash bcsup} & \texttt{\textbackslash scsup} & \texttt{\textbackslash sbcsup} \\ \hline
30 \texttt{dutchcal} & dutchcal & \texttt{\textbackslash dsup} & \texttt{\textbackslash bdsup} & \texttt{\textbackslash sdsup} & \texttt{\textbackslash sbdsup} \\ \hline
31 \texttt{eulerscript} & eulerscript & \texttt{\textbackslash esup} & \texttt{\textbackslash besup} & \texttt{\textbackslash sesup} & \texttt{\textbackslash sbesup} \\ \hline
32 \texttt{tt} & typewriter & \texttt{\textbackslash tsup} & \texttt{\textbackslash btsup} & \texttt{\textbackslash stsup} & \texttt{\textbackslash sbtsup} \\ \hline
33 \texttt{sans-serif} & sans serif & \texttt{\textbackslash vsup} & \texttt{\textbackslash bvsup} & \texttt{\textbackslash svsup} & \texttt{\textbackslash sbvsup} \\
34 &(\texttt{v} for variation) & & & & \\ \hline
35 \end{tabular}
36 \end{center}
37 \[
38 \begin{array}{c|c|c|l}
39 & \text{Regular} & \textbf{Bold} & \text{Font} \\ \hline
40 & \plainsupp x < y & \plainbsup x < y & NORMAL \\
41 & \csup x < y & \bcsup x < y & \mathcal{MATHCAL} \\
42 \text{Straight} & \dsup x < y & \bdsup x < y & \mathdutchcal{DUTCHCAL} \\
43 \text{Line} & \esup x < y & \besup x < y & \EuScript{EULERSCRIPT} \\
44 & \vsup x < y & \bvsup x < y & \mathsf{SANS\ SERIF} \\
45 & \tsup x < y & \btsup x < y & \mathtt{TYPEWRITER} \\ \hline
46 & \ssup x < y & \sbsup x < y & NORMAL \\
47 & \scsup x < y & \sbcsup x < y & \mathcal{MATHCAL} \\
48 \textsl{Slanted} & \sdsup x < y & \sbdsup x < y & \mathdutchcal{DUTCHCAL} \\
49 \textsl{Line} & \sesup x < y & \sbesup x < y & \EuScript{EULERSCRIPT} \\
50 & \svsup x < y & \sbvsup x < y & \mathsf{SANS\ SERIF} \\
51 & \stsup x < y & \sbtsup x < y & \mathtt{TYPERWRITER}
52 \end{array}
53 \]
54 \end{document}