Debian Codegraph @

texmf-dist/tex/generic/tex4ht/fontmath.4ht

raw
1 % fontmath.4ht (2022-10-25-13:59), generated from tex4ht-4ht.tex
2 % Copyright 1997-2009 Eitan M. Gurari
3 % Copyright 2009-2022 TeX Users Group
4 %
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3c of this license or (at your option) any
8 % later version. The latest version of this license is in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <http://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2022-10-25-13:59}
21
22 \def\:same#1{#1}
23 \def\no:fonts{\more:no \let\protect\@unexpandable@protect }
24 \def\more:no{%
25 \let\footnote\:gobble \let\ \space
26 }
27 \def\relbar{\mathrel-}
28
29 \def\choose:mfont#1{\ifx \math@bgroup \relax
30 \expandafter\old:mfont
31 \else
32 \expandafter\new:mfont
33 \fi
34 {#1}}
35 \def\old:mfont#1{\csname o:@#1:\endcsname}
36 \def\new:mfont#1#2{%
37 \csname a:#1\endcsname
38 \csname o:#1@@:\endcsname
39 {#2}\csname b:#1\endcsname
40 }
41 \def\:temp{\protect \@mathtt}
42 \ifx \mathtt\:temp
43 \def\:tempd#1{%
44 \expandafter\edef\csname #1\endcsname{%
45 \noexpand\protect \expandafter\noexpand
46 \csname #1@@\endcsname}
47 \expandafter\edef\csname #1@@\endcsname{%
48 \noexpand\protect \expandafter\noexpand
49 \csname @#1\endcsname}
50 \def\:tempc{\choose:mfont {#1}}
51 \expandafter\HLet\csname #1@@\endcsname\:tempc
52 \NewConfigure{#1}{2}%
53 }
54
55 \else
56 \def\:tempd#1{%
57 \expandafter\edef\csname #1\endcsname{%
58 \noexpand\protect \expandafter\noexpand
59 \csname #1@@\endcsname}
60 \expandafter\edef\csname #1@@\endcsname{%
61 \noexpand\protect \expandafter\noexpand
62 \csname #1\space\endcsname}
63 \def\:tempc{\choose:mfont {#1}}
64 \expandafter\HLet\csname #1@@\endcsname\:tempc
65 \NewConfigure{#1}{2}%
66 }
67
68 \fi
69
70 \:tempd{mathbf}
71 \:tempd{mathrm}
72 \:tempd{mathsf}
73 \:tempd{mathit}
74 \:tempd{mathtt}
75 \ProtectedMathSymbol\mathop{longleftarrow}
76 \ProtectedMathSymbol\mathop{longrightarrow}
77
78 \MathSymbol\mathop{int}
79 \def\n:int:{\expandafter\:same \math:sym\mathop{int}\nolimits}
80
81 \def\:tempc#1{{\hbox{\pic:gobble\a:big$\pic:gobble\c:big\left#1\vbox
82 to8.5\p@{}\right.\n@space\pic:gobble\d:big$\pic:gobble\b:big}}}
83 \HLet\big=\:tempc
84 \def\:tempc#1{{\hbox{\pic:gobble\a:Big$\pic:gobble\c:Big\left#1\vbox
85 to11.5\p@{}\right.\n@space\pic:gobble\d:Big$\pic:gobble\b:Big}}}
86 \HLet\Big\:tempc
87 \def\:tempc#1{{\hbox{\pic:gobble\a:bigg$\pic:gobble\c:bigg\left#1\vbox
88 to14.5\p@{}\right.\n@space\pic:gobble\d:bigg$\pic:gobble\b:bigg}}}
89 \HLet\bigg\:tempc
90 \def\:tempc#1{{\hbox{\pic:gobble\a:Bigg$\pic:gobble\c:Bigg\left#1\vbox
91 to17.5\p@{}\right.\n@space\pic:gobble\d:Bigg$\pic:gobble\b:Bigg}}}
92 \HLet\Bigg\:tempc
93 \HLet\Bigg=\:tempc
94 \NewConfigure{big}{4}
95 \NewConfigure{Big}{4}
96 \NewConfigure{bigg}{4}
97 \NewConfigure{Bigg}{4}
98
99 \def\:temp#1{\a:overbrace \mathop{\hbox{\b:overbrace
100 $\o:overbrace:{#1}$\c:overbrace}}\limits}
101 \HLet\overbrace\:temp
102 \NewConfigure{overbrace}{3}
103 \def\:temp#1{\a:underbrace \mathop{\hbox{$\b:underbrace
104 \o:underbrace:{#1}\c:underbrace$}}\limits}
105 \HLet\underbrace\:temp
106 \NewConfigure{underbrace}{3}
107
108 \MathSymbol\mathop{angle}
109 \MathSymbol\mathop{cong}
110 \MathSymbol\mathop{vdots}
111 \MathSymbol\mathop{ldots}
112 \MathSymbol\mathrel{Longleftrightarrow}
113 \MathSymbol\mathrel{Longrightarrow}
114 \MathSymbol\mathrel{Longleftarrow}
115 \MathSymbol\mathrel{bowtie}
116 \MathSymbol\mathrel{cdots}
117 \MathSymbol\mathrel{ddots}
118 \MathSymbol\mathrel{doteq}
119 \MathSymbol\mathrel{hookleftarrow}
120 \MathSymbol\mathrel{hookrightarrow}
121 \MathSymbol\mathrel{leftrightharpoons}
122 \MathSymbol\mathrel{longleftrightarrow}
123 \MathSymbol\mathrel{longmapsto}
124 \MathSymbol\mathrel{mapsto}
125 \MathSymbol+\mathrel{mid}
126 \MathSymbol\mathrel{models}
127 \MathSymbol\mathrel{neq} \let\ne\neq \def\c:ne:{\Configure{neq}}
128 \MathSymbol\mathrel{notin}
129 \MathSymbol\mathrel{rightleftharpoons}
130
131 \def\:tempc#1{\a:overrightarrow
132 \o:overrightarrow:{#1}\b:overrightarrow}
133 \HLet\overrightarrow\:tempc
134 \NewConfigure{overrightarrow}{2}
135 \def\:tempc#1{\a:overleftarrow
136 \o:overleftarrow:{#1}\b:overleftarrow}
137 \HLet\overleftarrow\:tempc
138 \NewConfigure{overleftarrow}{2}
139
140 \Hinput{fontmath}
141 \endinput
142