| 1 |
% html4-math.4ht (2026-01-29-13:49), generated from tex4ht-html4.tex |
| 2 |
% Copyright 2009-2026 TeX Users Group |
| 3 |
% Copyright 1999-2009 Eitan M. Gurari |
| 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 |
% https://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 <https://tug.org/tex4ht>. |
| 17 |
% |
| 18 |
% If you modify this program, changing the |
| 19 |
% version identification would be appreciated. |
| 20 |
\immediate\write-1{version 2026-01-29-13:49} |
| 21 |
|
| 22 |
\exit:ifnot{accents,% |
| 23 |
amsfonts,% |
| 24 |
amsmath,% |
| 25 |
amstex,% |
| 26 |
amstex1,% |
| 27 |
array,% |
| 28 |
cancel,% |
| 29 |
eplain,% |
| 30 |
fleqn,% |
| 31 |
fontmath,% |
| 32 |
gauss,% |
| 33 |
latex,% |
| 34 |
plain,% |
| 35 |
rlbabel,% |
| 36 |
tcilatex,% |
| 37 |
tex4ht,% |
| 38 |
th4,% |
| 39 |
ushort} |
| 40 |
|
| 41 |
|
| 42 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 43 |
\ConfigureHinput{tex4ht} |
| 44 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 45 |
\:CheckOption{no_^} |
| 46 |
\if:Option \else \:CheckOption{no_}\fi |
| 47 |
\if:Option \else |
| 48 |
\Configure{SUB} |
| 49 |
{\HCode{<sub>}}{\HCode{</sub>}} |
| 50 |
\fi |
| 51 |
\:CheckOption{no_^} |
| 52 |
\if:Option \else \:CheckOption{no^}\fi |
| 53 |
\if:Option \else |
| 54 |
\Configure{SUP} |
| 55 |
{\HCode{<sup>}}{\HCode{</sup>}} |
| 56 |
\fi |
| 57 |
\:CheckOption{no_^} |
| 58 |
\if:Option \else \:CheckOption{no_}\fi |
| 59 |
\if:Option \else \:CheckOption{no^}\fi |
| 60 |
\if:Option \else |
| 61 |
\Configure{SUBSUP} |
| 62 |
{\HCode{<sub>}}{\HCode{</sub><sup>}}{\HCode{</sup>}} |
| 63 |
\fi |
| 64 |
\Configure{left} |
| 65 |
{\Picture+{ \a:@Picture{left}}} |
| 66 |
{\aftergroup\EndPicture } |
| 67 |
\Configure{mathchoice}{\PictureOff}{\PictureOn} |
| 68 |
|
| 69 |
\Configure{PicMath}{}{}{}{ class="math" } |
| 70 |
\Css{img.math{vertical-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"} |
| 80 |
|
| 81 |
\let\MathPar\empty |
| 82 |
\Configure{PicDisplay} |
| 83 |
{\edef\MathPar{\ifvmode par-\fi}\IgnorePar\endgraf\EndP |
| 84 |
\HCode{<div class="\MathPar math-display" \a:LRdir >}} |
| 85 |
{\HCode{</div>}\par\ShowPar} {} {class="\MathPar math-display" } |
| 86 |
\Css{div.par-math-display, div.math-display{text-align:center;}} |
| 87 |
|
| 88 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 89 |
|
| 90 |
\endinput\empty\empty\empty\empty\empty\empty |
| 91 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
|
| 96 |
|
| 97 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 98 |
\ConfigureHinput{latex} |
| 99 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 100 |
\Configure{[]} |
| 101 |
{\bgroup |
| 102 |
\protect\nested:math |
| 103 |
\PicDisplay |
| 104 |
$$\everymath{}\everydisplay{}} |
| 105 |
{$$\EndPicDisplay \egroup \ShowPar \par{\HCondtrue\noindent}% |
| 106 |
} |
| 107 |
\Configure{()}{\bgroup |
| 108 |
\protect\nested:math |
| 109 |
\protect\PicMath |
| 110 |
$} |
| 111 |
{$ \protect\EndPicMath \egroup} |
| 112 |
\def\nested:math{\def\[{\bgroup \def\]{$$\egroup}$$}% |
| 113 |
\def\({\bgroup \def\){$\egroup}$}% |
| 114 |
} |
| 115 |
\Configure{@TITLE}{\Configure{()}{$}{$}} |
| 116 |
\:CheckOption{pic-equation}\if:Option |
| 117 |
\Configure{equation} |
| 118 |
{\:xhtml{\ifvmode \IgnorePar\fi\EndP}% |
| 119 |
\HCode{<table\Hnewline class="equation"><tr><td>}\IgnorePar |
| 120 |
\Configure{$$}{\PicDisplay}{\EndPicDisplay} |
| 121 |
{\everymath{}\everydisplay{}} |
| 122 |
} |
| 123 |
{\ifvmode \IgnorePar\fi\HCode{</td><td class="equation-label">}} |
| 124 |
{\end:TTT \ShowPar \par{\HCondtrue\noindent}% |
| 125 |
} |
| 126 |
\else |
| 127 |
\Configure{equation} |
| 128 |
{\ifmmode\else\par \IgnorePar\fi \EndP |
| 129 |
\HCode{<table\Hnewline class="equation"><tr><td>}\IgnorePar |
| 130 |
} |
| 131 |
{\ifvmode \IgnorePar\fi\EndP\HCode{</td><td class="equation-label">}} |
| 132 |
{\end:TTT\ifmmode\else \ShowPar \par{\HCondtrue\noindent}% |
| 133 |
\fi} |
| 134 |
\fi |
| 135 |
\Css{table.equation {width:100\%;}} |
| 136 |
\Css{.equation td{text-align:center; }} |
| 137 |
\Css{td.equation { margin-top:1em; margin-bottom:1em; } } |
| 138 |
\Css{td.equation-label { width:5\%; text-align:center; }} |
| 139 |
\NewConfigure{@root}{1} |
| 140 |
\Configure{@root}{align="middle" } |
| 141 |
|
| 142 |
\:CheckOption{pic-eqnarray} \if:Option |
| 143 |
\ConfigureEnv{eqnarray} |
| 144 |
{\IgnorePar\EndP\Tg<div class="pic-eqnarray">\Picture*{}} |
| 145 |
{\EndPicture\Tg</div>}{}{} |
| 146 |
\Css{div.pic-eqnarray {text-align:center;}} |
| 147 |
\ConfigureEnv{eqnarray*} |
| 148 |
{\IgnorePar\EndP\Tg<div class="pic-eqnarray-star">\Picture*{}} |
| 149 |
{\EndPicture\Tg</div>}{}{} |
| 150 |
\Css{div.pic-eqnarray-star {text-align:center;}} |
| 151 |
|
| 152 |
\else \Log:Note{for pictorial eqnarray, |
| 153 |
use the command line option `pic-eqnarray'} |
| 154 |
|
| 155 |
\Configure{eqnarray}{\HCode{<table\Hnewline |
| 156 |
class="eqnarray\ifx \@seqncr\@eqncr\else-star\fi ">}} |
| 157 |
{\HCode{</table>}} |
| 158 |
{\HCode{<tr style="vertical-align:middle;" |
| 159 |
class="eqnarray\ifx \@seqncr\@eqncr\else-star\fi">}} |
| 160 |
{\HCode{</tr>}} |
| 161 |
{\HCode{\ifnum \HCol=4 <td\Hnewline width="10" |
| 162 |
class="eqnarray4"></td>\fi |
| 163 |
<td\Hnewline style="text-align:\ifcase\HCol \or right\or center\or |
| 164 |
left\else right\fi ; white-space:nowrap;"\Hnewline |
| 165 |
class="eqnarray\HCol">}} |
| 166 |
{\EndP\HCode{</td>}} |
| 167 |
\Css{td.eqnarray4 { width:5\%; white-space: normal; }} |
| 168 |
\Css{td.eqnarray2 { width:5\%; }} |
| 169 |
\Css{table.eqnarray-star, table.eqnarray {width:100\%;}} |
| 170 |
\ConfigureEnv{eqnarray} |
| 171 |
{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="eqnarray">}} |
| 172 |
{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par}{}{} |
| 173 |
\ConfigureEnv{eqnarray*} |
| 174 |
{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="eqnarray">}} |
| 175 |
{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par}{}{} |
| 176 |
|
| 177 |
\Css{div.eqnarray{text-align:center;}} |
| 178 |
\fi |
| 179 |
\:CheckOption{no-array}\if:Option \else |
| 180 |
\:CheckOption{pic-array} \if:Option \else |
| 181 |
\Log:Note{for pictorial array, |
| 182 |
use the command line option `pic-array'} |
| 183 |
\ConfigureEnv{array} |
| 184 |
{\IgnorePar\EndP\PushStack\Col:Marg\AllColMargins |
| 185 |
\HCode{<div class="array">}} |
| 186 |
{\HCode{</div>}\PopStack\Col:Marg\AllColMargins\ShowPar}{}{} |
| 187 |
\Css{div.array {text-align:center;}} |
| 188 |
\fi |
| 189 |
|
| 190 |
\fi |
| 191 |
\Configure{stackrel}{\Picture+{ class="stackrel"}\mathrel} |
| 192 |
{\limits ^}{\EndPicture} |
| 193 |
\Configure{$$}{\:xhtml{\EndP}\PicDisplay}{\EndPicDisplay} |
| 194 |
{\everymath{}\everydisplay{}} |
| 195 |
\:CheckOption{pic-m} \if:Option |
| 196 |
\Configure{$}{\PicMath}{\EndPicMath}{} |
| 197 |
\else |
| 198 |
\Log:Note{for pictorial $...$ environments, |
| 199 |
use the command line option `pic-m' (not recommended!!)} |
| 200 |
\fi |
| 201 |
|
| 202 |
\:CheckOption{pic-m+} \if:Option |
| 203 |
\def\Alt:Math#1${\tmp:toks{$#1$}% |
| 204 |
\Picture*[\special{t4ht*=&&}% |
| 205 |
\special{t4ht*=""}% |
| 206 |
\special{t4ht*=<<}% |
| 207 |
\special{t4ht*=>>}% |
| 208 |
\HCode{\the\tmp:toks}% |
| 209 |
\special{t4ht*=}% |
| 210 |
]{ style="text-align:middle"}$#1$\EndPicture$} |
| 211 |
\def\Alt:Display#1$${\tmp:toks{$$#1$$}% |
| 212 |
\Picture*[\special{t4ht*=&&}% |
| 213 |
\special{t4ht*=""}% |
| 214 |
\special{t4ht*=<<}% |
| 215 |
\special{t4ht*=>>}% |
| 216 |
\HCode{\the\tmp:toks}% |
| 217 |
\special{t4ht*=}% |
| 218 |
]{}$$#1$$\EndPicture$$} |
| 219 |
\def\Alt:lMath#1\){\tmp:toks{\(#1\)}% |
| 220 |
\Picture*[\special{t4ht*=&&}% |
| 221 |
\special{t4ht*=""}% |
| 222 |
\special{t4ht*=<<}% |
| 223 |
\special{t4ht*=>>}% |
| 224 |
\HCode{\the\tmp:toks}% |
| 225 |
\special{t4ht*=}% |
| 226 |
]{ style="text-align:middle"}$#1$\EndPicture} |
| 227 |
\def\Alt:lDisplay#1\]{\tmp:toks{\[#1\]}% |
| 228 |
\Picture*[\special{t4ht*=&&}% |
| 229 |
\special{t4ht*=""}% |
| 230 |
\special{t4ht*=<<}% |
| 231 |
\special{t4ht*=>>}% |
| 232 |
\HCode{\the\tmp:toks}% |
| 233 |
\special{t4ht*=}% |
| 234 |
]{}$$#1$$\EndPicture} |
| 235 |
\Configure{$}{}{}{\expandafter\Alt:Math} |
| 236 |
\Configure{$$}{}{}{\expandafter\Alt:Display} |
| 237 |
% \Configure{()}{\Alt:lMath}{} |
| 238 |
% \Configure{[]}{\Alt:lDisplay}{} |
| 239 |
\else |
| 240 |
\Log:Note{for pictorial $...$ and |
| 241 |
$$...$$ environments with latex alt, |
| 242 |
use the command line option `pic-m+' (not safe!!)} |
| 243 |
\fi |
| 244 |
|
| 245 |
\let\A:displaylines\a:displaylines |
| 246 |
\let\B:displaylines\b:displaylines |
| 247 |
\let\C:displaylines\c:displaylines |
| 248 |
\let\D:displaylines\d:displaylines |
| 249 |
\Configure{displaylines} |
| 250 |
{\ifmmode |
| 251 |
\def\A:displaylines{\Picture*{}}% |
| 252 |
\def\B:displaylines{\EndPicture}% |
| 253 |
\fi |
| 254 |
\A:displaylines} |
| 255 |
{\B:displaylines} {\C:displaylines}{\D:displaylines} |
| 256 |
|
| 257 |
\def\A:root#1\b:root#2\c:root{\o:root:#1\of{#2}\c:root} |
| 258 |
\Configure{root} |
| 259 |
{\Picture+{ \a:@Picture{root}}\A:root} |
| 260 |
{} |
| 261 |
{\EndPicture} |
| 262 |
\Configure{mathpalette} |
| 263 |
{\Picture+{ \a:@Picture{mathpalette}}} {\EndPicture} |
| 264 |
% \Configure{L} {\pic:sym{L}} |
| 265 |
% \Configure{l} {\pic:sym{l}} |
| 266 |
\def\pic:sym#1{\Protect\Picture+{ \a:@Picture{#1}}\csname |
| 267 |
o:#1:\endcsname\Protect\EndPicture} |
| 268 |
\Configure{pmatrix} |
| 269 |
{\ifvmode |
| 270 |
\def\end:pmatrix{\IgnorePar\HCode{</div>}\end:TTT}% |
| 271 |
\:xhtml{\IgnorePar\EndP}\HCode |
| 272 |
{<table\Hnewline class="pmatrix"><tr><td><div |
| 273 |
class="pmatrix"\Hnewline>}% |
| 274 |
\else \HCode{<span class="pmatrix">}% |
| 275 |
\def \end:pmatrix{\HCode{</span>}}% |
| 276 |
\fi} |
| 277 |
{\end:pmatrix} |
| 278 |
\Css{div.pmatrix {text-align:center;}} |
| 279 |
\Css{table.pmatrix {width:100\%;}} |
| 280 |
|
| 281 |
\Configure{mathellipsis} {\ht:special{t4ht@+\string&{35}x2026{59}}x} |
| 282 |
\Configure{hbar} {\ht:special{t4ht@+\string&{35}x210F{59}}x} |
| 283 |
|
| 284 |
\:CheckOption{pic-array} \if:Option |
| 285 |
\ConfigureEnv{array} |
| 286 |
{\IgnorePar\EndP\Tg<div class="pic-array">\Picture*{}$$} |
| 287 |
{$$\EndPicture\Tg</div>}{}{} |
| 288 |
\Css{div.pic-array {text-align:center;}} |
| 289 |
\else |
| 290 |
\Log:Note{for pictorial array, |
| 291 |
use the command line option `pic-array'} |
| 292 |
\fi |
| 293 |
\Configure{pmatrix} {\Picture+{ \a:@Picture{}}} {\EndPicture} |
| 294 |
\Configure{bordermatrix} {\Picture+{ \a:@Picture{}}} {\EndPicture} |
| 295 |
\Configure{frac} |
| 296 |
{\Picture+{ \a:@Picture{frac}}\bgroup} |
| 297 |
{} {} |
| 298 |
{\egroup\EndPicture} |
| 299 |
\Configure{sqrtsign} |
| 300 |
{\Picture+{ \a:@Picture{sqrt}}} |
| 301 |
{\EndPicture} |
| 302 |
\Configure{matrix} |
| 303 |
{\Picture+{ \a:@Picture{matrix}}} {\EndPicture} |
| 304 |
{}{}{}{} |
| 305 |
|
| 306 |
\Configure{pmatrix} |
| 307 |
{\ifvmode |
| 308 |
\def\end:pmatrix{\IgnorePar\HCode{</div>}\end:TTT}% |
| 309 |
\:xhtml{\IgnorePar\EndP}\HCode |
| 310 |
{<table\Hnewline class="pmatrix"><tr><td><div |
| 311 |
class="pmatrix"\Hnewline>}% |
| 312 |
\else \HCode{<span class="pmatrix">}% |
| 313 |
\def \end:pmatrix{\HCode{</span>}}% |
| 314 |
\fi} |
| 315 |
{\end:pmatrix} |
| 316 |
\Css{span.pmatrix img{vertical-align:middle;}} |
| 317 |
\Css{div.pmatrix {text-align:center;}} |
| 318 |
\Css{table.pmatrix {width:100\%;}} |
| 319 |
|
| 320 |
\:CheckOption{mathjax}\if:Option |
| 321 |
\input{mathjax-latex-4ht.4ht} |
| 322 |
\ifx\a:MathJaxConfig\relax |
| 323 |
\Configure{MathJaxConfig}{{ |
| 324 |
tex: { |
| 325 |
tags: "ams", |
| 326 |
}, |
| 327 |
}; |
| 328 |
} |
| 329 |
\fi |
| 330 |
\NewConfigure{MathjaxInline}{2} |
| 331 |
\NewConfigure{MathjaxBlock}{2} |
| 332 |
\Configure{MathjaxInline}{\HCode{<span class="mathjax-inline">}}{\HCode{</span>}} |
| 333 |
\Configure{MathjaxBlock}{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="mathjax-block">}}{\HCode{</div>}\par} |
| 334 |
\Configure{MathjaxEnv}{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="mathjax-env mathjax-\@currenvir">}}{\HCode{</div>}\par} |
| 335 |
|
| 336 |
\Configure{@HEAD}{\HCode{<script>window.MathJax = \a:MathJaxConfig</script>\Hnewline}} |
| 337 |
\Configure{MathjaxSource}{https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js} |
| 338 |
\Configure{@HEAD}{\ifx\a:MathjaxSource\@empty\else\HCode{<script type="text/javascript" async="async" id="MathJax-script" src="\a:MathjaxSource"></script> \Hnewline}\fi} |
| 339 |
\edef\:RestoreMathjaxCatcodes{\catcode`\noexpand \&=\the\catcode`\&} |
| 340 |
\def\:HandleMathjaxCatcodes{\edef\:RestoreMathjaxCatcodes{\catcode`\noexpand \&=\the\catcode`\&}\catcode`\&=11} |
| 341 |
\Configure{$}{\a:MathjaxInline\:HandleMathjaxCatcodes}{\:RestoreMathjaxCatcodes\b:MathjaxInline}{\expandafter\AltMathOne} |
| 342 |
\Configure{()}{\a:MathjaxInline\:HandleMathjaxCatcodes\catcode`\&=11\AltlMath}{\:RestoreMathjaxCatcodes\b:MathjaxInline} |
| 343 |
\Configure{$$}{\a:MathjaxBlock\:HandleMathjaxCatcodes}{\:RestoreMathjaxCatcodes\b:MathjaxBlock}{\expandafter\AltlDisplayDollars} |
| 344 |
\Configure{[]}{\a:MathjaxBlock\:HandleMathjaxCatcodes\catcode`\&=11\AltlDisplay}{\:RestoreMathjaxCatcodes\b:MathjaxBlock} |
| 345 |
|
| 346 |
\fi |
| 347 |
|
| 348 |
\NewConfigure{bar-css}{2} |
| 349 |
\Configure{bar-css} |
| 350 |
{\HCode{<span class="bar-css">}} |
| 351 |
{\HCode{</span>}} |
| 352 |
\Css{span.bar-css {text-decoration:overline;}} |
| 353 |
|
| 354 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 355 |
|
| 356 |
\endinput\empty\empty\empty\empty\empty\empty |
| 357 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 358 |
|
| 359 |
|
| 360 |
|
| 361 |
|
| 362 |
|
| 363 |
|
| 364 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 365 |
\ConfigureHinput{tcilatex} |
| 366 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 367 |
\expandafter\ifx \csname @TCItagstar\endcsname\relax |
| 368 |
|
| 369 |
\else |
| 370 |
\Configure{QATOP} |
| 371 |
{\Picture+{ style="text-align:middle"}\bgroup} {} |
| 372 |
{} {\egroup\EndPicture} |
| 373 |
\Configure{QDATOP} |
| 374 |
{\Picture+{ style="text-align:middle"}\bgroup} {} |
| 375 |
{} {\egroup\EndPicture} |
| 376 |
\Configure{QTATOP} |
| 377 |
{\Picture+{ style="text-align:middle"}\bgroup} {} |
| 378 |
{} {\egroup\EndPicture} |
| 379 |
|
| 380 |
\ifx \@msidraft\:Undef |
| 381 |
\Configure{dfrac} |
| 382 |
{\Picture+{ style="text-align:middle"}\bgroup} {} |
| 383 |
{} {\egroup\EndPicture} |
| 384 |
\Configure{tfrac} |
| 385 |
{\Picture+{ style="text-align:middle"}\bgroup} {} |
| 386 |
{} {\egroup\EndPicture} |
| 387 |
\Configure{binom} |
| 388 |
{\Picture+{ style="text-align:middle"}\bgroup} {} |
| 389 |
{} {\egroup\EndPicture} |
| 390 |
\Configure{tbinom} |
| 391 |
{\Picture+{ style="text-align:middle"}\bgroup} {} |
| 392 |
{} {\egroup\EndPicture} |
| 393 |
\Configure{dbinom} |
| 394 |
{\Picture+{ style="text-align:middle"}\bgroup} {} |
| 395 |
{} {\egroup\EndPicture} |
| 396 |
|
| 397 |
\fi \fi |
| 398 |
|
| 399 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 400 |
|
| 401 |
\endinput\empty\empty\empty\empty\empty\empty |
| 402 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 403 |
|
| 404 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 405 |
\ConfigureHinput{fontmath} |
| 406 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 407 |
\Configure{cdots} {\pic:sym{cdots}} |
| 408 |
\Css{img.cdots{vertical-align:middle;}} |
| 409 |
\:CheckOption{fonts} \if:Option |
| 410 |
\Configure{mathit}{\Protect\HCode{<span class="mathit">}} |
| 411 |
{\Protect\HCode{</span>}} |
| 412 |
\Configure{mathbf}{\Protect\HCode{<span class="mathbf">}} |
| 413 |
{\Protect\HCode{</span>}} |
| 414 |
\Configure{mathtt}{\Protect\HCode{<span class="mathtt">}} |
| 415 |
{\Protect\HCode{</span>}} |
| 416 |
\Configure{mathsf}{\Protect\HCode{<span class="mathsf">}} |
| 417 |
{\Protect\HCode{</span>}} |
| 418 |
\Configure{mathrm}{\Protect\HCode{<span class="mathrm">}} |
| 419 |
{\Protect\HCode{</span>}} |
| 420 |
\fi |
| 421 |
\Configure{overrightarrow} |
| 422 |
{\leavevmode\IgnorePar} |
| 423 |
{} |
| 424 |
\Configure{overleftarrow} |
| 425 |
{\leavevmode\IgnorePar} |
| 426 |
{} |
| 427 |
\Configure{overbrace} {}{\Picture+{}}{\EndPicture} |
| 428 |
\Configure{underbrace} {}{\Picture+{}}{\EndPicture} |
| 429 |
|
| 430 |
\Configure{Longrightarrow} {\pic:sym{Longrightarrow}} |
| 431 |
\Configure{Longleftarrow} {\pic:sym{Longleftarrow}} |
| 432 |
\Configure{bowtie} {\pic:sym{bowtie}} |
| 433 |
\Configure{cong} {\pic:sym{cong}} |
| 434 |
\Configure{ddots} {\pic:sym{ddots}} |
| 435 |
\Configure{doteq} {\pic:sym{doteq}} |
| 436 |
\Configure{hookleftarrow} {\pic:sym{hookleftarrow}} |
| 437 |
\Configure{hookrightarrow} {\pic:sym{hookrightarrow}} |
| 438 |
\Configure{longmapsto} {\pic:sym{longmapsto}} |
| 439 |
\Configure{mapsto} {\pic:sym{mapsto}} |
| 440 |
\Configure{models} {\pic:sym{models}} |
| 441 |
\Configure{neq} {\ht:special{t4ht@+\string&{35}x2260{59}}x} |
| 442 |
\Configure{notin} {\pic:sym{notin}} |
| 443 |
\Configure{vdots} {\pic:sym{vdots}} |
| 444 |
\Configure{angle} {\pic:sym{angle}} |
| 445 |
\Configure{rightleftharpoons} {\pic:sym{rightleftharpoons}} |
| 446 |
\Configure{leftrightharpoons} {\pic:sym{leftrightharpoons}} |
| 447 |
\Configure{mid} {\ht:special{t4ht@+\string&{35}x2223{59}}|} |
| 448 |
|
| 449 |
\Configure{big}{\HCode{<span class="big">}}{\HCode{</span>}}{}{} |
| 450 |
\Configure{Big}{\HCode{<span class="bbig">}}{\HCode{</span>}}{}{} |
| 451 |
\Configure{bigg}{\HCode{<span class="bigg">}}{\HCode{</span>}}{}{} |
| 452 |
\Configure{Bigg}{\HCode{<span class="bbigg">}}{\HCode{</span>}}{}{} |
| 453 |
|
| 454 |
|
| 455 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 456 |
|
| 457 |
\endinput\empty\empty\empty\empty\empty\empty |
| 458 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 459 |
|
| 460 |
|
| 461 |
|
| 462 |
|
| 463 |
|
| 464 |
|
| 465 |
|
| 466 |
|
| 467 |
|
| 468 |
|
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
|
| 473 |
|
| 474 |
|
| 475 |
|
| 476 |
|
| 477 |
|
| 478 |
|
| 479 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 480 |
\ConfigureHinput{amsmath} |
| 481 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 482 |
\Configure{tmspace} |
| 483 |
{\ifdim \textspace>0.2em |
| 484 |
\HCode{<span style="margin-left:\textspace" class="tmspace">}% |
| 485 |
\else \HCode{<span style="margin-left:0.3em" class="thinspace">}\fi |
| 486 |
\HCode{</span>}% |
| 487 |
} |
| 488 |
\Configure{@cdots} {\pic:sym{@cdots}} |
| 489 |
\Configure{iint} {\pic:sym{iint}} |
| 490 |
\Configure{iiint} {\pic:sym{iiint}} |
| 491 |
\Configure{iiiint} {\pic:sym{iiint}} |
| 492 |
\Configure{idotsint} {\pic:sym{tsint}} |
| 493 |
\Configure{doteq} {\pic:sym{tsint}} |
| 494 |
\ifOption{mathjax}{}{% |
| 495 |
\DeclareRobustCommand\[{% |
| 496 |
\bgroup% |
| 497 |
\mathdisplay@push% |
| 498 |
\st@rredtrue \global\@eqnswfalse% |
| 499 |
\mathdisplay{equation*}% |
| 500 |
\csname st:Math\endcsname |
| 501 |
} |
| 502 |
|
| 503 |
\DeclareRobustCommand\]{% |
| 504 |
\csname ed:Math\endcsname |
| 505 |
\endmathdisplay{equation*}% |
| 506 |
\mathdisplay@pop% |
| 507 |
\ignorespacesafterend% |
| 508 |
\egroup |
| 509 |
} |
| 510 |
\Configure{[]}{\protect\nested:math}{} |
| 511 |
}% |
| 512 |
\Configure{equation} |
| 513 |
{\ifmmode\else\par \IgnorePar\fi \EndP |
| 514 |
\HCode{<table\Hnewline class="equation"><tr><td>}\IgnorePar |
| 515 |
} |
| 516 |
{\ifvmode \IgnorePar\fi\EndP\HCode{</td><td class="equation-label">}} |
| 517 |
{\end:TTT\ifmmode\else \ShowPar \par{\HCondtrue\noindent}% |
| 518 |
\fi} |
| 519 |
\Configure{equation*} |
| 520 |
{\ifmmode\else\par \IgnorePar\fi \EndP |
| 521 |
\HCode{<table\Hnewline class="equation-star"><tr><td>}\IgnorePar |
| 522 |
} |
| 523 |
{\end:TTT\ifmmode\else \ShowPar \par{\HCondtrue\noindent}% |
| 524 |
\fi} |
| 525 |
\Css{.equation td{text-align:center; }} |
| 526 |
\Css{.equation-star td{text-align:center; }} |
| 527 |
\Css{table.equation-star { width:100\%; }} |
| 528 |
\Css{table.equation { width:100\%; }} |
| 529 |
\Configure{equation*} |
| 530 |
{\ifmmode\else\par \IgnorePar\fi \EndP |
| 531 |
\HCode{<table\Hnewline class="equation-star"><tr><td>}\IgnorePar |
| 532 |
} |
| 533 |
{\end:TTT\ifmmode\else \ShowPar \par{\HCondtrue\noindent}% |
| 534 |
\fi} |
| 535 |
\Configure{substack}{\Picture+{}}{\EndPicture} |
| 536 |
\def\m:env#1{\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}% |
| 537 |
\HCode{<div class="center-#1"><table class="#1"\Hnewline |
| 538 |
border="0" cellpadding="0" cellspacing="15"><tr><td>} |
| 539 |
\Css{div.center-#1{text-align: center;}} |
| 540 |
} |
| 541 |
\def\endm:env{\:xhtml{\IgnorePar\EndP}% |
| 542 |
\HCode{</td></tr></table></div>}\IgnorePar |
| 543 |
\ifmmode\else\par\fi} |
| 544 |
|
| 545 |
\:CheckOption{pic-align} \if:Option |
| 546 |
\def\:tempc#1#2{% |
| 547 |
\ConfigureEnv{#1} |
| 548 |
{\par\IgnorePar\EndP\HCode{<div class="align">}\Picture*[pict]{}} |
| 549 |
{\EndPicture\EndP\HCode{</div>}\par} |
| 550 |
{} {}} |
| 551 |
\Css{div.align {text-align: center;}} |
| 552 |
|
| 553 |
\else |
| 554 |
\def\:tempc#1#2{% |
| 555 |
\Configure{#1} |
| 556 |
{\IgnorePar\EndP \HCode{<table\Hnewline class="#2">}} |
| 557 |
{\HCode{</table>}} {\HCode{<tr>}} {\HCode{</tr>}} |
| 558 |
{\HCode{<td\Hnewline |
| 559 |
class="align-\ifnum \HCol>\maxfields@ label\else |
| 560 |
\ifodd\HCol\space odd\else even\fi |
| 561 |
\fi">}} |
| 562 |
{\HCode{</td>}} |
| 563 |
\ConfigureEnv{#1}{}{\par}{}{} |
| 564 |
} |
| 565 |
\Css{table.align, table.alignat, table.xalignat, table.xxalignat, |
| 566 |
table.flalign |
| 567 |
{width:95\%; margin-left:5\%; white-space: nowrap;}} |
| 568 |
\Css{table.align-star, table.alignat-star, |
| 569 |
table.xalignat-star, table.flalign-star |
| 570 |
{margin-left:auto; margin-right:auto; white-space: nowrap;}} |
| 571 |
\Css{td.align-label { width:5\%; text-align:center; }} |
| 572 |
\Css{td.align-odd { text-align:right; padding-right:0.3em;}} |
| 573 |
\Css{td.align-even { text-align:left; padding-right:0.6em;}} |
| 574 |
|
| 575 |
\fi |
| 576 |
\:tempc{align}{align} |
| 577 |
\:tempc{alignat}{alignat} |
| 578 |
\:tempc{xalignat}{xalignat} |
| 579 |
\:tempc{xxalignat}{xxalignat} |
| 580 |
\:tempc{flalign}{flalign} |
| 581 |
\:tempc{align*}{align-star} |
| 582 |
\:tempc{alignat*}{alignat-star} |
| 583 |
\:tempc{xalignat*}{xalignat-star} |
| 584 |
\:tempc{flalign*}{flalign-star} |
| 585 |
\Configure{split} |
| 586 |
{\HCode{<table\Hnewline class="split"><tr><td>}} |
| 587 |
{\ifvmode \IgnorePar\fi \HCode{</td></tr></table>}} |
| 588 |
{\HCode{<br\Hnewline class="split-tr" />}} {} |
| 589 |
{\HCode{<br\Hnewline class="split-td" />}} {} |
| 590 |
\Configure{smallmatrix} |
| 591 |
{\:xhtml{\IgnorePar\EndP}% |
| 592 |
\HCode{<table\Hnewline class="smallmatrix">}} {\HCode{</table>}} |
| 593 |
{\HCode{<tr>}} {\HCode{</tr>}} |
| 594 |
{\HCode{<td\Hnewline>}} {\HCode{</td>}} |
| 595 |
\ConfigureEnv{gather*}{\m:env{gather*}}{\endm:env}{}{} |
| 596 |
\ConfigureEnv{gathered}{\m:env{gathered}}{\endm:env}{}{} |
| 597 |
\ConfigureEnv{matrix}{\m:env{matrix}}{\endm:env}{}{} |
| 598 |
\Configure{equations}{*}{} |
| 599 |
\ConfigureEnv{multline} |
| 600 |
{\:xhtml{\IgnorePar\EndP}% |
| 601 |
\HCode{<table\Hnewline class="multline"><tr><td>}\Picture*{}\ExtractHLabel |
| 602 |
} |
| 603 |
{\EndPicture \ifx \:HLabel\:Undef \else |
| 604 |
\HCode{</td><td class="equation-label">}\PutHLabel |
| 605 |
\global\let\:HLabel\:Undef |
| 606 |
\fi |
| 607 |
\end:TTT} |
| 608 |
{}{} |
| 609 |
{}{} |
| 610 |
\ConfigureEnv{multline*} |
| 611 |
{\:xhtml{\IgnorePar\EndP}% |
| 612 |
\HCode{<table\Hnewline class="multline-star"><tr><td>}\Picture*{}% |
| 613 |
} |
| 614 |
{\EndPicture \end:TTT} |
| 615 |
{}{} |
| 616 |
\def\ExtractHLabel{% |
| 617 |
\def\tagform@##1{{% |
| 618 |
\ifx \:HLabel\:UnDef \let\:HLabel=\empty \fi |
| 619 |
\def\tagform@####1{\expandafter\let\csname ####1\endcsname\def}% |
| 620 |
\:HLabel |
| 621 |
\expandafter\ifx\csname ##1\endcsname\relax |
| 622 |
\let\tagform@=\relax |
| 623 |
\let\HCode=\relax |
| 624 |
\edef\:temp{\noexpand\append:def\noexpand |
| 625 |
\:HLabel{\HCode{<br />}\tagform@{##1}\HCode{<br />}}}% |
| 626 |
\:temp |
| 627 |
\global\let\:HLabel=\:HLabel |
| 628 |
\fi |
| 629 |
}}} |
| 630 |
\def\PutHLabel{\:HLabel} |
| 631 |
|
| 632 |
\Css{table.multline, table.multline-star {width:100\%;}} |
| 633 |
\ConfigureEnv{gather} |
| 634 |
{\:xhtml{\IgnorePar\EndP}% |
| 635 |
\HCode{<table\Hnewline class="gather"><tr><td |
| 636 |
class="gather1">}\Picture*{}\ExtractHLabel |
| 637 |
} |
| 638 |
{\EndPicture \ifx \:HLabel\:Undef \else |
| 639 |
\HCode{</td><td class="equation-label">}\PutHLabel |
| 640 |
\global\let\:HLabel\:Undef |
| 641 |
\fi |
| 642 |
\end:TTT} |
| 643 |
{}{} |
| 644 |
\Css{td.gather {text-align:center; }} |
| 645 |
\Css{table.gather {width:100\%;}} |
| 646 |
\ConfigureEnv{gather*} |
| 647 |
{\:xhtml{\IgnorePar\EndP}% |
| 648 |
\HCode{<div\Hnewline class="gather-star">}\Picture*{}% |
| 649 |
} |
| 650 |
{\EndPicture \HCode{</div>}} |
| 651 |
{}{} |
| 652 |
\Css{div.gather-star {text-align:center;}} |
| 653 |
\Configure{overbrace} {}{\Picture+{}}{\EndPicture} |
| 654 |
\Configure{underbrace} {}{\Picture+{}}{\EndPicture} |
| 655 |
|
| 656 |
|
| 657 |
\Configure{overset} {\Picture+{ \a:@Picture{}}} {\EndPicture} |
| 658 |
\Configure{underset} {\Picture+{ \a:@Picture{}}} {\EndPicture} |
| 659 |
\Configure{xrightarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture} |
| 660 |
\Configure{xleftarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture} |
| 661 |
\Configure{genfrac} |
| 662 |
{\Picture+{}\bgroup} {}{}{}{}{\egroup\EndPicture} |
| 663 |
\Configure{intertext} |
| 664 |
{\IgnorePar \ifinalign@ |
| 665 |
\HCode{\ifnum \HRow>0 </td></tr>\fi<tr><td |
| 666 |
colspan="\ifnum \HRow>0 \HCol\else 15\fi" |
| 667 |
class="intertext">}% |
| 668 |
\else \ifingather@ |
| 669 |
\HCode{<tr><td colspan="\HCol" class="intertext">}% |
| 670 |
\fi\fi |
| 671 |
} |
| 672 |
{\ifvmode \IgnorePar \fi \EndP\ifinalign@ |
| 673 |
\HCode{</td></tr>\ifnum \HRow>0 <tr><td>\fi}% |
| 674 |
\else \ifingather@ |
| 675 |
\HCode{</td></tr>}% |
| 676 |
\fi\fi |
| 677 |
} |
| 678 |
\Configure{@begin} |
| 679 |
{split} |
| 680 |
{\ifx \EndPicture \:UnDef \else \let\tagform@=\:gobble \fi} |
| 681 |
|
| 682 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 683 |
|
| 684 |
\endinput\empty\empty\empty\empty\empty\empty |
| 685 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 686 |
|
| 687 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 688 |
\ConfigureHinput{amsfonts} |
| 689 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 690 |
\:CheckOption{fonts} \if:Option |
| 691 |
\Configure{mathbb}{\Protect\HCode{<span class="mathbb">}} |
| 692 |
{\Protect\HCode{</span>}} |
| 693 |
\Configure{mathfrak}{\Protect\HCode{<span class="mathfrak">}} |
| 694 |
{\Protect\HCode{</span>}} |
| 695 |
\fi |
| 696 |
|
| 697 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 698 |
|
| 699 |
\endinput\empty\empty\empty\empty\empty\empty |
| 700 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 701 |
|
| 702 |
|
| 703 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 704 |
\ConfigureHinput{amstex1} |
| 705 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 706 |
\Configure{overbrace} {}{\Picture+{}}{\EndPicture} |
| 707 |
\Configure{underbrace} {}{\Picture+{}}{\EndPicture} |
| 708 |
|
| 709 |
|
| 710 |
\ConfigureEnv{equation*}{\m:env{equation*}}{\endm:env}{}{} |
| 711 |
\ConfigureEnv{equation}{\m:env{equation}}{\endm:env}{}{} |
| 712 |
\Configure{eqn}{\HCode{</td><td>}} |
| 713 |
\ConfigureEnv{align}{\m:env{align}}{\endm:env}{}{} |
| 714 |
\ConfigureEnv{align*}{\m:env{align*}}{\endm:env}{}{} |
| 715 |
\ConfigureEnv{alignat}{\m:env{alignat}}{\endm:env}{}{} |
| 716 |
\ConfigureEnv{alignat*}{\m:env{alignat*}}{\endm:env}{}{} |
| 717 |
\ConfigureEnv{xalignat}{\m:env{xalignat}}{\endm:env}{}{} |
| 718 |
\ConfigureEnv{xxalignat}{\m:env{xxalignat}}{\endm:env}{}{} |
| 719 |
\ConfigureEnv{xalignat*}{\m:env{xalignat*}}{\endm:env}{}{} |
| 720 |
\ConfigureEnv{aligned}{\m:env{aligned}}{\endm:env}{}{} |
| 721 |
\ConfigureEnv{alignedat}{\m:env{alignedat}}{\endm:env}{}{} |
| 722 |
\ConfigureEnv{gather}{\m:env{gather}}{\endm:env}{}{} |
| 723 |
\ConfigureEnv{gather*}{\m:env{gather*}}{\endm:env}{}{} |
| 724 |
\ConfigureEnv{gathered}{\m:env{gathered}}{\endm:env}{}{} |
| 725 |
\ConfigureEnv{matrix}{\m:env{matrix}}{\endm:env}{}{} |
| 726 |
\ConfigureEnv{multline}{\m:env{multline}}{\endm:env}{}{} |
| 727 |
\ConfigureEnv{multline*}{\m:env{multline*}}{\endm:env}{}{} |
| 728 |
\ConfigureEnv{pmatrix}{\m:env{pmatrix}}{\endm:env}{}{} |
| 729 |
\ConfigureEnv{bmatrix}{\m:env{bmatrix}}{\endm:env}{}{} |
| 730 |
\ConfigureEnv{vmatrix}{\m:env{vmatrix}}{\endm:env}{}{} |
| 731 |
\ConfigureEnv{Vmatrix}{\m:env{Vmatrix}}{\endm:env}{}{} |
| 732 |
\Configure{gather}{\Picture*{}}{\EndPicture} |
| 733 |
\Configure{dotsc} {\pic:sym{dotsc}} |
| 734 |
\Configure{dotso} {\pic:sym{dotso}} |
| 735 |
|
| 736 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 737 |
|
| 738 |
\endinput\empty\empty\empty\empty\empty\empty |
| 739 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 740 |
|
| 741 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 742 |
\ConfigureHinput{amstex} |
| 743 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 744 |
\Configure{pmatrix} |
| 745 |
{\bgroup\m:env{pmatrix}} |
| 746 |
{\endm:env\egroup} |
| 747 |
\Configure{smallmatrix} |
| 748 |
{\bgroup\m:env{smallmatrix}\Picture+{}} |
| 749 |
{\EndPicture\endm:env\egroup} |
| 750 |
{}{} {}{} |
| 751 |
\Configure{bmatrix} |
| 752 |
{\bgroup\m:env{bmatrix}} |
| 753 |
{\endm:env\egroup} |
| 754 |
\Configure{vmatrix}{\bgroup\m:env{vmatrix}}{\endm:env\egroup} |
| 755 |
\Configure{Vmatrix}{\bgroup\m:env{Vmatrix}}{\endm:env\egroup} |
| 756 |
\Configure{aligned} |
| 757 |
{\bgroup\m:env{aligned}\Picture+{}} |
| 758 |
{\EndPicture\endm:env\egroup} |
| 759 |
{}{}{}{} |
| 760 |
\Configure{xalignat} |
| 761 |
{\bgroup\m:env{xalignat}} |
| 762 |
{\endm:env\egroup} |
| 763 |
{}{}{}{} |
| 764 |
\Configure{xxalignat} |
| 765 |
{\bgroup\m:env{xxalignat}} |
| 766 |
{\endm:env\egroup} |
| 767 |
{}{}{}{} |
| 768 |
\Configure{multline} |
| 769 |
{\bgroup\m:env{multline}\Picture+{}\vtop\bgroup$$} |
| 770 |
{$$\egroup\EndPicture\endm:env\egroup} |
| 771 |
{}{} |
| 772 |
\Configure{alignedat} |
| 773 |
{\bgroup\m:env{alignedat}\Picture+{}} |
| 774 |
{\EndPicture\endm:env\egroup} |
| 775 |
{}{}{}{} |
| 776 |
\Configure{gathered} |
| 777 |
{\bgroup\m:env{gathered}\Picture+{}} |
| 778 |
{\EndPicture\endm:env\egroup} |
| 779 |
{}{}{}{} |
| 780 |
\Configure{linebreak}{\HCode{<br />}} |
| 781 |
\def\m:env#1{\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}% |
| 782 |
\HCode{<div class="center-#1"><table class="#1"\Hnewline |
| 783 |
border="0" cellpadding="0" cellspacing="15"><tr><td>} |
| 784 |
\Css{div.center-#1{text-align: center;}} |
| 785 |
} |
| 786 |
\def\endm:env{\:xhtml{\IgnorePar\EndP}% |
| 787 |
\HCode{</td></tr></table></div>}\IgnorePar |
| 788 |
\ifmmode\else\par\fi} |
| 789 |
|
| 790 |
|
| 791 |
|
| 792 |
\Configure{matrix} |
| 793 |
{\HCode{<table\Hnewline class="matrix">}} {\HCode{</table>}} |
| 794 |
{\HCode{<tr\Hnewline>}} {\HCode{</tr>}} |
| 795 |
{\HCode{<td>}} {\HCode{</td>}} |
| 796 |
\Configure{cases}{\m:env{cases}}{\endm:env} |
| 797 |
|
| 798 |
|
| 799 |
|
| 800 |
\:CheckOption{pic-matrix} \if:Option |
| 801 |
\Configure{matrix} |
| 802 |
{\m:env{matrix}\Picture+{}} {\EndPicture\endm:env} |
| 803 |
{}{} {}{} |
| 804 |
\else |
| 805 |
\Log:Note{for pictorial matrix, |
| 806 |
use the command line option `pic-matrix'} |
| 807 |
\fi |
| 808 |
\:CheckOption{pic-align} \if:Option |
| 809 |
\Configure{align} |
| 810 |
{\m:env{align}\Picture+{}} \EndPicture{\endm:env} |
| 811 |
{} {} {} {} |
| 812 |
\else |
| 813 |
\Log:Note{for pictorial align, |
| 814 |
use the command line option `pic-align'} |
| 815 |
\Configure{align} |
| 816 |
{\HCode{<table\Hnewline class="align">}} {\HCode{</table>}} |
| 817 |
{\HCode{<tr\Hnewline>}} {\HCode{</tr>}} |
| 818 |
{\HCode{<td>}} {\HCode{</td>}} |
| 819 |
\fi |
| 820 |
\:CheckOption{pic-cases} \if:Option |
| 821 |
\Configure{cases} |
| 822 |
{\m:env{cases}\Picture+{}}{\EndPicture\endm:env} |
| 823 |
\else |
| 824 |
\Log:Note{for pictorial cases, |
| 825 |
use the command line option `pic-cases'} |
| 826 |
\fi |
| 827 |
\Configure{alignat} |
| 828 |
{\bgroup\m:env{alignat}\Picture+{}} |
| 829 |
{\EndPicture\endm:env \egroup} |
| 830 |
{}{} {}{} |
| 831 |
\Configure{gather} |
| 832 |
{\bgroup\m:env{gather}\Picture+{}} |
| 833 |
{\EndPicture\endm:env\egroup} |
| 834 |
{}{} {}{} |
| 835 |
\Configure{frac}{\Picture+{ style="text-align:middle"}}{\EndPicture} |
| 836 |
\Configure{dfrac}{\Picture+{ style="text-align:middle"}}{\EndPicture} |
| 837 |
\Configure{tfrac}{\Picture+{ style="text-align:middle"}}{\EndPicture} |
| 838 |
\Configure{binom}{\Picture+{ style="text-align:middle"}}{\EndPicture} |
| 839 |
\Configure{dbinom}{\Picture+{ style="text-align:middle"}}{\EndPicture} |
| 840 |
\Configure{tbinom}{\Picture+{ style="text-align:middle"}}{\EndPicture} |
| 841 |
\Configure{boxed}{\Picture+{ style="text-align:middle"}}{\EndPicture} |
| 842 |
|
| 843 |
|
| 844 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 845 |
|
| 846 |
\endinput\empty\empty\empty\empty\empty\empty |
| 847 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 848 |
|
| 849 |
|
| 850 |
|
| 851 |
|
| 852 |
|
| 853 |
|
| 854 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 855 |
\ConfigureHinput{plain} |
| 856 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 857 |
\Configure{cdots} {\pic:sym{cdots}} |
| 858 |
\Css{img.cdots{vertical-align:middle;}} |
| 859 |
\Configure{$$}{\:xhtml{\EndP}\PicDisplay}{\EndPicDisplay} |
| 860 |
{\everymath{}\everydisplay{}} |
| 861 |
\:CheckOption{pic-m} \if:Option |
| 862 |
\Configure{$}{\PicMath}{\EndPicMath}{} |
| 863 |
\else |
| 864 |
\Log:Note{for pictorial $...$ environments, |
| 865 |
use the command line option `pic-m' (not recommended!!)} |
| 866 |
\fi |
| 867 |
|
| 868 |
\:CheckOption{pic-m+} \if:Option |
| 869 |
\def\Alt:Math#1${\tmp:toks{$#1$}% |
| 870 |
\Picture*[\special{t4ht*=&&}% |
| 871 |
\special{t4ht*=""}% |
| 872 |
\special{t4ht*=<<}% |
| 873 |
\special{t4ht*=>>}% |
| 874 |
\HCode{\the\tmp:toks}% |
| 875 |
\special{t4ht*=}% |
| 876 |
]{ style="text-align:middle"}$#1$\EndPicture$} |
| 877 |
\def\Alt:Display#1$${\tmp:toks{$$#1$$}% |
| 878 |
\Picture*[\special{t4ht*=&&}% |
| 879 |
\special{t4ht*=""}% |
| 880 |
\special{t4ht*=<<}% |
| 881 |
\special{t4ht*=>>}% |
| 882 |
\HCode{\the\tmp:toks}% |
| 883 |
\special{t4ht*=}% |
| 884 |
]{}$$#1$$\EndPicture$$} |
| 885 |
\def\Alt:lMath#1\){\tmp:toks{\(#1\)}% |
| 886 |
\Picture*[\special{t4ht*=&&}% |
| 887 |
\special{t4ht*=""}% |
| 888 |
\special{t4ht*=<<}% |
| 889 |
\special{t4ht*=>>}% |
| 890 |
\HCode{\the\tmp:toks}% |
| 891 |
\special{t4ht*=}% |
| 892 |
]{ style="text-align:middle"}$#1$\EndPicture} |
| 893 |
\def\Alt:lDisplay#1\]{\tmp:toks{\[#1\]}% |
| 894 |
\Picture*[\special{t4ht*=&&}% |
| 895 |
\special{t4ht*=""}% |
| 896 |
\special{t4ht*=<<}% |
| 897 |
\special{t4ht*=>>}% |
| 898 |
\HCode{\the\tmp:toks}% |
| 899 |
\special{t4ht*=}% |
| 900 |
]{}$$#1$$\EndPicture} |
| 901 |
\Configure{$}{}{}{\expandafter\Alt:Math} |
| 902 |
\Configure{$$}{}{}{\expandafter\Alt:Display} |
| 903 |
% \Configure{()}{\Alt:lMath}{} |
| 904 |
% \Configure{[]}{\Alt:lDisplay}{} |
| 905 |
\else |
| 906 |
\Log:Note{for pictorial $...$ and |
| 907 |
$$...$$ environments with latex alt, |
| 908 |
use the command line option `pic-m+' (not safe!!)} |
| 909 |
\fi |
| 910 |
|
| 911 |
\let\A:displaylines\a:displaylines |
| 912 |
\let\B:displaylines\b:displaylines |
| 913 |
\let\C:displaylines\c:displaylines |
| 914 |
\let\D:displaylines\d:displaylines |
| 915 |
\Configure{displaylines} |
| 916 |
{\ifmmode |
| 917 |
\def\A:displaylines{\Picture*{}}% |
| 918 |
\def\B:displaylines{\EndPicture}% |
| 919 |
\fi |
| 920 |
\A:displaylines} |
| 921 |
{\B:displaylines} {\C:displaylines}{\D:displaylines} |
| 922 |
|
| 923 |
\def\A:root#1\b:root#2\c:root{\o:root:#1\of{#2}\c:root} |
| 924 |
\Configure{root} |
| 925 |
{\Picture+{ \a:@Picture{root}}\A:root} |
| 926 |
{} |
| 927 |
{\EndPicture} |
| 928 |
\Configure{mathpalette} |
| 929 |
{\Picture+{ \a:@Picture{mathpalette}}} {\EndPicture} |
| 930 |
% \Configure{L} {\pic:sym{L}} |
| 931 |
% \Configure{l} {\pic:sym{l}} |
| 932 |
\def\pic:sym#1{\Protect\Picture+{ \a:@Picture{#1}}\csname |
| 933 |
o:#1:\endcsname\Protect\EndPicture} |
| 934 |
\Configure{pmatrix} |
| 935 |
{\ifvmode |
| 936 |
\def\end:pmatrix{\IgnorePar\HCode{</div>}\end:TTT}% |
| 937 |
\:xhtml{\IgnorePar\EndP}\HCode |
| 938 |
{<table\Hnewline class="pmatrix"><tr><td><div |
| 939 |
class="pmatrix"\Hnewline>}% |
| 940 |
\else \HCode{<span class="pmatrix">}% |
| 941 |
\def \end:pmatrix{\HCode{</span>}}% |
| 942 |
\fi} |
| 943 |
{\end:pmatrix} |
| 944 |
\Css{div.pmatrix {text-align:center;}} |
| 945 |
\Css{table.pmatrix {width:100\%;}} |
| 946 |
|
| 947 |
\Configure{Longrightarrow} {\pic:sym{Longrightarrow}} |
| 948 |
\Configure{Longleftarrow} {\pic:sym{Longleftarrow}} |
| 949 |
\Configure{bowtie} {\pic:sym{bowtie}} |
| 950 |
\Configure{cong} {\pic:sym{cong}} |
| 951 |
\Configure{ddots} {\pic:sym{ddots}} |
| 952 |
\Configure{doteq} {\pic:sym{doteq}} |
| 953 |
\Configure{hookleftarrow} {\pic:sym{hookleftarrow}} |
| 954 |
\Configure{hookrightarrow} {\pic:sym{hookrightarrow}} |
| 955 |
\Configure{longmapsto} {\pic:sym{longmapsto}} |
| 956 |
\Configure{mapsto} {\pic:sym{mapsto}} |
| 957 |
\Configure{models} {\pic:sym{models}} |
| 958 |
\Configure{neq} {\ht:special{t4ht@+\string&{35}x2260{59}}x} |
| 959 |
\Configure{notin} {\pic:sym{notin}} |
| 960 |
\Configure{vdots} {\pic:sym{vdots}} |
| 961 |
\Configure{angle} {\pic:sym{angle}} |
| 962 |
\Configure{rightleftharpoons} {\pic:sym{rightleftharpoons}} |
| 963 |
\Configure{leftrightharpoons} {\pic:sym{leftrightharpoons}} |
| 964 |
\Configure{mid} {\ht:special{t4ht@+\string&{35}x2223{59}}|} |
| 965 |
|
| 966 |
\Configure{ldots} {\ht:special{t4ht@+\string&{35}x2026{59}}x} |
| 967 |
|
| 968 |
\NewConfigure{@root}{1} |
| 969 |
\Configure{@root}{align="middle" } |
| 970 |
|
| 971 |
\Configure{sqrt} |
| 972 |
{\Picture+{ \a:@Picture{sqrt}}} |
| 973 |
{\EndPicture} |
| 974 |
\Configure{overbrace} {}{\Picture+{}}{\EndPicture} |
| 975 |
\Configure{underbrace} {}{\Picture+{}}{\EndPicture} |
| 976 |
|
| 977 |
|
| 978 |
\Configure{@underbrace}{align="middle"} |
| 979 |
|
| 980 |
\Configure{big}{\HCode{<span class="big">}}{\HCode{</span>}}{}{} |
| 981 |
\Configure{Big}{\HCode{<span class="bbig">}}{\HCode{</span>}}{}{} |
| 982 |
\Configure{bigg}{\HCode{<span class="bigg">}}{\HCode{</span>}}{}{} |
| 983 |
\Configure{Bigg}{\HCode{<span class="bbigg">}}{\HCode{</span>}}{}{} |
| 984 |
|
| 985 |
|
| 986 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 987 |
|
| 988 |
\endinput\empty\empty\empty\empty\empty\empty |
| 989 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 990 |
|
| 991 |
|
| 992 |
|
| 993 |
|
| 994 |
|
| 995 |
|
| 996 |
|
| 997 |
|
| 998 |
|
| 999 |
|
| 1000 |
|
| 1001 |
|
| 1002 |
|
| 1003 |
|
| 1004 |
|
| 1005 |
|
| 1006 |
|
| 1007 |
|
| 1008 |
|
| 1009 |
|
| 1010 |
|
| 1011 |
|
| 1012 |
|
| 1013 |
|
| 1014 |
|
| 1015 |
|
| 1016 |
|
| 1017 |
|
| 1018 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1019 |
\ConfigureHinput{array} |
| 1020 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1021 |
\:CheckOption{pic-array} \if:Option \else |
| 1022 |
\Log:Note{for pictorial array, |
| 1023 |
use the command line option `pic-array'} |
| 1024 |
\ConfigureEnv{array} |
| 1025 |
{\IgnorePar\EndP\PushStack\Col:Marg\AllColMargins |
| 1026 |
\HCode{<div class="array">}} |
| 1027 |
{\HCode{</div>}\PopStack\Col:Marg\AllColMargins\ShowPar}{}{} |
| 1028 |
\Css{div.array {text-align:center;}} |
| 1029 |
\fi |
| 1030 |
|
| 1031 |
|
| 1032 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1033 |
|
| 1034 |
\endinput\empty\empty\empty\empty\empty\empty |
| 1035 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1036 |
|
| 1037 |
|
| 1038 |
|
| 1039 |
|
| 1040 |
|
| 1041 |
|
| 1042 |
|
| 1043 |
|
| 1044 |
|
| 1045 |
|
| 1046 |
|
| 1047 |
|
| 1048 |
|
| 1049 |
|
| 1050 |
|
| 1051 |
|
| 1052 |
|
| 1053 |
|
| 1054 |
|
| 1055 |
|
| 1056 |
|
| 1057 |
|
| 1058 |
|
| 1059 |
|
| 1060 |
|
| 1061 |
|
| 1062 |
|
| 1063 |
|
| 1064 |
|
| 1065 |
|
| 1066 |
|
| 1067 |
|
| 1068 |
|
| 1069 |
|
| 1070 |
|
| 1071 |
|
| 1072 |
|
| 1073 |
|
| 1074 |
|
| 1075 |
|
| 1076 |
|
| 1077 |
|
| 1078 |
|
| 1079 |
|
| 1080 |
|
| 1081 |
|
| 1082 |
|
| 1083 |
|
| 1084 |
|
| 1085 |
|
| 1086 |
|
| 1087 |
|
| 1088 |
|
| 1089 |
|
| 1090 |
|
| 1091 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1092 |
\ConfigureHinput{eplain} |
| 1093 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1094 |
\Configure{PicDisplay} |
| 1095 |
{\edef\MathPar{\ifvmode par-\fi}\IgnorePar\endgraf\EndP |
| 1096 |
\HCode{<div class="\if@leftdisplays leftdisplay\else centereddisplay\fi">}} |
| 1097 |
{\HCode{</div>}} {} {class="\MathPar math-display" } |
| 1098 |
\Css{div.lsftdisplay {text-align:left;}} |
| 1099 |
\Css{div.centereddisplay {text-align:center;}} |
| 1100 |
\Configure{contents} |
| 1101 |
{\ifvmode \IgnorePar\fi \EndP |
| 1102 |
\HCode{<div class="contents">}} |
| 1103 |
{\HCode{</div>}} |
| 1104 |
\Configure{tocchapterentry} |
| 1105 |
{\HCode{<span class="tocchapterentry">}} |
| 1106 |
{\HCode{</span><span class="toc-num">}} |
| 1107 |
{\HCode{</span>}} |
| 1108 |
\Configure{tocsectionentry} |
| 1109 |
{\HCode{<span class="tocsectionentry">}} |
| 1110 |
{\HCode{</span><span class="toc-num">}} |
| 1111 |
{\HCode{</span>}} |
| 1112 |
\Configure{tocsubsectionentry} |
| 1113 |
{\HCode{<span class="tocsubsectionentry">}} |
| 1114 |
{\HCode{</span><span class="toc-num">}} |
| 1115 |
{\HCode{</span>}} |
| 1116 |
\Css{span.tocchapterentry{width:30em}} |
| 1117 |
\Css{span.tocsectionentry{width:30em; padding-left:1.5em}} |
| 1118 |
\Css{span.tocsectionentry{width:30em; padding-left:3em}} |
| 1119 |
\Css{span.toc-num{width:6em; padding-left:2em}} |
| 1120 |
|
| 1121 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1122 |
|
| 1123 |
\endinput\empty\empty\empty\empty\empty\empty |
| 1124 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1125 |
|
| 1126 |
|
| 1127 |
|
| 1128 |
|
| 1129 |
|
| 1130 |
|
| 1131 |
|
| 1132 |
|
| 1133 |
|
| 1134 |
|
| 1135 |
|
| 1136 |
|
| 1137 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1138 |
\ConfigureHinput{fleqn} |
| 1139 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1140 |
\Configure{equation} |
| 1141 |
{\:xhtml{\IgnorePar\EndP}% |
| 1142 |
\HCode{<table\Hnewline class="equation"><tr><td>}\IgnorePar |
| 1143 |
\Configure{$}{\PicMath}{\EndPicMath}{}% |
| 1144 |
} |
| 1145 |
{\IgnorePar\HCode{</td><td class="equation-label">}} |
| 1146 |
{\end:TTT\IgnorePar\par} |
| 1147 |
|
| 1148 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1149 |
|
| 1150 |
\endinput\empty\empty\empty\empty\empty\empty |
| 1151 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1152 |
|
| 1153 |
|
| 1154 |
|
| 1155 |
|
| 1156 |
|
| 1157 |
|
| 1158 |
|
| 1159 |
|
| 1160 |
|
| 1161 |
|
| 1162 |
|
| 1163 |
|
| 1164 |
|
| 1165 |
|
| 1166 |
|
| 1167 |
|
| 1168 |
|
| 1169 |
|
| 1170 |
|
| 1171 |
|
| 1172 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1173 |
\ConfigureHinput{gauss} |
| 1174 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1175 |
\ConfigureEnv{gmatrix} |
| 1176 |
{\IgnorePar\EndP |
| 1177 |
\Tg<div class="gmatix">\Picture*{}$$} |
| 1178 |
{$$\EndPicture\Tg</div>}{}{} |
| 1179 |
\Css{div.gmatrix {text-align:center;}} |
| 1180 |
|
| 1181 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1182 |
|
| 1183 |
\endinput\empty\empty\empty\empty\empty\empty |
| 1184 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1185 |
|
| 1186 |
|
| 1187 |
|
| 1188 |
|
| 1189 |
|
| 1190 |
|
| 1191 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1192 |
\ConfigureHinput{rlbabel} |
| 1193 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1194 |
\:CheckOption{pic-m} \if:Option |
| 1195 |
\else |
| 1196 |
\Configure{$} |
| 1197 |
{\HCode{<span dir="\if@rl rtl\else ltr\fi" |
| 1198 |
>}} |
| 1199 |
{\HCode{</span>}}{} |
| 1200 |
\fi |
| 1201 |
\Configure{[]} |
| 1202 |
{\bgroup |
| 1203 |
\protect\nested:math |
| 1204 |
\PicDisplay |
| 1205 |
$$\everymath{}\everydisplay{}} |
| 1206 |
{$$\EndPicDisplay \egroup |
| 1207 |
\ShowPar \par{\HCondtrue\noindent}% |
| 1208 |
\if@rl \beginL\fi \beginR } |
| 1209 |
|
| 1210 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1211 |
|
| 1212 |
\endinput\empty\empty\empty\empty\empty\empty |
| 1213 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1214 |
|
| 1215 |
|
| 1216 |
|
| 1217 |
|
| 1218 |
|
| 1219 |
|
| 1220 |
|
| 1221 |
|
| 1222 |
|
| 1223 |
|
| 1224 |
|
| 1225 |
|
| 1226 |
|
| 1227 |
|
| 1228 |
|
| 1229 |
|
| 1230 |
|
| 1231 |
|
| 1232 |
|
| 1233 |
|
| 1234 |
|
| 1235 |
|
| 1236 |
|
| 1237 |
|
| 1238 |
|
| 1239 |
|
| 1240 |
|
| 1241 |
|
| 1242 |
|
| 1243 |
|
| 1244 |
|
| 1245 |
|
| 1246 |
|
| 1247 |
|
| 1248 |
|
| 1249 |
|
| 1250 |
|
| 1251 |
|
| 1252 |
|
| 1253 |
|
| 1254 |
|
| 1255 |
|
| 1256 |
|
| 1257 |
|
| 1258 |
|
| 1259 |
|
| 1260 |
|
| 1261 |
|
| 1262 |
|
| 1263 |
|
| 1264 |
|
| 1265 |
|
| 1266 |
|
| 1267 |
|
| 1268 |
|
| 1269 |
|
| 1270 |
|
| 1271 |
|
| 1272 |
|
| 1273 |
|
| 1274 |
|
| 1275 |
|
| 1276 |
|
| 1277 |
|
| 1278 |
|
| 1279 |
|
| 1280 |
|
| 1281 |
|
| 1282 |
|
| 1283 |
|
| 1284 |
|
| 1285 |
|
| 1286 |
|
| 1287 |
|
| 1288 |
|
| 1289 |
|
| 1290 |
|
| 1291 |
|
| 1292 |
|
| 1293 |
|
| 1294 |
|
| 1295 |
|
| 1296 |
|
| 1297 |
|
| 1298 |
|
| 1299 |
|
| 1300 |
|
| 1301 |
|
| 1302 |
|
| 1303 |
|
| 1304 |
|
| 1305 |
|
| 1306 |
|
| 1307 |
|
| 1308 |
|
| 1309 |
|
| 1310 |
|
| 1311 |
|
| 1312 |
|
| 1313 |
|
| 1314 |
|
| 1315 |
|
| 1316 |
|
| 1317 |
|
| 1318 |
|
| 1319 |
|
| 1320 |
|
| 1321 |
|
| 1322 |
|
| 1323 |
|
| 1324 |
|
| 1325 |
|
| 1326 |
|
| 1327 |
|
| 1328 |
|
| 1329 |
|
| 1330 |
|
| 1331 |
|
| 1332 |
|
| 1333 |
|
| 1334 |
|
| 1335 |
|
| 1336 |
|
| 1337 |
|
| 1338 |
|
| 1339 |
|
| 1340 |
|
| 1341 |
|
| 1342 |
|
| 1343 |
|
| 1344 |
|
| 1345 |
|
| 1346 |
|
| 1347 |
|
| 1348 |
|
| 1349 |
|
| 1350 |
|
| 1351 |
|
| 1352 |
|
| 1353 |
|
| 1354 |
|
| 1355 |
|
| 1356 |
|
| 1357 |
|
| 1358 |
|
| 1359 |
|
| 1360 |
|
| 1361 |
|
| 1362 |
|
| 1363 |
|
| 1364 |
|
| 1365 |
|
| 1366 |
|
| 1367 |
|
| 1368 |
|
| 1369 |
|
| 1370 |
|
| 1371 |
|
| 1372 |
|
| 1373 |
|
| 1374 |
|
| 1375 |
|
| 1376 |
|
| 1377 |
|
| 1378 |
|
| 1379 |
|
| 1380 |
|
| 1381 |
|
| 1382 |
|
| 1383 |
|
| 1384 |
|
| 1385 |
|
| 1386 |
|
| 1387 |
|
| 1388 |
|
| 1389 |
|
| 1390 |
|
| 1391 |
|
| 1392 |
|
| 1393 |
|
| 1394 |
|
| 1395 |
|
| 1396 |
|
| 1397 |
|
| 1398 |
|
| 1399 |
|
| 1400 |
|
| 1401 |
|
| 1402 |
|
| 1403 |
|
| 1404 |
|
| 1405 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1406 |
\ConfigureHinput{accents} |
| 1407 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1408 |
\Configure{accentset} |
| 1409 |
{\HCode{<span class="accentset">}} |
| 1410 |
{\HCode{<span class="accent">}} |
| 1411 |
{\HCode{</span></span>}} |
| 1412 |
\Configure{underaccent} |
| 1413 |
{\HCode{<span class="underaccent">}} |
| 1414 |
{\HCode{<span class="accent">}} |
| 1415 |
{\HCode{</span></span>}} |
| 1416 |
\Css{span.accentset span.accent{font-size:80\%; |
| 1417 |
position:relative; top:-1.7ex; left:-0.6em;}} |
| 1418 |
\Css{span.underaccent span.accent{font-size:80\%; |
| 1419 |
position:relative; top:1.6ex; left:-0.6em;}} |
| 1420 |
|
| 1421 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1422 |
|
| 1423 |
\endinput\empty\empty\empty\empty\empty\empty |
| 1424 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1425 |
|
| 1426 |
|
| 1427 |
|
| 1428 |
|
| 1429 |
|
| 1430 |
|
| 1431 |
|
| 1432 |
|
| 1433 |
|
| 1434 |
|
| 1435 |
|
| 1436 |
|
| 1437 |
|
| 1438 |
|
| 1439 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1440 |
\ConfigureHinput{ushort} |
| 1441 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1442 |
\Configure{ushort} |
| 1443 |
{\HCode{<span class="underline">}\hbox\bgroup \:gobble} |
| 1444 |
{\egroup \HCode{</span>}} |
| 1445 |
\Configure{ushortw} |
| 1446 |
{\HCode{<span class="underline">}\hbox\bgroup \:gobble} |
| 1447 |
{\egroup \HCode{</span>}} |
| 1448 |
\Configure{ushortd} |
| 1449 |
{\HCode{<span class="underline-d">}\hbox\bgroup \:gobble} |
| 1450 |
{\egroup \HCode{</span>}} |
| 1451 |
\Configure{ushortdw} |
| 1452 |
{\HCode{<span class="underline-d">}\hbox\bgroup \:gobble} |
| 1453 |
{\egroup \HCode{</span>}} |
| 1454 |
\Configure{ushortdline} |
| 1455 |
{\HCode{<span class="underline-d">}\hbox\bgroup \:gobble} |
| 1456 |
{\egroup \HCode{</span>}} |
| 1457 |
\Css{.underline-d{ border-bottom: 3px double black; |
| 1458 |
margin-bottom:1pt; }} |
| 1459 |
|
| 1460 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1461 |
|
| 1462 |
\endinput\empty\empty\empty\empty\empty\empty |
| 1463 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1464 |
|
| 1465 |
|
| 1466 |
|
| 1467 |
|
| 1468 |
|
| 1469 |
|
| 1470 |
|
| 1471 |
|
| 1472 |
|
| 1473 |
|
| 1474 |
|
| 1475 |
|
| 1476 |
|
| 1477 |
|
| 1478 |
|
| 1479 |
|
| 1480 |
|
| 1481 |
|
| 1482 |
|
| 1483 |
|
| 1484 |
|
| 1485 |
|
| 1486 |
|
| 1487 |
|
| 1488 |
|
| 1489 |
|
| 1490 |
|
| 1491 |
|
| 1492 |
|
| 1493 |
|
| 1494 |
|
| 1495 |
|
| 1496 |
|
| 1497 |
|
| 1498 |
|
| 1499 |
|
| 1500 |
|
| 1501 |
|
| 1502 |
|
| 1503 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1504 |
\ConfigureHinput{cancel} |
| 1505 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1506 |
\Configure{cancel-math}{\HCode{<span class="cancel">}}{\HCode{</span>}} |
| 1507 |
\Configure{bcancel-math}{\HCode{<span class="bcancel">}}{\HCode{</span>}} |
| 1508 |
\Configure{xcancel-math}{\HCode{<span class="xcancel">}}{\HCode{</span>}} |
| 1509 |
% It doesn't produce arrow unfortunatelly, maybe we could use SVG |
| 1510 |
\Configure{cancelto}{\HCode{<span class="cancel">}}{\HCode{</span><sup>}}{\HCode{</sup>}} |
| 1511 |
|
| 1512 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1513 |
|
| 1514 |
\endinput\empty\empty\empty\empty\empty\empty |
| 1515 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1516 |
|
| 1517 |
|
| 1518 |
|
| 1519 |
|
| 1520 |
|
| 1521 |
|
| 1522 |
|
| 1523 |
|
| 1524 |
|
| 1525 |
|
| 1526 |
|
| 1527 |
|
| 1528 |
|
| 1529 |
|
| 1530 |
|
| 1531 |
|
| 1532 |
|
| 1533 |
|
| 1534 |
|
| 1535 |
|
| 1536 |
|
| 1537 |
|
| 1538 |
|
| 1539 |
|
| 1540 |
|
| 1541 |
|
| 1542 |
|
| 1543 |
|
| 1544 |
|
| 1545 |
|
| 1546 |
|
| 1547 |
|
| 1548 |
|
| 1549 |
|
| 1550 |
|
| 1551 |
|
| 1552 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1553 |
\ConfigureHinput{th4} |
| 1554 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1555 |
\:CheckOption{th4}\if:Option |
| 1556 |
\Configure{[]} |
| 1557 |
{\PicDisplay $$\everymath{}\everydisplay{}} |
| 1558 |
{$$\EndPicDisplay \ShowPar \par{\HCondtrue\noindent}% |
| 1559 |
} |
| 1560 |
\Configure{()}{\PicMath$}{$\EndPicMath} |
| 1561 |
\fi |
| 1562 |
|
| 1563 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1564 |
|
| 1565 |
\endinput\empty\empty\empty\empty\empty\empty |
| 1566 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 1567 |
|
| 1568 |
|
| 1569 |
|
| 1570 |
|
| 1571 |
|
| 1572 |
|
| 1573 |
|
| 1574 |
|
| 1575 |
|
| 1576 |
|
| 1577 |
|
| 1578 |
|
| 1579 |
|
| 1580 |
|
| 1581 |
|
| 1582 |
|
| 1583 |
|
| 1584 |
|
| 1585 |
|
| 1586 |
|
| 1587 |
|
| 1588 |
|
| 1589 |
|
| 1590 |
|
| 1591 |
|
| 1592 |
|
| 1593 |
|
| 1594 |
|
| 1595 |
|
| 1596 |
|
| 1597 |
|
| 1598 |
|
| 1599 |
|
| 1600 |
|
| 1601 |
|
| 1602 |
|
| 1603 |
|
| 1604 |
|
| 1605 |
|
| 1606 |
|
| 1607 |
|
| 1608 |
|
| 1609 |
|
| 1610 |
|
| 1611 |
|
| 1612 |
|
| 1613 |
|
| 1614 |
|
| 1615 |
|
| 1616 |
|
| 1617 |
|
| 1618 |
|
| 1619 |
|
| 1620 |
|
| 1621 |
|
| 1622 |
|
| 1623 |
|
| 1624 |
|
| 1625 |
|
| 1626 |
|
| 1627 |
|
| 1628 |
|
| 1629 |
|
| 1630 |
|
| 1631 |
|
| 1632 |
|
| 1633 |
|
| 1634 |
|
| 1635 |
|
| 1636 |
|
| 1637 |
|
| 1638 |
|
| 1639 |
|
| 1640 |
|
| 1641 |
|
| 1642 |
|
| 1643 |
|
| 1644 |
|
| 1645 |
|
| 1646 |
|
| 1647 |
|
| 1648 |
|
| 1649 |
|
| 1650 |
|
| 1651 |
|
| 1652 |
|
| 1653 |
|
| 1654 |
|
| 1655 |
|
| 1656 |
|
| 1657 |
|
| 1658 |
|
| 1659 |
|
| 1660 |
|
| 1661 |
|
| 1662 |
|
| 1663 |
|
| 1664 |
|
| 1665 |
|
| 1666 |
|
| 1667 |
|
| 1668 |
|
| 1669 |
|
| 1670 |
|
| 1671 |
|
| 1672 |
|
| 1673 |
|
| 1674 |
|
| 1675 |
|
| 1676 |
|
| 1677 |
|
| 1678 |
\endinput |
| 1679 |
|