Debian Codegraph @

texmf-dist/doc/latex/math-operator/math-operator-heading.tex

raw
1 %%
2 %% This is file `math-operator-heading.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% math-operator-code.dtx (with options: `heading')
8 %%
9 %% This file is from version 1.3a of the free and open-source
10 %% LaTeX package "math-operator," released September 2025.
11 %%
12 %% Copyright 2025 Conrad Kosowsky
13 %%
14 %% This file may be used, distributed, and modified under the
15 %% terms of the LaTeX Public Project License, version 1.3c or
16 %% any later version. The most recent version of this license
17 %% is available online at
18 %%
19 %% https://www.latex-project.org/lppl/
20 %%
21 %% This work has the LPPL status "maintained," and the current
22 %% maintainer is the package author, Conrad Kosowsky. He can
23 %% be reached at [email protected].
24 %%
25 %% PLEASE KNOW THAT THIS FREE SOFTWARE IS PROVIDED WITHOUT
26 %% ANY WARRANTY. SPECIFICALLY, THE "NO WARRANTY" SECTION OF
27 %% THE LATEX PROJECT PUBLIC LICENSE STATES THE FOLLOWING:
28 %%
29 %% THERE IS NO WARRANTY FOR THE WORK. EXCEPT WHEN OTHERWISE
30 %% STATED IN WRITING, THE COPYRIGHT HOLDER PROVIDES THE WORK
31 %% `AS IS’, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
32 %% OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
33 %% WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
34 %% PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
35 %% OF THE WORK IS WITH YOU. SHOULD THE WORK PROVE DEFECTIVE,
36 %% YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR
37 %% CORRECTION.
38 %%
39 %% IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED
40 %% TO IN WRITING WILL THE COPYRIGHT HOLDER, OR ANY AUTHOR
41 %% NAMED IN THE COMPONENTS OF THE WORK, OR ANY OTHER PARTY
42 %% WHO MAY DISTRIBUTE AND/OR MODIFY THE WORK AS PERMITTED
43 %% ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL,
44 %% SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT
45 %% OF ANY USE OF THE WORK OR OUT OF INABILITY TO USE THE WORK
46 %% (INCLUDING, BUT NOT LIMITED TO, LOSS OF DATA, DATA BEING
47 %% RENDERED INACCURATE, OR LOSSES SUSTAINED BY ANYONE AS A
48 %% RESULT OF ANY FAILURE OF THE WORK TO OPERATE WITH ANY
49 %% OTHER PROGRAMS), EVEN IF THE COPYRIGHT HOLDER OR SAID
50 %% AUTHOR OR SAID OTHER PARTY HAS BEEN ADVISED OF THE
51 %% POSSIBILITY OF SUCH DAMAGES.
52 %%
53 %% For more information, see the LaTeX Project Public License.
54 %% Derivative works based on this software may come with their
55 %% own license or terms of use, and the package author is not
56 %% responsible for any third-party software.
57 %%
58 %% Happy TeXing!
59 %%
60
61 \csname count@\endcsname\catcode`\@
62 \makeatletter
63
64 \def\packagedate{September 2025}
65 \def\packageversion{1.3a}
66
67 \let\@@section\section
68 \def\section{\relax
69 \vskip0.8in\penalty\z@\kern\z@\vskip-0.8in\vskip\z@
70 \@ifstar\star@sect\no@star@sect}
71 \def\star@sect#1{\@@section*{#1}\section@name{#1}}
72 \def\no@star@sect#1{\@@section{#1}\section@name{#1}}
73 \def\section@name#1{\expandafter
74 \def\csname section@\thesection\endcsname{#1}}
75 \def\sectionname{\csname section@\thesection\endcsname}
76
77 \def\clap#1{\hb@xt@\z@{\hss#1\hss}}
78 \def\@oddhead{\ifnum\count0>1\relax
79 \rlap{}\hfil\clap{\itshape\sectionname}\hfil
80 \llap{\the\count0}\fi}
81 \def\@evenhead{\ifnum\count0>1\relax
82 \rlap{\the\count0}\hfil\clap{\itshape\sectionname}\hfil
83 \llap{}\fi}
84 \def\@oddfoot{\hfil\ifnum\count0=1\relax1\fi\hfil}
85 \let\@evenfoot\@empty
86
87 \pretolerance=20
88 \hyphenpenalty=10
89 \exhyphenpenalty=5
90 \brokenpenalty=0
91 \clubpenalty=5
92 \widowpenalty=5
93 \finalhyphendemerits=300
94 \doublehyphendemerits=500
95
96 \flushbottom
97
98 \def\topfraction{1}
99 \def\bottomfraction{1}
100 \let\code\@undefined
101 \newenvironment{code}
102 {\strut\vadjust\bgroup\vskip 5pt plus 1pt minus 3pt\relax
103 \parindent\z@\leftskip2em\relax
104 \noindent\strut\ignorespaces}
105 {\strut\par\vskip 5pt plus 1pt minus 3pt\relax
106 \egroup\hfill\break\strut\ignorespacesafterend}
107 \def\vrb#1{\expandafter\texttt\expandafter{\string#1}}
108 \def\XeTeX{X\kern-0.1em
109 \raise-0.5ex\hbox{\rotatebox[origin=c]{180}{E}}\kern-0.15em
110 \TeX}
111 \def\XeLaTeX{X\kern-0.1em
112 \raise-0.5ex\hbox{\rotatebox[origin=c]{180}{E}}\kern-0.15em
113 \LaTeX}
114 \parskip=0pt
115
116 {\large
117 \let\thefootnote\relax
118 \footnotetext{Acknowledgements: Thanks to Andrew Baker for pointing out a bug in a previous version of \textsf{math-operator} and suggesting additional control sequences for the package.}
119 \parindent=0pt\relax
120 \leftskip=0pt plus 1fill\relax
121 \rightskip=0pt plus 1fill\relax
122 {\strut\Large Package \textsf{math-operator} v.\ \packageversion\ \documentname\par
123 {\strut Conrad Kosowsky}\par
124 {\strut\packagedate}\par
125 {\strut\ttfamily [email protected]}\par}
126
127 \bigskip
128
129 {\small
130 \leftskip=0.5in\relax
131 \rightskip=0.5in\relax
132 \hyphenpenalty=500
133
134 \centerline{\bfseries Overview\strut}
135 \noindent The \textsf{math-operator} package defines control sequences for roughly one hundred and fifty math operators, including special functions, probability distributions, pure mathematical constructions, and a variant of |\overline|. The package also provides an interface for users to define new math operators similar to the \textsf{amsopn} package. New operators can be medium or bold weight, and they may be declared as |\mathord| or |\mathop| subformulas.\par}
136
137 \bigskip\bigskip\nointerlineskip
138 \centerline{\vrule height 0.5pt width 2.5in}\bigskip\bigskip}
139 \nointerlineskip
140
141 \catcode`\@\count@
142
143 \endinput
144 %%
145 %% End of file `math-operator-heading.tex'.