1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
% html4-math.4ht 2001-12-11-20:59 %
3
% Copyright (C) 1999--2001 Eitan M. Gurari %
5
% This program can redistributed and/or modified under %
6
% the terms of the LaTeX Project Public License %
7
% Distributed from CTAN archives in directory %
8
% macros/latex/base/lppl.txt; either version 1 of the %
9
% License, or (at your option) any later version. %
11
% However, you are allowed to modify this program %
12
% without changing its name, if you modify its %
13
% signature. Changes to the signature can be introduced %
14
% with a directive of the form %
15
% \message{signature} %
17
% gurari@cis.ohio-state.edu %
18
% http://www.cis.ohio-state.edu/~gurari %
19
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
20
\immediate\write-1{version 2001-12-11-20:59}
33
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
34
\ConfigureHinput{tex4ht}
35
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
37
\if:Option \else \:CheckOption{no_}\fi
40
{\HCode{<sub \csname :SUB:\endcsname>}}{\HCode{</sub>}}
44
\if:Option \else \:CheckOption{no^}\fi
47
{\HCode{<sup \csname :SUP:\endcsname>}}{\HCode{</sup>}}
51
\if:Option \else \:CheckOption{no_}\fi
52
\if:Option \else \:CheckOption{no^}\fi
55
{\HCode{<sub>}}{\HCode{</sub><sup>}}{\HCode{</sup>}}
58
{\Picture+{ \a:@Picture{left}}}
59
{\aftergroup\EndPicture }
60
\Configure{mathchoice}{\PictureOff}{\PictureOn}
63
{\:xhtml{\IgnorePar\EndP}%
64
\HCode{<div class="displaymath">}}
65
{\HCode{</div>}\ShowPar\par{\HCondtrue\noindent}%
67
\Configure{PicMath}{}{}{}{ class="math" }
68
\Css{div.displaymath{text-align:center;}}
69
\NewConfigure{@neq}{1}
70
\Configure{@neq}{align="middle"}
71
\NewConfigure{@buildrelover}{1}
72
\Configure{@buildrelover}{align="middle"}
73
\NewConfigure{@doteq}{1}
74
\Configure{@doteq}{align="middle"}
75
\NewConfigure{@underbrace}{1}
76
\NewConfigure{@frac}{1}
77
\Configure{@frac}{align="middle"}
78
\NewConfigure{@left}{1}
79
\Configure{@left}{align="middle"}
82
\Configure{PicDisplay}
83
{\edef\MathPar{\ifvmode par-\fi}\IgnorePar\endgraf\EndP
84
\HCode{<center class="\MathPar math-display">}}
85
{\HCode{</center>}} {} {class="\MathPar math-display" }
87
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
89
\endinput\empty\empty\empty\empty\empty\empty
90
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
93
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
94
\ConfigureHinput{latex}
95
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
96
\:CheckOption{pic-eqnarray} \if:Option
97
\ConfigureEnv{eqnarray}
98
{\IgnorePar\EndP\Tg<div class="pic-eqnarray">\Picture*{}}
99
{\EndPicture\Tg</div>}{}{}
100
\Css{div.pic-eqnarray {text-align:center;}}
101
\ConfigureEnv{eqnarray*}
102
{\IgnorePar\EndP\Tg<div class="pic-eqnarray-star">\Picture*{}}
103
{\EndPicture\Tg</div>}{}{}
104
\Css{div.pic-eqnarray-star {text-align:center;}}
106
\else \Configure{eqnarray}{\HCode{<table\Hnewline
107
class="eqnarray\ifx \@seqncr\@eqncr\else-star\fi ">}}
109
{\HCode{<tr valign="middle"
110
class="eqnarray\ifx \@seqncr\@eqncr\else-star\fi">}}
112
{\HCode{\ifnum \HCol=4 <td\Hnewline width="10"
113
class="eqnarray4"></td>\fi
114
<td\Hnewline align="\ifcase\HCol \or right\or center\or
115
left\else right\fi" nowrap="nowrap"\Hnewline
116
class="eqnarray\HCol">}}
118
\Css{td.eqnarray4 { width:5\%; white-space: normal; }}
119
\Css{td.eqnarray2 { width:5\%; }}
120
\Css{table.eqnarray-star, table.eqnarray {width:100\%;}}
121
\ConfigureEnv{eqnarray}
122
{\:xhtml{\IgnorePar\EndP}\HCode{<div
123
align="center" class="eqnarray">}}
124
{\:xhtml{\EndP}\HCode{</div>}}{}{}
125
\ConfigureEnv{eqnarray*}
126
{\:xhtml{\IgnorePar\EndP}\HCode{<div
127
align="center" class="eqnarray">}}
128
{\:xhtml{\EndP}\HCode{</div>}}{}{}
130
\Configure{stackrel}{\Picture+{ class="stackrel"}\mathrel}
131
{\limits ^}{\EndPicture}
132
\NewConfigure{@root}{1}
133
\Configure{@root}{align="middle" }
134
\Configure{big}{\HCode{<span class="big">}}{\HCode{</span>}}
135
\Configure{Big}{\HCode{<span class="bbig">}}{\HCode{</span>}}
136
\Configure{bigg}{\HCode{<span class="bigg">}}{\HCode{</span>}}
137
\Configure{Bigg}{\HCode{<span class="bbigg">}}{\HCode{</span>}}
138
\Configure{underline}
139
{\HCode{<span class="underline">}} {\HCode{</span>}}
141
{\HCode{<span class="overline">}} {\HCode{</span>}}
142
\Css{.underline{ text-decoration:underline; }}
143
\Css{.overline{ text-decoration:overline; }}
146
\:CheckOption{pic-equation}\if:Option
148
{\:xhtml{\IgnorePar\EndP}%
149
\HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar
150
\Configure{$$}{\PicDisplay}{\EndPicDisplay}
151
{\everymath{}\everydisplay{}}
153
{\IgnorePar\HCode{</td><td width="5\%">}}
154
{\end:TTT \ShowPar\par{\HCondtrue\noindent}%
158
{\:xhtml{\IgnorePar\EndP}%
159
\HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar
161
{\IgnorePar\EndP\HCode{</td><td width="5\%">}}
164
\Css{.equation td{text-align:center; }}
165
\Css{td.equation { margin-top:1em; margin-bottom:1em; } }
166
\let\A:displaylines\a:displaylines
167
\let\B:displaylines\b:displaylines
168
\let\C:displaylines\c:displaylines
169
\let\D:displaylines\d:displaylines
170
\Configure{displaylines}
172
\def\A:displaylines{\Picture*{}}%
173
\def\B:displaylines{\EndPicture}%
176
{\B:displaylines} {\C:displaylines}{\D:displaylines}
177
\Configure{$$}{\:xhtml{\EndP}\PicDisplay}{\EndPicDisplay}
178
{\everymath{}\everydisplay{}}
181
\def\end:pmatrix{\IgnorePar\HCode{</div>}\end:TTT}%
182
\:xhtml{\IgnorePar\EndP}\HCode
183
{<\tbl:XV{pmatrix}><tr><td><div align="center"\Hnewline>}%
184
\else \HCode{<span class="pmatrix">}%
185
\def \end:pmatrix{\HCode{</span>}}%
189
\def\A:root#1\b:root#2\c:root{\o:root:#1\of{#2}\c:root}
191
{\Picture+{ \a:@Picture{root}}\A:root}
194
\Configure{mathpalette}
195
{\Picture+{ \a:@Picture{mathpalette}}} {\EndPicture}
196
\Configure{L} {\pic:sym{L}}
197
\Configure{l} {\pic:sym{l}}
198
\def\pic:sym#1{\Protect\Picture+{ \a:@Picture{#1}}\csname
199
o:#1:\endcsname\Protect\EndPicture}
201
\Configure{mathellipsis} {...}
203
\:CheckOption{pic-array} \if:Option
205
{\IgnorePar\EndP\Tg<div class="pic-array">\Picture*{}$$}
206
{$$\EndPicture\Tg</div>}{}{}
207
\Css{div.pic-array {text-align:center;}}
209
\Configure{pmatrix} {\Picture+{ \a:@Picture{}}} {\EndPicture}
210
\Configure{bordermatrix} {\Picture+{ \a:@Picture{}}} {\EndPicture}
212
{\Picture+{ \a:@Picture{frac}}\bgroup}
216
{\Picture+{ \a:@Picture{sqrt}}}
219
{\Picture+{ \a:@Picture{matrix}}} {\EndPicture}
224
\def\end:pmatrix{\IgnorePar\HCode{</div>}\end:TTT}%
225
\:xhtml{\IgnorePar\EndP}\HCode
226
{<\tbl:XV{pmatrix}><tr><td><div align="center"\Hnewline>}%
227
\else \HCode{<span class="pmatrix">}%
228
\def \end:pmatrix{\HCode{</span>}}%
231
\Css{span.pmatrix img{vertical-align:middle;}}
234
{\PicDisplay $$\everymath{}\everydisplay{}}
235
{$$\EndPicDisplay \ShowPar\par{\HCondtrue\noindent}%
237
\Configure{()}{\protect\PicMath$}{$\protect\EndPicMath}
240
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
242
\endinput\empty\empty\empty\empty\empty\empty
243
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
251
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
252
\ConfigureHinput{fontmath}
253
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
254
\Configure{overbrace} {\Picture+{}}{\EndPicture}
255
\Configure{underbrace} {\Picture+{}}{\EndPicture}
257
\Configure{Longrightarrow} {\pic:sym{Longrightarrow}}
258
\Configure{angle} {\pic:sym{angle}}
259
\Configure{bowtie} {\pic:sym{bowtie}}
260
\Configure{cong} {\pic:sym{cong}}
261
\Configure{ddots} {\pic:sym{ddots}}
262
\Configure{doteq} {\pic:sym{doteq}}
263
\Configure{hookleftarrow} {\pic:sym{hookleftarrow}}
264
\Configure{hookrightarrow} {\pic:sym{hookrightarrow}}
265
\Configure{leftrightharpoons} {\pic:sym{leftrightharpoons}}
266
\Configure{longmapsto} {\pic:sym{longmapsto}}
267
\Configure{mapsto} {\pic:sym{mapsto}}
268
\Configure{models} {\pic:sym{models}}
269
\Configure{neq} {\pic:sym{neq}}
270
\Configure{notin} {\pic:sym{notin}}
271
\Configure{rightleftharpoons} {\pic:sym{rightleftharpoons}}
272
\Configure{vdots} {\pic:sym{vdots}}
275
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
277
\endinput\empty\empty\empty\empty\empty\empty
278
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
288
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
289
\ConfigureHinput{plain}
290
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
291
\let\A:displaylines\a:displaylines
292
\let\B:displaylines\b:displaylines
293
\let\C:displaylines\c:displaylines
294
\let\D:displaylines\d:displaylines
295
\Configure{displaylines}
297
\def\A:displaylines{\Picture*{}}%
298
\def\B:displaylines{\EndPicture}%
301
{\B:displaylines} {\C:displaylines}{\D:displaylines}
302
\Configure{$$}{\:xhtml{\EndP}\PicDisplay}{\EndPicDisplay}
303
{\everymath{}\everydisplay{}}
306
\def\end:pmatrix{\IgnorePar\HCode{</div>}\end:TTT}%
307
\:xhtml{\IgnorePar\EndP}\HCode
308
{<\tbl:XV{pmatrix}><tr><td><div align="center"\Hnewline>}%
309
\else \HCode{<span class="pmatrix">}%
310
\def \end:pmatrix{\HCode{</span>}}%
314
\def\A:root#1\b:root#2\c:root{\o:root:#1\of{#2}\c:root}
316
{\Picture+{ \a:@Picture{root}}\A:root}
319
\Configure{mathpalette}
320
{\Picture+{ \a:@Picture{mathpalette}}} {\EndPicture}
321
\Configure{L} {\pic:sym{L}}
322
\Configure{l} {\pic:sym{l}}
323
\def\pic:sym#1{\Protect\Picture+{ \a:@Picture{#1}}\csname
324
o:#1:\endcsname\Protect\EndPicture}
326
\Configure{Longrightarrow} {\pic:sym{Longrightarrow}}
327
\Configure{angle} {\pic:sym{angle}}
328
\Configure{bowtie} {\pic:sym{bowtie}}
329
\Configure{cong} {\pic:sym{cong}}
330
\Configure{ddots} {\pic:sym{ddots}}
331
\Configure{doteq} {\pic:sym{doteq}}
332
\Configure{hookleftarrow} {\pic:sym{hookleftarrow}}
333
\Configure{hookrightarrow} {\pic:sym{hookrightarrow}}
334
\Configure{leftrightharpoons} {\pic:sym{leftrightharpoons}}
335
\Configure{longmapsto} {\pic:sym{longmapsto}}
336
\Configure{mapsto} {\pic:sym{mapsto}}
337
\Configure{models} {\pic:sym{models}}
338
\Configure{neq} {\pic:sym{neq}}
339
\Configure{notin} {\pic:sym{notin}}
340
\Configure{rightleftharpoons} {\pic:sym{rightleftharpoons}}
341
\Configure{vdots} {\pic:sym{vdots}}
343
\Configure{ldots} {...}
345
\NewConfigure{@root}{1}
346
\Configure{@root}{align="middle" }
347
\Configure{big}{\HCode{<span class="big">}}{\HCode{</span>}}
348
\Configure{Big}{\HCode{<span class="bbig">}}{\HCode{</span>}}
349
\Configure{bigg}{\HCode{<span class="bigg">}}{\HCode{</span>}}
350
\Configure{Bigg}{\HCode{<span class="bbigg">}}{\HCode{</span>}}
351
\Configure{underline}
352
{\HCode{<span class="underline">}} {\HCode{</span>}}
354
{\HCode{<span class="overline">}} {\HCode{</span>}}
355
\Css{.underline{ text-decoration:underline; }}
356
\Css{.overline{ text-decoration:overline; }}
360
{\Picture+{ \a:@Picture{sqrt}}}
362
\Configure{overbrace} {\Picture+{}}{\EndPicture}
363
\Configure{underbrace} {\Picture+{}}{\EndPicture}
366
\Configure{@underbrace}{align="middle"}
369
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
371
\endinput\empty\empty\empty\empty\empty\empty
372
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
374
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
375
\ConfigureHinput{amsmath}
376
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
378
{\:xhtml{\IgnorePar\EndP}%
379
\HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar
381
{\IgnorePar\EndP\HCode{</td><td width="5\%">}}
383
\Css{.equation td{text-align:center; }}
384
\Configure{substack}{\Picture+{}}{\EndPicture}
385
\def\m:env#1{\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}%
386
\HCode{<center class="#1"><table class="#1"\Hnewline
387
border="0" cellpadding="0" cellspacing="15"><tr><td>}}
388
\def\endm:env{\:xhtml{\IgnorePar\EndP}%
389
\HCode{</td></tr></table></center>}\IgnorePar
390
\ifmmode\else\par\fi}
392
\:CheckOption{pic-align} \if:Option
395
{\par\IgnorePar\EndP\HCode{<div class="align">}\Picture*[pict]{}}
396
{\EndPicture\EndP\HCode{</div>}\par}
398
\Css{div.align {text-align: center;}}
403
{\IgnorePar\EndP \HCode{<table\Hnewline class="#2">}}
404
{\HCode{</table>}} {\HCode{<tr>}} {\HCode{</tr>}}
406
class="align-\ifnum \HCol>\maxfields@ label\else
407
\ifodd\HCol\space odd\else even\fi
410
\Css{table.align, table.alignat, table.xalignat, table.xxalignat,
411
table.flalign, table.align-star, table.alignat-star,
412
table.xalignat-star, table.flalign-star
413
{width:100\%; white-space: nowrap;}}
414
\Css{td.align-label { width:5\%; }}
415
\Css{td.align-odd { text-align:right; padding-right:0.3em;}}
416
\Css{td.align-even { text-align:left; padding-right:0.6em;}}
419
\:tempc{align}{align}
420
\:tempc{alignat}{alignat}
421
\:tempc{xalignat}{xalignat}
422
\:tempc{xxalignat}{xxalignat}
423
\:tempc{flalign}{flalign}
424
\:tempc{align*}{align-star}
425
\:tempc{alignat*}{alignat-star}
426
\:tempc{xalignat*}{xalignat-star}
427
\:tempc{flalign*}{flalign-star}
429
{\HCode{<table\Hnewline class="split"><tr><td>}}
430
{\HCode{</td></tr></table>}}
431
{\HCode{<br\Hnewline class="split-tr"\xml:empty>}} {}
432
{\HCode{<br\Hnewline class="split-td"\xml:empty>}} {}
433
\Configure{smallmatrix}
434
{\:xhtml{\IgnorePar\EndP}%
435
\HCode{<table\Hnewline class="smallmatrix">}} {\HCode{</table>}}
436
{\HCode{<tr>}} {\HCode{</tr>}}
437
{\HCode{<td\Hnewline>}} {\HCode{</td>}}
438
\ConfigureEnv{gather*}{\m:env{gather*}}{\endm:env}{}{}
439
\ConfigureEnv{gathered}{\m:env{gathered}}{\endm:env}{}{}
440
\ConfigureEnv{matrix}{\m:env{matrix}}{\endm:env}{}{}
441
\ConfigureEnv{quotation}{\m:env{quotation}}{\endm:env}{}{}
442
\Configure{equations}{*}{}
443
\ConfigureEnv{multline}
444
{\:xhtml{\IgnorePar\EndP}%
445
\HCode{<\tbl:XV{multline}><tr><td>}\Picture*{}\ExtractHLabel
447
{\EndPicture \ifx \:HLabel\:Undef \else
448
\HCode{</td><td width="5\%">}\PutHLabel
449
\global\let\:HLabel\:Undef
454
\ConfigureEnv{multline*}
455
{\:xhtml{\IgnorePar\EndP}%
456
\HCode{<\tbl:XV{multline-star}><tr><td>}\Picture*{}%
458
{\EndPicture \end:TTT}
461
\def\tagform@##1{{\xdef\:HLabel{\noexpand\tagform@{##1}}}}}
462
\def\PutHLabel{\:HLabel}
464
\ConfigureEnv{gather}
465
{\:xhtml{\IgnorePar\EndP}%
466
\HCode{<\tbl:XV{gather}><tr><td
467
class="gather1">}\Picture*{}\ExtractHLabel
469
{\EndPicture \ifx \:HLabel\:Undef \else
470
\HCode{</td><td width="5\%">}\PutHLabel
471
\global\let\:HLabel\:Undef
475
\ConfigureEnv{gather*}
476
{\:xhtml{\IgnorePar\EndP}%
477
\HCode{<\tbl:XV{gather-star}><tr><td>}\Picture*{}%
479
{\EndPicture \end:TTT}
481
\Css{td.gather-star, td.gather1 {text-align:center; }}
482
\Configure{@cdots} {\pic:sym{@cdots}}
483
\Configure{iint} {\pic:sym{iint}}
484
\Configure{iiint} {\pic:sym{iiint}}
485
\Configure{iiiint} {\pic:sym{iiint}}
486
\Configure{idotsint} {\pic:sym{tsint}}
487
\Configure{doteq} {\pic:sym{tsint}}
488
\Configure{overbrace} {\Picture+{}}{\EndPicture}
489
\Configure{underbrace} {\Picture+{}}{\EndPicture}
492
\Configure{overset} {\Picture+{ \a:@Picture{}}} {\EndPicture}
493
\Configure{underset} {\Picture+{ \a:@Picture{}}} {\EndPicture}
494
\Configure{xrightarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture}
495
\Configure{xleftarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture}
497
{\Picture+{}\bgroup} {}{}{}{}{\egroup\EndPicture}
499
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
501
\endinput\empty\empty\empty\empty\empty\empty
502
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
506
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
507
\ConfigureHinput{amstex1}
508
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
509
\Configure{overbrace} {\Picture+{}}{\EndPicture}
510
\Configure{underbrace} {\Picture+{}}{\EndPicture}
513
\Configure{dotsc} {\pic:sym{dotsc}}
514
\Configure{dotso} {\pic:sym{dotso}}
516
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
518
\endinput\empty\empty\empty\empty\empty\empty
519
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
529
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
530
\ConfigureHinput{amstex}
531
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
533
{\bgroup\m:env{pmatrix}}
535
\Configure{smallmatrix}
536
{\bgroup\m:env{smallmatrix}\Picture+{}}
537
{\EndPicture\endm:env\egroup}
540
{\bgroup\m:env{bmatrix}}
542
\Configure{vmatrix}{\bgroup\m:env{vmatrix}}{\endm:env\egroup}
543
\Configure{Vmatrix}{\bgroup\m:env{Vmatrix}}{\endm:env\egroup}
545
{\bgroup\m:env{aligned}\Picture+{}}
546
{\EndPicture\endm:env\egroup}
549
{\bgroup\m:env{xalignat}}
552
\Configure{xxalignat}
553
{\bgroup\m:env{xxalignat}}
557
{\bgroup\m:env{multline}\Picture+{}\vtop\bgroup$$}
558
{$$\egroup\EndPicture\endm:env\egroup}
560
\Configure{alignedat}
561
{\bgroup\m:env{alignedat}\Picture+{}}
562
{\EndPicture\endm:env\egroup}
565
{\bgroup\m:env{gathered}\Picture+{}}
566
{\EndPicture\endm:env\egroup}
568
\Configure{linebreak}{\HCode{<br\xml:empty>}}
569
\def\m:env#1{\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}%
570
\HCode{<center class="#1"><table class="#1"\Hnewline
571
border="0" cellpadding="0" cellspacing="15"><tr><td>}}
572
\def\endm:env{\:xhtml{\IgnorePar\EndP}%
573
\HCode{</td></tr></table></center>}\IgnorePar
574
\ifmmode\else\par\fi}
579
{\HCode{<table\Hnewline class="matrix">}} {\HCode{</table>}}
580
{\HCode{<tr\Hnewline>}} {\HCode{</tr>}}
581
{\HCode{<td>}} {\HCode{</td>}}
582
\Configure{cases}{\m:env{cases}}{\endm:env}
586
\:CheckOption{pic-matrix} \if:Option
588
{\m:env{matrix}\Picture+{}} {\EndPicture\endm:env}
591
\:CheckOption{pic-align} \if:Option
593
{\m:env{align}\Picture+{}} \EndPicture{\endm:env}
597
{\HCode{<table\Hnewline class="align">}} {\HCode{</table>}}
598
{\HCode{<tr\Hnewline>}} {\HCode{</tr>}}
599
{\HCode{<td>}} {\HCode{</td>}}
601
\:CheckOption{pic-cases} \if:Option
603
{\m:env{cases}\Picture+{}}{\EndPicture\endm:env}
606
{\bgroup\m:env{alignat}\Picture+{}}
607
{\EndPicture\endm:env \egroup}
610
{\bgroup\m:env{gather}\Picture+{}}
611
{\EndPicture\endm:env\egroup}
613
\Configure{frac}{\Picture+{}}{\EndPicture}
614
\Configure{dfrac}{\Picture+{}}{\EndPicture}
615
\Configure{tfrac}{\Picture+{}}{\EndPicture}
616
\Configure{binom}{\Picture+{}}{\EndPicture}
617
\Configure{dbinom}{\Picture+{}}{\EndPicture}
618
\Configure{tbinom}{\Picture+{}}{\EndPicture}
619
\Configure{boxed}{\Picture+{}}{\EndPicture}
622
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
624
\endinput\empty\empty\empty\empty\empty\empty
625
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
671
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
672
\ConfigureHinput{fleqn}
673
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
675
{\:xhtml{\IgnorePar\EndP}%
676
\HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar
677
\Configure{$}{\PicMath}{\EndPicMath}{}%
679
{\IgnorePar\HCode{</td><td width="5\%">}}
680
{\end:TTT\IgnorePar\par}
682
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
684
\endinput\empty\empty\empty\empty\empty\empty
685
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
759
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
760
\ConfigureHinput{th4}
761
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
763
{\PicDisplay $$\everymath{}\everydisplay{}}
764
{$$\EndPicDisplay \ShowPar\par{\HCondtrue\noindent}%
766
\Configure{()}{\protect\PicMath$}{$\protect\EndPicMath}
769
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
771
\endinput\empty\empty\empty\empty\empty\empty
772
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%