Debian Codegraph @

texmf-dist/tex/latex/amsmath/amsxtra.sty

raw
1 %%
2 %% This is file `amsxtra.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% amsxtra.dtx
8 %%
9 %% Copyright (C) 1995, 1999 American Mathematical Society.
10 %% Copyright (C) 2016-2025 LaTeX Project and American Mathematical Society.
11 %%
12 %% This work may be distributed and/or modified under the
13 %% conditions of the LaTeX Project Public License, either version 1.3c
14 %% of this license or (at your option) any later version.
15 %% The latest version of this license is in
16 %% https://www.latex-project.org/lppl.txt
17 %% and version 1.3c or later is part of all distributions of LaTeX
18 %% version 2005/12/01 or later.
19 %%
20 %% This work has the LPPL maintenance status `maintained'.
21 %%
22 %% The Current Maintainer of this work is the LaTeX Project.
23 %%
24 \ProvidesPackage{amsxtra}[1999/11/15 v1.2c AMS extra commands]
25 \@ifpackageloaded{amstex}{}{%
26 \RequirePackage{amsmath}[1996/10/01 v1.2]}
27 \def\sphat{^{\mathchoice{}{}%
28 {\,\,\smash[b]{\hbox{\lower4\ex@\hbox{$\m@th\widehat{\null}$}}}}%
29 {\,\smash[b]{\hbox{\lower3\ex@\hbox{$\m@th\hat{\null}$}}}}}}
30 \def\spcheck{^\vee}
31 \def\sptilde{^\sim}
32 \def\spdot{^{\hbox{\raise\ex@\hbox{\normalfont .}}}}
33 \def\spddot{^{\hbox{\raise\ex@\hbox{\normalfont ..}}}}
34 \def\spdddot{^{\hbox{\raise\ex@\hbox{\normalfont...}}}}
35 \def\spbreve{^{\!\smash[b]{\hbox{\lower4\ex@\hbox{\u{}}}}}}
36 \@ifpackageloaded{amstex}{%
37 \def\fracwithdelims#1#2{\new@ifnextchar[{\fracwithdelims@#1#2}%
38 {\fracwithdelims@#1#2[\@empty]}}
39 \def\fracwithdelims@#1#2[#3]#4#5{\relax
40 \ifx\@empty#3{#4\overwithdelims#1#2#5}\else
41 {#4\abovewithdelims#1#2#3\relax#5}\fi}
42 }{}
43 \def\accentedsymbol#1#2{%
44 \expandafter\newbox
45 \csname\expandafter\@gobble\string#1@box\endcsname
46 \expandafter\setbox
47 \csname\expandafter\@gobble\string#1@box\endcsname
48 \hbox{$\m@th#2$}%
49 \newcommand{#1}{%
50 \expandafter\copy
51 \csname\expandafter\@gobble\string#1@box\endcsname{}}%
52 }
53 \def~{\nobreakspace}
54 \DeclareRobustCommand{\nobreakspace}{\unskip\nobreak\ \ignorespaces}
55 \endinput
56 %%
57 %% End of file `amsxtra.sty'.