diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/mathml.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/mathml.4ht | 330 |
1 files changed, 274 insertions, 56 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht index 32fdf900da0..28123c95bb0 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/mathml.4ht @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% mathml.4ht 2006-12-05-22:22 % -% Copyright (C) 1999--2006 Eitan M. Gurari % +% mathml.4ht 2007-12-02-18:44 % +% Copyright (C) 1999--2007 Eitan M. Gurari % % % % This work may be distributed and/or modified under the % % conditions of the LaTeX Project Public License, either % @@ -24,7 +24,7 @@ % gurari@cse.ohio-state.edu % % http://www.cse.ohio-state.edu/~gurari % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2006-12-05-22:22} +\immediate\write-1{version 2007-12-02-18:44} \exit:ifnot{Preamble,% amsbsy,% @@ -42,9 +42,12 @@ dcolumn,% etex4ht,% fontmath,% latex,% +mathtools,% plain,% rlbabel,% +sistyle,% tex4ht,% +ushort,% vanilla} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -89,11 +92,13 @@ vanilla} \newif\ifmtext \mtextfalse \LinkCommand\mtxt:link{\a:mathml mtext,% xlink:type="simple" - xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href, + xmlns:xlink="http://www.w3.org/1999/xlink" + xlink:href, id, \mml:class="label",,} \LinkCommand\msp:link{\a:mathml mstyle,% xlink:type="simple" - xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href, + xmlns:xlink="http://www.w3.org/1999/xlink" + xlink:href, id, \mml:class="label",,} \let\M:Link\Link \def\Link{\ifmathml @@ -117,14 +122,16 @@ vanilla} \def\IgnoreRule{\ht:special{t4ht@\string_}} \def\EndIgnoreRule{\ht:special{t4ht@\string_\string_}} \Configure{$$} - {\Configure{@math}{\a:mathml display="block" + {\Configure{@math}{%\a:mathml + display="block" }\IgnorePar \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi \EndP\DviMath} {\EndDviMath\ShowPar\par{\csname HCondtrue\endcsname\noindent}} {\DisplayMathtrue} \Configure{$} - {\Configure{@math}{\a:mathml display="inline" + {\Configure{@math}{%\a:mathml + display="inline" }\DviMath} {\EndDviMath}{} \newif\ifDisplayMath \DisplayMathfalse @@ -151,15 +158,18 @@ vanilla} \Configure{SUB} {\Send{BACK} - {<\a:mathml msub><\a:mathml mrow\Hnewline>}\Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>\trap:base} + {<\a:mathml msub><\a:mathml mrow\Hnewline>}% + \Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>\trap:base} {\Tg</\a:mathml mrow>\TG</\a:mathml msub\Hnewline>} \Configure{SUP} {\Send{BACK} - {<\a:mathml msup><\a:mathml mrow\Hnewline>}\Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>\trap:base} + {<\a:mathml msup><\a:mathml mrow\Hnewline>}% + \Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>\trap:base} {\Tg</\a:mathml mrow>\TG</\a:mathml msup\Hnewline>} \Configure{SUBSUP} {\Send{BACK} - {<\a:mathml msubsup><\a:mathml mrow\Hnewline>}\Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>\trap:base} + {<\a:mathml msubsup><\a:mathml mrow\Hnewline>}% + \Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>\trap:base} {\Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>\trap:base} {\Tg</\a:mathml mrow>\TG</\a:mathml msubsup\Hnewline>} \def\trap:base{{\HCode{}}} @@ -167,8 +177,8 @@ vanilla} \Configure{nolimits}{\HCode{<!--nolimits-->}} \Configure{limits} {\let\pl:SUB =\:UnDef - \let\pl:SUP =\:UnDef - \ifx \:temp\sp \def\pl:SUP{\Configure{SUP}}% +\let\pl:SUP =\:UnDef +\ifx \:temp\sp \def\pl:SUP{\Configure{SUP}}% \expandafter\append:def \expandafter\pl:SUP\expandafter{\expandafter{\a:SUP}}% \expandafter\append:def @@ -179,8 +189,10 @@ vanilla} \mml:class="msup"><\a:mathml mrow\Hnewline>}% \Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>% \bgroup - \ifx \pl:SUBSUP\:UnDef \else + \ifx \pl:SUBSUP +\:UnDef \else \let\SUBSUP:=\pl:SUBSUP +% \fi % \Configure{SUP} @@ -210,8 +222,10 @@ vanilla} \mml:class="msub"><\a:mathml mrow\Hnewline>}% \Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>% \bgroup - \ifx \pl:SUBSUP\:UnDef \else + \ifx \pl:SUBSUP +\:UnDef \else \let\SUBSUP:=\pl:SUBSUP +% \fi % \Configure{SUB} @@ -230,14 +244,18 @@ vanilla} }% \trap:base} {}% -\fi\fi - \let\pl:SUBSUP=\SUBSUP: +\fi +\fi +\let\pl:SUBSUP +=\SUBSUP: % \Configure{SUBSUP} {\ifx \pl:SUB \:UnDef\else \pl:SUB \fi \ifx \pl:SUP \:UnDef\else \pl:SUP \fi - \ifx \pl:SUBSUP\:UnDef \else + \ifx \pl:SUBSUP +\:UnDef \else \let\SUBSUP:=\pl:SUBSUP +% \fi % \Send{BACK} @@ -254,8 +272,8 @@ vanilla} \Configure{displaylimits} {\ifDisplayMath \expandafter\disp:limits\fi} \def\disp:limits{\let\pl:SUB =\:UnDef - \let\pl:SUP =\:UnDef - \ifx \:temp\sp \def\pl:SUP{\Configure{SUP}}% +\let\pl:SUP =\:UnDef +\ifx \:temp\sp \def\pl:SUP{\Configure{SUP}}% \expandafter\append:def \expandafter\pl:SUP\expandafter{\expandafter{\a:SUP}}% \expandafter\append:def @@ -266,8 +284,10 @@ vanilla} \mml:class="msup"><\a:mathml mrow\Hnewline>}% \Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>% \bgroup - \ifx \pl:SUBSUP\:UnDef \else + \ifx \pl:SUBSUP +\:UnDef \else \let\SUBSUP:=\pl:SUBSUP +% \fi % \Configure{SUP} @@ -297,8 +317,10 @@ vanilla} \mml:class="msub"><\a:mathml mrow\Hnewline>}% \Tg</\a:mathml mrow>\Tg<\a:mathml mrow\Hnewline>% \bgroup - \ifx \pl:SUBSUP\:UnDef \else + \ifx \pl:SUBSUP +\:UnDef \else \let\SUBSUP:=\pl:SUBSUP +% \fi % \Configure{SUB} @@ -317,14 +339,18 @@ vanilla} }% \trap:base} {}% -\fi\fi - \let\pl:SUBSUP=\SUBSUP: +\fi +\fi +\let\pl:SUBSUP +=\SUBSUP: % \Configure{SUBSUP} {\ifx \pl:SUB \:UnDef\else \pl:SUB \fi \ifx \pl:SUP \:UnDef\else \pl:SUP \fi - \ifx \pl:SUBSUP\:UnDef \else + \ifx \pl:SUBSUP +\:UnDef \else \let\SUBSUP:=\pl:SUBSUP +% \fi % \Send{BACK} @@ -339,15 +365,21 @@ vanilla} % } \ifx \a:putSUB\:UnDef \else - \pend:def\a:putSUB{\ifx \pl:SUBSUP\:UnDef\else + \pend:def\a:putSUB{\ifx \pl:SUBSUP +\:UnDef\else \let\SUBSUP:=\pl:SUBSUP - \let\pl:SUBSUP=\:UnDef +% + \let\pl:SUBSUP +=\:UnDef \fi}% \fi \ifx \a:putSUP\:UnDef \else - \pend:def\a:putSUP{\ifx \pl:SUBSUP\:UnDef\else + \pend:def\a:putSUP{\ifx \pl:SUBSUP +\:UnDef\else \let\SUBSUP:=\pl:SUBSUP - \let\pl:SUBSUP=\:UnDef +% + \let\pl:SUBSUP +=\:UnDef \fi}% \fi @@ -485,7 +517,8 @@ vanilla} \let\C:equation\c:equation \Configure{equation} {\A:equation\Configure{$$} - {\Configure{@math}{\a:mathml display="block" + {\Configure{@math}{%\a:mathml + display="block" % \mml:class="equation"}\IgnorePar\EndP\DviMath} {\EndDviMath\EndP} @@ -499,16 +532,18 @@ vanilla} {\ifmathml\ifmtext\else \HCode{</\a:mathml mrow>}\fi\fi} \Configure{newline} {\ht:special{t4ht@,}% -\HCode{</\a:mathml mtext><\a:mathml +\HCode{</\a:mathml mtext\Hnewline><\a:mathml mtext \mml:class="newline">}\ht:special{t4ht@,&\#x00A0;}% } \Configure{[]} - {\Configure{@math}{\a:mathml display="block" + {\Configure{@math}{%\a:mathml + display="block" }\csname a:mathml[]\endcsname \DviMath\Tg<\a:mathml mrow\Hnewline>$$\DisplayMathtrue } {$$\Tg</\a:mathml mrow>\EndDviMath\csname b:mathml[]\endcsname} \Configure{()} - {\Configure{@math}{\a:mathml display="inline" + {\Configure{@math}{%\a:mathml + display="inline" }\csname a:mathml()\endcsname \DviMath\Tg<\a:mathml mrow\Hnewline>$} {$\Tg</\a:mathml mrow>\EndDviMath\csname b:mathml()\endcsname} @@ -1157,8 +1192,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \Configure{mfenced}{\rceil}{\string&\#x2309;} \Configure{mfenced}{\lfloor}{\string&\#x230A;} \Configure{mfenced}{\rfloor}{\string&\#x230B;} -\Configure{mfenced}{\Vert}{\string&\#x2193;} -\Configure{mfenced}{\Vert}{\string&\#x2191;} +\Configure{mfenced}{\Vert}{\string&\#x2225;} \Configure{mfenced}{\rgroup}{)} \Configure{mfenced}{\lgroup}{(} \Configure{mfenced}{\bracevert}{|} @@ -1231,7 +1265,38 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{fontmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - \expandafter\ifx \csname o@everypar\endcsname\relax \else + \ifx \tmp:bx\:UnDef \csname newbox\endcsname \tmp:bx \fi +\ifx \find:set:mgroup\:UnDef + \def\find:set:mgroup#1#2#3{\bgroup + \def\use@mathgroup##1##2##3{\relax + \tmp:cnt=##2% + \xdef\:temp####1{\noexpand\Configure{MathClass}{#2}% + {}{}{}{\mathchar"0\the\tmp:cnt ####1}}% + }% + \setbox\tmp:bx=\hbox{$#1$}\setbox\tmp:bx=\hbox{}% + \set:mgroup#3{}{}% + \egroup + } +\fi +\def\set:mgroup#1#2{\if :#1#2:\else + \:temp{#1#2}\expandafter\set:mgroup \fi} + +\ifx \mathboldcalMathClass\:UnDef + \NewMathClass\mathboldcalMathClass +\fi +\Configure{MathClass}{\mathboldcalMathClass}{*} + {<\a:mathml mi\Hnewline + mathvariant="bold-script">}{</\a:mathml mi>}{} + +\expandafter\ifx\csname mv@bold\endcsname\relax \else +\bgroup +\mathversion{bold}% +\find:set:mgroup{\mathcal{A}}{\mathboldcalMathClass}% + {4142434445464748494A4B4C4D4E4F505152535455565758595A} +\egroup +\fi + +\expandafter\ifx \csname o@everypar\endcsname\relax \else \expandafter\ifx \csname ht:everypar\endcsname\relax \let\ht:everypar\o@everypar \fi\fi @@ -1481,6 +1546,18 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \Configure{mathtt}% {\bgroup \Tg<\a:mathml mstyle mathvariant="monospace">}% {\Tg</\a:mathml mstyle>\egroup }% +\Css{ + math mstyle[mathvariant="bold"] mi { + font-weight: bold; + font-style: normal; + } +} +\Css{ + math mstyle[mathvariant="normal"] mi { + font-weight: normal; + font-style: normal; + } +} \def\:tempd#1#2{% \expandafter\def\csname #1\endcsname{\mathchar"13#2}% \MathSymbol\mathop{#1}% @@ -1535,10 +1612,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - - - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsbsy} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1551,6 +1624,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsmath} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1675,7 +1749,8 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \ifmathml \Tg<\a:mathml mrow>\def\end:mathalign{\Tg</\a:mathml mrow>}% \else - \Configure{@math}{\a:mathml display="block" + \Configure{@math}{%\a:mathml + display="block" }\DviMath \def\end:mathalign{\EndDviMath \DisplayMathfalse}% \DisplayMathtrue @@ -1904,7 +1979,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amstext} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1915,6 +1989,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amstex1} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1958,9 +2033,9 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \ht:special{t4ht@,}% \HCode{</\a:mathml mtext><\a:mathml mrow\Hnewline \mml:class="math">}} - {\ht:special{t4ht@,&\#x00A0;}% -\HCode{</\a:mathml mrow><\a:mathml mtext - \a:@mtext>}\mtexttrue\PauseMathClass}{#1} + {\HCode{</\a:mathml mrow><\a:mathml mtext + \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}% +\mtexttrue\PauseMathClass}{#1} \let\f@size#2\selectfont #3}% \mtextfalse \EndPauseMathClass \ht:special{t4ht@,}% \HCode @@ -2887,8 +2962,7 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \Configure{mfenced}{\rceil}{\string&\#x2309;} \Configure{mfenced}{\lfloor}{\string&\#x230A;} \Configure{mfenced}{\rfloor}{\string&\#x230B;} -\Configure{mfenced}{\Vert}{\string&\#x2193;} -\Configure{mfenced}{\Vert}{\string&\#x2191;} +\Configure{mfenced}{\Vert}{\string&\#x2225;} \Configure{mfenced}{\rgroup}{)} \Configure{mfenced}{\lgroup}{(} \Configure{mfenced}{\bracevert}{|} @@ -2952,7 +3026,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \endinput\empty\empty\empty\empty\empty\empty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amsopn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -2969,9 +3042,9 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% \ht:special{t4ht@,}% \HCode{</\a:mathml mtext><\a:mathml mrow\Hnewline \mml:class="math">}} - {\ht:special{t4ht@,&\#x00A0;}% -\HCode{</\a:mathml mrow><\a:mathml mtext - \a:@mtext>}\mtexttrue\PauseMathClass}{#1} + {\HCode{</\a:mathml mrow><\a:mathml mtext + \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}% +\mtexttrue\PauseMathClass}{#1} \let\f@size#2\selectfont #3}% \mtextfalse \EndPauseMathClass \ht:special{t4ht@,}% \HCode @@ -3011,6 +3084,10 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{array} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3059,8 +3136,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{amscd} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3107,6 +3182,13 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + + + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{vanilla} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3332,11 +3414,15 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% + + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{rlbabel} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \Configure{[]} - {\Configure{@math}{\a:mathml display="block" + {\Configure{@math}{%\a:mathml + display="block" }\csname a:mathml[]\endcsname \DviMath\Tg<\a:mathml mrow\Hnewline>$$\DisplayMathtrue } {$$\Tg</\a:mathml mrow>\EndDviMath\csname b:mathml[]\endcsname @@ -3368,7 +3454,6 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ConfigureHinput{dcolumn} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3427,6 +3512,94 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{mathtools} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{MT_gathered_env} + {\HCode{<\a:mathml mtable\Hnewline \mml:class="MT-gathered-env">}} + {\HCode{</\a:mathml mtable>}} + {\HCode{<\a:mathml mtr>}} {\HCode{</\a:mathml mtr>}} + {\HCode{\Hnewline<\a:mathml mtd>}} {\HCode{</\a:mathml mtd>}} +\ConfigureEnv{MT_gathered_env}{}{}{}{} +\ConfigureEnv{gathered} + {% + \Configure{MT_gathered_env} + {\HCode{<\a:mathml mtable\Hnewline + \mml:class="gathered" columnalign="center" >}} + {\HCode{</\a:mathml mtable>}} + {\HCode{<\a:mathml mtr>}} {\HCode{</\a:mathml mtr>}} + {\HCode{\Hnewline<\a:mathml mtd>}} {\HCode{</\a:mathml mtd>}}% + } + {}{}{} +\ConfigureEnv{lgathered} + {% + \Configure{MT_gathered_env} + {\HCode{<\a:mathml mtable\Hnewline + \mml:class="lgathered" columnalign="left" >}} + {\HCode{</\a:mathml mtable>}} + {\HCode{<\a:mathml mtr>}} {\HCode{</\a:mathml mtr>}} + {\HCode{\Hnewline<\a:mathml mtd>}} {\HCode{</\a:mathml mtd>}}% + } + {}{}{} +\ConfigureEnv{rgathered} + {% + \Configure{MT_gathered_env} + {\HCode{<\a:mathml mtable\Hnewline + \mml:class="rgathered" columnalign="right" >}} + {\HCode{</\a:mathml mtable>}} + {\HCode{<\a:mathml mtr>}} {\HCode{</\a:mathml mtr>}} + {\HCode{\Hnewline<\a:mathml mtd>}} {\HCode{</\a:mathml mtd>}}% + } + {}{}{} +\ConfigureEnv{cases} + {\HCode{<\a:mathml mrow \mml:class="cases" >}} + {\HCode{</\a:mathml mrow>}} + {}{} +\Configure{dcases} + {\HCode{<\a:mathml mtable\Hnewline \mml:class="dcases">}} + {\HCode{</\a:mathml mtable>}} + {\HCode{<\a:mathml mtr>}} {\HCode{</\a:mathml mtr>}} + {\HCode{\Hnewline<\a:mathml mtd columnalign="left">}} + {\HCode{</\a:mathml mtd>}} +\Configure{dcases*} + {\HCode{<\a:mathml mtable\Hnewline \mml:class="dcases-star">}} + {\HCode{</\a:mathml mtable>}} + {\HCode{<\a:mathml mtr>}} {\HCode{</\a:mathml mtr>}} + {\HCode{\Hnewline<\a:mathml mtd columnalign="left">}% + \ifnum\HCol=2 + \PauseMathClass + \HCode{<\a:mathml mtext>}% + \fi + } + {\ifnum\HCol=2 + \EndPauseMathClass + \HCode{</\a:mathml mtext>}% + \fi + \HCode{</\a:mathml mtd>}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + + + + + + + + + + + + + + + + + + @@ -3467,6 +3640,53 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{sistyle} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{thousandsep} + {\ifmathml + \ifmtext\else \Tg<\a:mathml mspace width="0.25em"/>\fi + \fi} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \ConfigureHinput{ushort} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \Configure{ushort} + {\bgroup + \expandafter\ushort:data + } + {\egroup} +\Configure{ushortw} + {\bgroup + \expandafter\ushort:data + } + {\egroup} +\Configure{ushortd} + {\bgroup + \expandafter\ushortd:data + } + {\egroup} +\Configure{ushortdw} + {\bgroup + \expandafter\ushortd:data + } + {\egroup} +\Configure{ushortdline} + {\bgroup\expandafter\ushortdline:data } + {\egroup} +\def\ushort:data#1#2{\underline{\:gobbleIII #2}} +\def\ushortd:data#1#2{\underline{\underline{\:gobbleIII #2}}} +\def\ushortdline:data#1#2{#1{#1{\:gobble #2}}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\endinput\empty\empty\empty\empty\empty\empty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -3599,7 +3819,5 @@ accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}% - - \endinput |