<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% $Id: tex4ht-mathltx.tex 184 2016-07-04 17:35:09Z karl $
% compile 3 times: latex tex4ht-mathltx
%           or   xhlatex tex4ht-mathltx "html,3,sections+"
%
% Copyright 2009-2016 TeX Users Group
% Copyright 2005-2009 Eitan M. Gurari
% Released under LPPL 1.3c+.
% See tex4ht-cpright.tex for license text.

\ifx \HTML\UnDef
   \def\HTML{mathltx,html-mltx} 
   \def\CONFIG{\jobname}
   \def\MAKETITLE{\author{Eitan M. Gurari}}
   \def\next{\input mktex4ht.4ht  \endinput}
   \expandafter\next
\fi

\input{common-code}
\input{common}
\input{tex4ht-cpright}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Constructs}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%
\section{Background}
%%%%%%%%%%%%%%%%%%

\Link[http://www.math.union.edu/\string
    ~dpvc/jsMath/welcome.html]{}{}jsmath\EndLink


\begin{verbatim}
&lt;SCRIPT
 SRC="http://www.math.union.edu/~dpvc/jsMath/jsMath/jsMath.js"&gt;&lt;/SCRIPT&gt; 
&lt;NOSCRIPT&gt; 
&lt;DIV STYLE="color:#CC0000; text-align:center"&gt; 
&lt;B&gt;Warning: &lt;A HREF="http://www.math.union.edu/locate/jsMath"&gt;jsMath&lt;/A&gt; 
requires JavaScript to process the mathematics on this page.&lt;BR&gt; 
If your browser supports JavaScript, be sure it is enabled.&lt;/B&gt; 
&lt;/DIV&gt; 
&lt;HR&gt; 
&lt;/NOSCRIPT&gt;
 
&lt;DIV CLASS="math"&gt; 
\left(a^b\right)
&lt;/DIV&gt; 


&lt;STYLE TYPE="text/css"&gt;
  .math    {font-size: 67%;}
&lt;/STYLE&gt;

 &lt;SPAN CLASS="math"&gt;f(u)&lt;/SPAN&gt; 

\end{verbatim}

\begin{verbatim}
htlatex try "xhtml,mathltx" " -cmozhtf" 
\end{verbatim}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{The equation Environment}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{LaTeX}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\let\A:equation|=\a:equation
\let\B:equation|=\b:equation
\let\C:equation|=\c:equation
\Configure{equation}
  {\A:equation|&lt;math display in equation|&gt;}
  {\B:equation}{\C:equation}
&gt;&gt;&gt;

\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\Configure{equation}
  {\IgnorePar|&lt;inline end-par comment|&gt;\EndP
   \HCode{&lt;table class="equation"&gt;&lt;tr&gt;&lt;td&gt;}\IgnorePar
     |&lt;math display in equation|&gt;}
  {\ifvmode \IgnorePar\fi\EndP\HCode{&lt;/td&gt;&lt;td class="eq-no"&gt;}}
  {\HCode{&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;}|&lt;try inline par|&gt;}
\Css{.equation td{text-align:center; vertical-align:middle; }}
\Css{td.eq-no{ width:5\%; }}
\Css{table.equation { width:100\%; }   }
&gt;&gt;&gt;

\&lt;math display in equation\&gt;&lt;&lt;&lt;
\csname a:equation\string$\string$\endcsname
&gt;&gt;&gt;

\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\NewConfigure{equation$$}{1}
\Configure{equation$$}
  {\Configure{$$}
     {\Configure{@math}{div}\IgnorePar\EndP\DviMath}
     {\EndDviMath\EndP}
     {\DisplayMathtrue}%
  }
&gt;&gt;&gt;




\&lt;block display\&gt;&lt;&lt;&lt;
display="block" 
&gt;&gt;&gt;


\&lt;inline display\&gt;&lt;&lt;&lt;
display="inline"
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{AmsMath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\Configure{equation}
  {\Configure{gather}
     {\HCode{&lt;mtable\Hnewline
        \mml:class="equation"&gt;&lt;mtr&gt;&lt;mtd&gt;}\IgnorePar }
     {\HCode{&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;}}
     {}
     {}
     {\ifnum\HCol=2 \IgnorePar
         \HCode{&lt;/mtd&gt;&lt;mtd&gt;}\fi }
     {}
  }{}{}
\Configure{equation*}
  {\Configure{gather*}
     {\HCode{&lt;mtable\Hnewline
        \mml:class="equation-star"&gt;&lt;mtr&gt;&lt;mtd&gt;}\IgnorePar }
     {\HCode{&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;}}
     {}
     {}
     {\ifnum\HCol=2 \IgnorePar
         \HCode{&lt;/mtd&gt;&lt;mtd&gt;}\fi }
     {}
  }{}
\Css{.equation-star td{text-align:center; }}
\Css{table.equation-star { width:100\%; }}
&gt;&gt;&gt;



\&lt;amsmath html-mltx pre 2000\&gt;&lt;&lt;&lt;
\Configure{equation}
  {\ifvmode \IgnorePar\fi \EndP
   \HCode{&lt;table class="equation"&gt;&lt;tr&gt;&lt;td&gt;}%
   |&lt;amsmath equation pre 2000|&gt;%
   \IgnorePar
  }
  {\ifvmode \IgnorePar\fi\EndP \HCode{&lt;/td&gt;&lt;td class="eq-no"&gt;}}
  {\ifvmode \IgnorePar\fi\EndP \HCode{&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;}%
   \IgnoreIndent\par}
\Configure{equation*}
  {\ifvmode \IgnorePar\fi \EndP
   \HCode{&lt;table class="equation-star"&gt;&lt;tr&gt;&lt;td&gt;}%
   |&lt;amsmath equation pre 2000|&gt;%
   \IgnorePar
  }
  {\ifvmode \IgnorePar\fi\EndP \HCode{&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;}%
   \IgnoreIndent\par}
&gt;&gt;&gt;


\&lt;amsmath html-mltx jan 2000\&gt;&lt;&lt;&lt;
\Configure{equation}
  {\ifvmode \IgnorePar\fi \EndP
   \HCode{&lt;table class="EQUATION"&gt;&lt;tr&gt;&lt;td&gt;}%
   |&lt;amsmath equation jan 2000|&gt;%
   \IgnorePar
  }
  {\ifvmode \IgnorePar\fi\EndP 
   \HCode{&lt;/td&gt;&lt;td class="eq-no"&gt;}%
  }
  {\ifvmode \IgnorePar\fi\EndP
   \HCode{&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;}%
   \IgnoreIndent\par}
\Configure{equation*}
  {\ifvmode \IgnorePar\fi \EndP
   \HCode{&lt;table class="EQUATION"&gt;&lt;tr&gt;&lt;td&gt;}%
   |&lt;amsmath equation jan 2000|&gt;%
   \IgnorePar
  }
  {\ifvmode \IgnorePar\fi\EndP
   \HCode{&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;}%
   \IgnoreIndent\par}
&gt;&gt;&gt;


\&lt;amsmath html-mltx july 2000\&gt;&lt;&lt;&lt;
\Configure{equation}
  {\ifvmode \IgnorePar\fi\EndP
   \HCode{&lt;table class="equation"&gt;&lt;tr&gt;&lt;td&gt;}%
   |&lt;amsmath equation july 2000|&gt;%
   |&lt;math display in amsmath equation|&gt;%
  }
  {\ifvmode \IgnorePar\fi\EndP
   \HCode{&lt;/td&gt;&lt;td class="eq-no"&gt;}%
   }
  {\ifvmode \IgnorePar\fi\EndP \HCode{&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;}%
   \ShowPar\IgnoreIndent\par}
\Configure{equation*}
  {\ifvmode \IgnorePar\fi\EndP
   \HCode{&lt;table class="equation-star"&gt;&lt;tr&gt;&lt;td&gt;}%
   |&lt;amsmath equation july 2000|&gt;%
   |&lt;math display in amsmath equation|&gt;%
  }
  {\ifvmode \IgnorePar\fi\EndP \HCode{&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;}%
   \ShowPar\IgnoreIndent\par}
&gt;&gt;&gt;


   
\&lt;math display in amsmath equation\&gt;&lt;&lt;&lt;
\csname a:equation\string$\string$\endcsname
&gt;&gt;&gt;

\&lt;configure html-mltx amsmath\&gt;&lt;&lt;&lt;
\Configure{equation$$}
  {\Configure{$$}
   {\IgnorePar \Configure{@math}{div}\EndP\DviMath
    \HCode{\string\begin{equation}}}
   {\HCode{\string\end{equation}}\EndDviMath\EndP}
   {\DisplayMathtrue}%
  }
&gt;&gt;&gt;


\&lt;amsmath equation jan 2000\&gt;&lt;&lt;&lt;
|&lt;amsmath equation july 2000|&gt;%
&gt;&gt;&gt;







\&lt;amsmath equation july 2000\&gt;&lt;&lt;&lt;
\Configure{gather}
     {}
     {}
     {}
     {}
     {}
     {}%
&gt;&gt;&gt;

\&lt;amsmath equation pre 2000\&gt;&lt;&lt;&lt;
\Configure{$$}{}{}{}%
\Configure{gather}
  {\Configure{$$}
    {\Configure{@math}{\mml:class="equation"}\IgnorePar\EndP\DviMath}
    {\EndDviMath\EndP}%
    {}%
   \IgnorePar
  }{}{}{}{}{}
&gt;&gt;&gt;









%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Mathltx}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%
\section{?????}
%%%%%%%%%%%%%%%%%



\&lt;configure mathltx Preamble\&gt;&lt;&lt;&lt;
\ifx \a:mathltx\:UnDef
   \NewConfigure{mathltx}{1}
   \Configure{mathltx}{}
\fi 
\def\mml:class{class}
&gt;&gt;&gt;


\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
|&lt;nolimit functions|&gt;
|&lt;limit functions|&gt;
&gt;&gt;&gt;


\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\let\A:displaylines|=\a:displaylines
\let\B:displaylines|=\b:displaylines
\let\C:displaylines|=\c:displaylines
\let\D:displaylines|=\d:displaylines
\Configure{displaylines}
   {\ifmmode
     \def\A:displaylines{\HCode{&lt;mtable 
                                   \mml:class="displaylines"&gt;}}%
     \def\B:displaylines{\HCode{&lt;/mtable&gt;}}%  
     \def\C:displaylines{\HCode{&lt;mtr\Hnewline
                              \mml:class="displaylines"&gt;&lt;mtd&gt;}}%
     \def\D:displaylines{\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}}%  
    \fi 
    \A:displaylines} 
   {\B:displaylines} {\C:displaylines}{\D:displaylines}
&gt;&gt;&gt;



\&lt;mathltx m:env\&gt;&lt;&lt;&lt;
\def\m:env#1{\HCode{&lt;mtable
  \mml:class="#1"&gt;&lt;mtr&gt;&lt;mtd&gt;}%
   \def\endm:env{\HCode
      {&lt;/mtd&gt;&lt;/mtr&gt;&lt;/mtable&gt;}}}
&gt;&gt;&gt;


\&lt;amstex.tex mathltx\&gt;&lt;&lt;&lt;
\Configure{pmatrix}
   {\bgroup\m:env{pmatrix}}
   {\endm:env\egroup}
\Configure{multline}
   {\HCode{&lt;mtable\mml:class="multline"&gt;}}           {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline\mml:class="multline"&gt;&lt;mtd&gt;}}{\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}}
\Configure{smallmatrix}
   {\HCode{&lt;mtable\mml:class="smallmatrix"&gt;}}  
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline\mml:class="smallmatrix"&gt;}} 
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline\mml:class="smallmatrix"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\Configure{bmatrix}
   {\bgroup\m:env{bmatrix}}
   {\endm:env\egroup}
\Configure{vmatrix}{\bgroup\m:env{vmatrix}}{\endm:env\egroup}
\Configure{Vmatrix}{\bgroup\m:env{Vmatrix}}{\endm:env\egroup}
\Configure{aligned}
   {\HCode{&lt;mtable\mml:class="aligned"&gt;}} 
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline\mml:class="aligned"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline\mml:class="aligned"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\Configure{xalignat}
   {\HCode{&lt;mtable\mml:class="xalignat"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline \mml:class="xalignat"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline  \mml:class="xalignat"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\Configure{xxalignat}
   {\HCode{&lt;mtable  \mml:class="xxalignat"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline  \mml:class="xxalignat"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline  \mml:class="xxalignat"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\Configure{alignedat}
   {\HCode{&lt;mtable \mml:class="alignedat"&gt;}} 
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline  \mml:class="alignedat"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline \mml:class="alignedat"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\Configure{gathered}
   {\HCode{&lt;mtable \mml:class="gathered"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline \mml:class="gathered"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline \mml:class="gathered"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;


\&lt;mathltx\&gt;&lt;&lt;&lt;
% mathltx.4ht (|version), generated from |jobname.tex
% Copyright 2009-2014 TeX Users Group
% Copyright |CopyYear.2005. Eitan M. Gurari
|&lt;TeX4ht copywrite|&gt;
&gt;&gt;&gt;

\&lt;html-mltx\&gt;&lt;&lt;&lt;
% html-mltx.4ht (|version), generated from |jobname.tex
% Copyright 2009-2016 TeX Users Group
% Copyright |CopyYear.2005. Eitan M. Gurari
|&lt;TeX4ht copywrite|&gt;
&gt;&gt;&gt;

\&lt;configure mathltx tex4ht\&gt;&lt;&lt;&lt;
|&lt;tex compiler mathltx|&gt;
|&lt;sub, sup, subsup|&gt;            
|&lt;limits sub, sup, subsup|&gt;     
&gt;&gt;&gt;










\&lt;html4 font decorations\&gt;&lt;&lt;&lt;
\Configure{htf}{0}{+}{&lt;span\Hnewline
   class="}{\%s}{-\%s}{x-x-\%d}{}{"&gt;}{&lt;/span&gt;}%
\Configure{htf}{1}{+}{&lt;img\Hnewline
   src="}{" alt="}{" class="}{\%s}{-\%d}{x-x-\%x}{"\xml:empty&gt;}%
\Configure{htf}{3}{+}{&lt;img\Hnewline                                
   src="}{" alt="}{" class="\%s-}{\%s}{-\%d}{x-x-\%x}%
   {" style="text-align:middle;"\xml:empty&gt;}%
\Configure{htf}{4}{+}{&lt;small\Hnewline
   class="}{}{}{}{}{small-caps"&gt;}{&lt;/small&gt;}%
\Configure{htf}{6}{+}{&lt;u\Hnewline
   class="}{}{}{}{}{underline"&gt;}{&lt;/u&gt;}%
\Configure{htf}{8}{+}
   {&lt;sup class="htf"&gt;&lt;strong&gt;}{}{}{}{}{}{&lt;/strong&gt;&lt;/sup&gt;}%
\Configure{htf}{10}{+}
   {&lt;span class="htf-cmbx"&gt;}{}{}{}{}{}{&lt;/span&gt;}%
\Configure{htf}{12}{+}
   {&lt;span\Hnewline class="htf-calligraphy"&gt;}{}{}{}{}{}{&lt;/span&gt;}%
&gt;&gt;&gt;

\&lt;no html4 font decorations\&gt;&lt;&lt;&lt;
\Configure{htf}{0}{+}{}{}{}{}{}{}{}%
\Configure{htf}{1}{+}{}{}{}{}{}{}{}%
\Configure{htf}{3}{+}{}{}{}{}{}{}{}%
\Configure{htf}{4}{+}{}{}{}{}{}{}{}%
\Configure{htf}{6}{+}{}{}{}{}{}{}{}%
\Configure{htf}{8}{+}{}{}{}{}{}{}{}%
\Configure{htf}{10}{+}{}{}{}{}{}{}{}%
\Configure{htf}{12}{+}{}{}{}{}{}{}{}%
&gt;&gt;&gt;





\&lt;configure mathltx tex4ht\&gt;&lt;&lt;&lt;
\def\mml:htfsym{\Configure
   {htf}{254}{+}{&lt;mglyph\Hnewline fontfamily="}{\%s"}{ 
   index="\%s"}{ mathsize="\%d\%\%"}{}{ alt="}{"/&gt;}}
\def\ext:htfsym{\Configure{htf}{254}{+}{}{}{}{}{}{}{}}
&gt;&gt;&gt;


\&lt;configure mathltx-mml tex4ht\&gt;&lt;&lt;&lt;
\append:def\mml:htfsym{|&lt;no html4 font decorations|&gt;}
\append:def\ext:htfsym{|&lt;html4 font decorations|&gt;}
&gt;&gt;&gt;


We reserve code 254 (and 255) for unknown symbols.



  \&lt;configure mathltx latex\&gt;&lt;&lt;&lt;
\:CheckOption{core}\if:Option \expandafter\endinput \fi
|&lt;mathltx latex|&gt;
|&lt;plain,latex mathltx|&gt;
&gt;&gt;&gt;

\&lt;configure mathltx fontmath\&gt;&lt;&lt;&lt;
|&lt;mathltx plain,fontmath|&gt;
&gt;&gt;&gt;

\&lt;configure mathltx plain\&gt;&lt;&lt;&lt;
\:CheckOption{core}\if:Option \expandafter\endinput \fi
|&lt;mathltx plain|&gt;
|&lt;mathltx plain,fontmath|&gt;
|&lt;plain,latex mathltx|&gt;
&gt;&gt;&gt;

\&lt;mathltx plain,fontmath\&gt;&lt;&lt;&lt;
|&lt;rlbabel everypar|&gt;
|&lt;plain,fontmath math classes|&gt;
&gt;&gt;&gt;

\&lt;configure mathltx amsmath\&gt;&lt;&lt;&lt;
|&lt;arr amsmath, amstex1|&gt;
|&lt;amsmath mathltx|&gt;
|&lt;amsmath symbols|&gt;
&gt;&gt;&gt;

\&lt;configure mathltx amsmath\&gt;&lt;&lt;&lt;
\Configure{intertext}
    {\IgnorePar \ifinalign@   
        \HCode{&lt;/mtd&gt;&lt;/mtr&gt;&lt;\a:mathltx
                        mtr&gt;&lt;mtd columnspan="\HCol"
                                            \mml:class="intertext"&gt;}%
     \else \ifingather@
        \HCode{&lt;mtr&gt;&lt;mtd columnspan="\HCol"
                                            \mml:class="intertext"&gt;}%
     \fi\fi
     \AA:text{intertext}%
    }
    {\BB:text \ifvmode \IgnorePar \fi \EndP\ifinalign@ 
        \HCode{&lt;/mtd&gt;&lt;/mtr&gt;&lt;\a:mathltx
                                           mtr&gt;&lt;mtd&gt;}%
     \else \ifingather@
         \HCode{&lt;/mtd&gt;&lt;/mtr&gt;}%
     \fi\fi
    }
&gt;&gt;&gt;



\&lt;configure mathltx amsmath\&gt;&lt;&lt;&lt;
\Configure{maketag}
  {\ifmathltx 
     \ifmtext \expandafter\expandafter\expandafter\no:maketag\fi
   \else \expandafter\no:maketag\fi
   \AA:text{maketag}\hbox\bgroup\:gobbleIII :@:}
  {\egroup\BB:text }
\def\no:maketag#1:@:#2\b:maketag{\hbox{#2}}
&gt;&gt;&gt;


\&lt;configure mathltx amstext\&gt;&lt;&lt;&lt;
\Configure{text}{\AA:text{text}}{\BB:text}
&gt;&gt;&gt;


\&lt;amsmath symbols\&gt;&lt;&lt;&lt;
\def\:tempc{\DOTSI\protect\:idotsint}
\HLet\idotsint|=\:tempc
\def\:idotsint{%
  \mathop{\intop\cdotp\cdotp\cdotp\intop }\ilimits@
}
&gt;&gt;&gt;

\&lt;configure mathltx amsopn\&gt;&lt;&lt;&lt;
|&lt;amsopn / amstex.sty mathltx|&gt;
&gt;&gt;&gt;

\&lt;configure mathltx amstex1\&gt;&lt;&lt;&lt;
% amstex.sty
|&lt;arr amsmath, amstex1|&gt;
|&lt;amstex.sty mathltx|&gt;
|&lt;amsopn / amstex.sty mathltx|&gt;
  &gt;&gt;&gt;

\&lt;configure mathltx amstex\&gt;&lt;&lt;&lt;
% amstex.tex
|&lt;mathltx m:env|&gt;
|&lt;amstex.tex mathltx|&gt;
&gt;&gt;&gt;

  \&lt;configure mathltx vanilla\&gt;&lt;&lt;&lt;
      |&lt;vanilla mathltx|&gt;
  &gt;&gt;&gt;

     \&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\let\mathltx:on|=\relax
\Configure{ }
   {\ifmathltx \ifmtext \space \else\HCode{\string\ }\fi
    \else \:nbsp\fi} 
&gt;&gt;&gt;


\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\Configure{hspace}
  {\ifmathltx\ifmtext\else 
   \HCode{\string\l:brace\the\tmp:dim\r:brace}\fi\fi}{}{ }
&gt;&gt;&gt;




\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\Configure{romannumeral}
   {\ifmathltx\ifmtext\else \HCode{&lt;mrow  \mml:class="romannumeral"&gt;}\fi\fi}
   {\ifmathltx\ifmtext\else \HCode{&lt;/mrow&gt;}\fi\fi}
&gt;&gt;&gt;

\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\Configure{romannumeral}
   {\ifmtext\else
      \HCode{&lt;\ifmathltx mrow \else span \fi \mml:class="romannumeral"&gt;}\fi
   }
   {\ifmtext\else \HCode{&lt;/\ifmathltx mrow\else span\fi&gt;}\fi }
&gt;&gt;&gt;


\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\Configure{hspace}
  {\ifmathltx \ifmtext \else 
   \HCode{\string\l:brace\the\tmp:dim\r:brace}\fi\fi}
  {}{\ifmathltx  \else \:nbsp\fi}
&gt;&gt;&gt;


  \&lt;configure html-mltx plain\&gt;&lt;&lt;&lt;
|&lt;plain,latex html-mltx|&gt;
&gt;&gt;&gt;


\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
|&lt;plain,latex html-mltx|&gt;
&gt;&gt;&gt;

\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\def\:tempc#1{\HCode{\string\widehat\l:brace}#1\HCode{\r:brace}}
\HLet\widehat=\:tempc
\def\:tempc#1{\HCode{\string\widetilde\l:brace}#1\HCode{\r:brace}}
\HLet\widetilde=\:tempc
&gt;&gt;&gt;

\&lt;plain,latex html-mltx\&gt;&lt;&lt;&lt;
\:CheckOption{new-accents}     \if:Option \else
   \ifx \mathltx:on\:UnDef
      \Configure{accents}
        {\ifmmode \expandafter\mathord\fi
         {|&lt;temp hcode accents|&gt;%
         \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}}
        {\ifmmode 
             \Tg&lt;mrow
                \mml:class="accent#1"&gt;\mathord{#3}\Tg&lt;/mrow&gt;%
          \else \HCode{&lt;span class="accent#1"&gt;}#3\HCode{&lt;/span&gt;}%
          \fi
        }%
   \fi
\fi
&gt;&gt;&gt;



     \&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\:CheckOption{new-accents}     \if:Option \else
   \ifx \mathltx:on\:UnDef
      \Configure{accents}
        {\ifmmode \expandafter\mathord\fi
         {|&lt;temp hcode accents|&gt;%
          \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}}
        {\Tg&lt;mrow
                \mml:class="accent#1"&gt;\mathord{#3}\Tg&lt;/mrow&gt;%
        }%
   \fi
\fi
&gt;&gt;&gt;







\&lt;temp hcode accents\&gt;&lt;&lt;&lt;
\leavevmode 
\if !#1!\ht:special{t4ht@+&amp;{35}x#2;}%
\else \expandafter \ifx\csname U#2#1\endcsname\relax
    \ht:special{t4ht@+&amp;{35}x#2;}%
\else
    \ht:special{t4ht@+&amp;{35}x\csname U#2#1\endcsname;}%
\fi \fi x%
&gt;&gt;&gt;


The special replaces the `x' character.


\&lt;configure mathltx Preamble\&gt;&lt;&lt;&lt;  
\Configure{PROLOG}{VERSION,DOCTYPE,*XML-STYLESHEET}
\:CheckOption{no-DOCTYPE} \if:Option
   \Configure{PROLOG}{VERSION,*XML-STYLESHEET}
\fi
&gt;&gt;&gt;


\&lt;mathltx dtd\&gt;&lt;&lt;&lt;
\Configure{DOCTYPE}{\HCode
  {&lt;!DOCTYPE html |&lt;xhtml+mathltx dtd|&gt;%
   &gt;\Hnewline
}}
&gt;&gt;&gt;
 

\&lt;xhtml+mathltx dtd\&gt;&lt;&lt;&lt;
PUBLIC
     "-//W3C//DTD XHTML 1.1 plus Mathltx 2.0//|&lt;dtd lang|&gt;"\Hnewline
     "http://www.w3.org/Math/DTD/mathltx2/xhtml-math11-f.dtd"
&gt;&gt;&gt;



\&lt;dtd lang\&gt;&lt;&lt;&lt;
\expandafter
\ifx \csname a:dtd-lang\endcsname\relax EN\else
  \csname a:dtd-lang\endcsname
\fi
&gt;&gt;&gt;


\&lt;xmlns\&gt;&lt;&lt;&lt;
xmlns="http://www.w3.org/1999/xhtml"
&gt;&gt;&gt;


\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\let\mml:TeX|=\TeX
\def\TeX{\ifmathltx 
   \HCode{&lt;mtext
      \mml:class="TeX"&gt;TeX&lt;/mtext&gt;}\else \mml:TeX\fi}
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{TeX Engine}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\&lt;sub, sup, subsup\&gt;&lt;&lt;&lt;
\Configure{SUB}
   {\Send{BACK}
     {\l:brace}\HCode{\r:brace\string_\l:brace}\trap:base}
   {\HCode{\r:brace}}
\Configure{SUP}
   {\Send{BACK}
      {\l:brace}\HCode{\r:brace\string^\l:brace}\trap:base}
   {\HCode{\r:brace}}
\Configure{SUBSUP}
   {\Send{BACK}
      {\l:brace}\HCode{\r:brace\string_\l:brace}\trap:base}
   {\HCode{\r:brace\string^\l:brace}\trap:base}
   {\HCode{\r:brace}}
\def\trap:base{{\HCode{}}}
&gt;&gt;&gt;

The \verb'\trap:base' is to catch empty bases of exponents like, e.g.,
in \verb'$a^{^b}$'.


\&lt;mathltx Link\&gt;&lt;&lt;&lt;
\LinkCommand\mtxt:link{mtext, xlink:href, id,,,}
\LinkCommand\msp:link{mstyle-3,%
   xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href,
   id, \mml:class="label",,}
\let\M:Link|=\Link
\def\Link{\ifmathltx
     \ifmtext |&lt;end mtext space|&gt;\HCode{\%\Hnewline\%\string\begin{ref}}%
              \bgroup \let\:newlnch\space
              \expandafter\expandafter\expandafter\mtxt:link
     \else    \expandafter\expandafter\expandafter\msp:link\fi
   \else \expandafter\M:Link\fi}
\let\M:EndLink|=\EndLink
\def\EndLink{\ifmathltx 
     \ifmtext    |&lt;end mtext space|&gt;%
        \egroup \HCode{\%\Hnewline\%}\Endmtxt:link
        \HCode{\string\end{ref}\Hnewline}|&lt;start mtext space|&gt;%
     \else  \HCode{&lt;/mstyle-5&gt;&lt;!--endlabel--&gt;}\fi
   \else \expandafter\M:EndLink\fi}
&gt;&gt;&gt;






\&lt;tex compiler mathltx\&gt;&lt;&lt;&lt;
\Configure{DviMath}
    {\HCode{&lt;!--l. \the\inputlineno--&gt;}%
     \a:DviMathltx \mathltxtrue
       \ifOption{mml-fonts}{}{|%\mml:htfsym|%\NoFonts}%
       \IgnoreRule \a:math
       |&lt;sv dvimath par|&gt;\HCode{&lt;![CDATA[}\IgnorePar}
    {\HCode{]]&gt;}\EndIgnoreRule
     \ifOption{mml-fonts}{}{|%\ext:htfsym|%\EndNoFonts}%
     \mathltxfalse \After:Math \b:DviMathltx
     |&lt;recall dvimath par|&gt;}
\NewConfigure{DviMathltx}{2}
&gt;&gt;&gt;


\&lt;tex compiler mathltx\&gt;&lt;&lt;&lt;
\def\After:Math{\After:EndMath
   \global\let\After:EndMath=\empty}
\let\After:EndMath=\empty
\def\AfterMath#1{\append:def\After:EndMath{#1}%
   \global\let\After:EndMath=\After:EndMath}
&gt;&gt;&gt;

\&lt;configure mathltx latex\&gt;&lt;&lt;&lt;
\let\m:Make:Label\Make:Label
\def\Make:Label#1#2{%
   \ifmathltx \edef\:temp{#1}%
              \expandafter\AfterMath\expandafter{\expandafter\Make:Label
                                                \expandafter{\:temp}{#2}}%
   \else      \m:Make:Label{#1}{#2}%
   \fi
}
&gt;&gt;&gt;



\&lt;tex compiler mathltx\&gt;&lt;&lt;&lt;
\newif\ifmathltx \mathltxfalse
\newif\ifmtext \mtextfalse
|&lt;mathltx Link|&gt;
\NewConfigure{math}{1}
\NewConfigure{@math}{1}
\def\IgnoreRule{\ht:special{t4ht@\string_}}
\def\EndIgnoreRule{\ht:special{t4ht@\string_\string_}}
\Configure{$$} 
   {\Configure{@math}{|&lt;block display|&gt;}\IgnorePar
    |&lt;inline end-par comment|&gt;\EndP\DviMath
    \HCode{\string $\string $}}
   {\HCode{\string $\string $}\EndDviMath
       \ShowPar\par{\csname HCondtrue\endcsname\noindent}}
   {\DisplayMathtrue}
\Configure{$}
   {\Configure{@math}{|&lt;inline display|&gt;}\DviMath
    \HCode{\string $}}
   {\HCode{\string $}\EndDviMath}{}

\newif\ifDisplayMath  \DisplayMathfalse
&gt;&gt;&gt;


\&lt;display math-\&gt;&lt;&lt;&lt;
\Configure{$$} 
   {\Configure{@math}{|&lt;block display|&gt;}\IgnorePar
    |&lt;inline end-par comment|&gt;\EndP\DviMath }
   {\EndDviMath\ShowPar\csname par\endcsname
     {\csname HCondtrue\endcsname\noindent}}
   {\DisplayMathtrue}%
&gt;&gt;&gt;




\&lt;tex compiler mathltx\&gt;&lt;&lt;&lt;
\Configure{radical}
  {\HCode{\string\sqrt}
   \special{t4ht\string~!e&lt;\string{}%
   \special{t4ht\string~!e&gt;\string}}%
   \special{t4ht\string~!ee/}%
   \special{t4ht\string~!ese-}%
  }
&gt;&gt;&gt;




\&lt;inline end-par comment\&gt;&lt;&lt;&lt;
\ifvmode\else \HCode{&lt;!--tex4ht:inline--&gt;}\fi
&gt;&gt;&gt;


\&lt;?\&gt;&lt;&lt;&lt;
\def\MathRow#1{%
   \Configure{\expandafter\:gobble\string#1*}{*}%
      {&lt;mrow\Hnewline 
         \mml:class="\expandafter\:gobble\string#1"&gt;}{&lt;/mrow&gt;}%
      {\Configure{\expandafter\:gobble\string#1}{}{}{}{}}#1}%
&gt;&gt;&gt;


\&lt;recall dvimath par\&gt;&lt;&lt;&lt;
\sv:ignore
&gt;&gt;&gt;

\&lt;sv dvimath par\&gt;&lt;&lt;&lt;
\edef\sv:ignore{\if:nopar  
    \noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
&gt;&gt;&gt;


The \verb'\MathRow' requests a \verb'&lt;mrow\Hnewline&gt;...&lt;/mrow&gt;', instead of the contributions
of \verb'\mathop', \verb'\mathrel',...., for the next parameter.


\&lt;tex compiler mathltx\&gt;&lt;&lt;&lt;
\def\:MT{\ifmathltx m\fi}
\Configure{halignTB}{\HCode{&lt;\:MT table }\halignTBL}{\HCode{&gt;}}
\Configure{halignTBL}
   {t}{\ifmathltx \HCode{ align="baseline 1" }\fi}
   {b}{\ifmathltx \HCode{ align="baseline -1" }\fi}
   {c}{\ifmathltx \HCode{ align="axis" }\fi}
   {}
\def\t:HA{\HCode{&lt;/\:MT table&gt;}}
\def\R:HA{\HCode{&lt;\:MT tr \Hnewline style="vertical-align:baseline;"&gt;}}
\def\r:HA{\HCode{&lt;/\:MT tr&gt;}}
\def\D:HA{\HCode{&lt;\:MT td \ifnum \HMultispan&gt;1 colspan="\HMultispan"\fi}%
   \halignTD \HCode{\Hnewline&gt;}}
\def\d:HA{\HCode{&lt;/\:MT td&gt;}}
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{latex.ltx}
%%%%%%%%%%%%%%%%%%%%%%%%

\&lt;configure mathltx latex\&gt;&lt;&lt;&lt;
\def\set:label#1{\ifmathltx
   \HCode{\%\Hnewline\%\string\begin{label}}%
     {\ht:special{t4ht@, }\let\:newlnch\space \mathltxfalse #1}%
   \HCode{\string\end{label}\Hnewline}%
  \else #1\fi
}
&gt;&gt;&gt;


\&lt;configure mathltx latexNO\&gt;&lt;&lt;&lt;
\HAssign\set:labelN=0
\def\set:label#1{\ifmmode
    \gHAdvance\set:labelN by 1
    \expandafter\gdef\csname sl:\set:labelN\endcsname
         {\set:label{#1}}%
    \expandafter\aftergroup\csname sl:\set:labelN\endcsname
  \else \gHAssign\set:labelN=0 #1\fi
}
&gt;&gt;&gt;


\&lt;start mtext space\&gt;&lt;&lt;&lt;
\ht:special{t4ht@,&amp;\#x00A0;}%
&gt;&gt;&gt;

\&lt;start mtext space\&gt;&lt;&lt;&lt;
\ht:special{t4ht@, }%
&gt;&gt;&gt;

\&lt;end mtext space\&gt;&lt;&lt;&lt;
\ht:special{t4ht@,}%
&gt;&gt;&gt;


\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\Configure{newline}
  {\ifmtext |&lt;end mtext space|&gt;\HCode{&lt;/mtext&gt;&lt;mtext\Hnewline
                                             \mml:class="newline"&gt;}%
            |&lt;start mtext space|&gt;%
   \else \Tg&lt;br\Hnewline class="newline" /&gt;\fi}
&gt;&gt;&gt;

\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\Configure{newline}
  {|&lt;end mtext space|&gt;\HCode{&lt;/mtext&gt;&lt;\a:mathltx
                         mtext\Hnewline \mml:class="newline"&gt;}|&lt;start mtext space|&gt;}
&gt;&gt;&gt;



\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\Configure{[]}
  {\Configure{@math}{|&lt;block display|&gt;}\csname a:mathltx[]\endcsname
   \DviMath\HCode{\string\[}$$\DisplayMathtrue }
  {$$\HCode{\string\]}\EndDviMath\csname b:mathltx[]\endcsname}
\Configure{()}
  {\Configure{@math}{|&lt;inline display|&gt;}\csname a:mathltx()\endcsname
   \DviMath\HCode{\string\(}$}
  {$\HCode{\string\)}\EndDviMath\csname b:mathltx()\endcsname}
\NewConfigure{mathltx[]}{2}
\NewConfigure{mathltx()}{2}
|&lt;config array|&gt;
&gt;&gt;&gt;

\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\Configure{mathltx[]}
  {\edef\MathPar{\ifvmode par-\fi}\IgnorePar\endgraf\EndP
    \HCode{&lt;div class="\MathPar math-display"&gt;}}
  {\HCode{&lt;/div&gt;}|&lt;try inline par|&gt;}
\Css{div.math-display, div.par-math-display{text-align:center;}}
&gt;&gt;&gt;




\&lt;configure mathltx rlbabel\&gt;&lt;&lt;&lt;
\Configure{[]}
  {\Configure{@math}{|&lt;block display|&gt;}\csname a:mathltx[]\endcsname
   \DviMath\Tg&lt;mrow\Hnewline&gt;$$\DisplayMathtrue }
  {$$\Tg&lt;/mrow&gt;\EndDviMath\csname b:mathltx[]\endcsname
   \if@rl\else\beginR\fi }
&gt;&gt;&gt;





\&lt;configure mathltx array\&gt;&lt;&lt;&lt;
|&lt;config array|&gt;
&gt;&gt;&gt;

\&lt;config array\&gt;&lt;&lt;&lt;
\Configure{halignTB&lt;&gt;}{array}{\HCode{\Hnewline
   equalrows="false"
   equalcolumns="false" class="array"}&lt;&gt;\HAlign}
\Configure{array} 
   {\expandafter\tmp:toks\expandafter{\Clr}%
    \HCode{\string\begin{array}{\the\tmp:toks}\Hnewline}}
   {\ifvmode \IgnorePar\fi \HCode{\string\end{array}}}
   {\ifnum \HRow&gt; 1\HCode{\string\\\Hnewline}\fi}
   {}
   {|&lt;mtd array|&gt;}
   {}
\ConfigureEnv{array}
   {\bgroup\Configure{$}{}{}{}} 
   {\egroup}
   {}{}
&gt;&gt;&gt;

\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\ConfigureEnv{array}
   {\PushStack\Col:Marg\AllColMargins
    \bgroup\Configure{$}{}{}{}} 
   {\egroup \PopStack\Col:Marg\AllColMargins}
   {}{}
&gt;&gt;&gt;

\&lt;configure html-mltx array\&gt;&lt;&lt;&lt;
\ConfigureEnv{array}
   {\PushStack\Col:Marg\AllColMargins
    \bgroup\Configure{$}{}{}{}} 
   {\egroup \PopStack\Col:Marg\AllColMargins}
   {}{}
&gt;&gt;&gt;


\&lt;mtd array\&gt;&lt;&lt;&lt;
\HCode{\ifnum \HCol&gt;1 \a:math:amp\fi 
  \ifnum 1&lt;\HMultispan 
     \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
&gt;&gt;&gt;

\&lt;mtd matrix\&gt;&lt;&lt;&lt;
\HCode{\ifnum \HCol&gt;1 \a:math:amp\fi 
  \ifnum 1&lt;\HMultispan 
     \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
&gt;&gt;&gt;

\&lt;configure mathltx tex4ht\&gt;&lt;&lt;&lt;
\NewConfigure{math:amp}{1}
\Configure{math:amp}{\string&amp;}
&gt;&gt;&gt;


\&lt;insert Clr\&gt;&lt;&lt;&lt;
\expandafter\tmp:toks\expandafter{\Clr}%
\HCode{&lt;!----&gt;}%
&gt;&gt;&gt;





\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\def\:MM{m}
\Configure{HBorder}
   {&lt;mtr\Hnewline \mml:class="hline"&gt;} 
   {|&lt;mml hline|&gt;}
   {&lt;/mtr&gt;}
   {&lt;mtr\Hnewline \mml:class="cline"&gt;}
   {&lt;mtd&gt;&lt;/mtd&gt;}
   {|&lt;mml hline|&gt;}
   {&lt;/mtr&gt;}
   {&lt;mtr\Hnewline \mml:class="vspace" style="font-size:\HBorderspace"&gt;}
   {&lt;mtd\Hnewline&gt;&lt;/mtd&gt;}
   {&lt;/mtr&gt;}
&gt;&gt;&gt;

\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\def\:MM{\ifmathltx m\fi}
\Configure{HBorder}
   {&lt;\:MM tr\Hnewline 
       \ifmathltx \expandafter\mml:class\else class\fi="hline"&gt;} 
   {\ifmathltx|&lt;mml hline|&gt;\else
            &lt;td&gt;&lt;hr\xml:empty&gt;&lt;/td&gt;\fi} 
   {&lt;/\:MM tr&gt;}
   {&lt;\:MM tr\Hnewline
       \ifmathltx \expandafter\mml:class\else class\fi ="cline"&gt;}
   {&lt;\:MM td&gt;&lt;/\:MM td&gt;}
   {\ifmathltx|&lt;mml hline|&gt;\else
            &lt;td&gt;&lt;hr\xml:empty&gt;&lt;/td&gt;\fi}
   {&lt;/\:MM tr&gt;}
   {&lt;\:MM tr\Hnewline
         \ifmathltx \expandafter\mml:class\else  class\fi="vspace"
         style="font-size:\HBorderspace"&gt;}
   {&lt;\:MM td\Hnewline&gt;\ifmathltx\else\string&amp;\#x00A0;\fi
      &lt;/\:MM td&gt;}
   {&lt;/\:MM tr&gt;}
\Configure{halign}
   {\EndP\halignTB{halign}}   \t:HA
   \R:HA\r:HA\D:HA\d:HA
&gt;&gt;&gt;



\&lt;mml hline\&gt;&lt;&lt;&lt;
&lt;mtd&gt;&lt;mo&gt; \string&amp;\#x0332; &lt;/mo&gt;&lt;/mtd&gt;
&gt;&gt;&gt;




\&lt;mathltx latex\&gt;&lt;&lt;&lt;
|&lt;mathltx fonts|&gt;
\let\A:fbox=\a:fbox
\let\B:fbox=\b:fbox
\let\OLDf:box=\fbox
\def\fbox{\relax\ifmmode
    \Configure{fbox}{\leavevmode\Configure{HtmlPar}{}{}{}{}\IgnoreRule
                     \AA:text{fbox}}{\BB:text\EndIgnoreRule}\else
    \Configure{fbox}{\leavevmode
                     \IgnoreRule\A:fbox}{\B:fbox\EndIgnoreRule}\fi
    \OLDf:box}
\let\A:mbox|=\a:mbox
\let\B:mbox|=\b:mbox
\let\OLD:mbox|=\mbox
\def\mbox{\relax\ifmmode \Configure{mbox}{\AA:text{mbox}}{\BB:text}\else
                   \Configure{mbox}{\A:mbox}{\B:mbox}\fi\OLD:mbox}
|&lt;mathltx text util|&gt;
&gt;&gt;&gt;


\&lt;mathltx text util\&gt;&lt;&lt;&lt;
\NewConfigure{@mtext}{1}
\Configure{@mtext}{\string\text}
\def\AA:text#1{|&lt;config start mtext|&gt;}
\def\BB:text{|&lt;config end mtext|&gt;}
&gt;&gt;&gt;


\&lt;config start mtext\&gt;&lt;&lt;&lt;
\mtexttrue
\HCode{\a:@mtext\l:brace}|&lt;start mtext space|&gt;\PauseMathClass
   |&lt;config math within mtext|&gt;%
&gt;&gt;&gt;


\&lt;config end mtext\&gt;&lt;&lt;&lt;
\mtextfalse\EndPauseMathClass|&lt;end mtext space|&gt;\HCode
     {\r:brace}%
&gt;&gt;&gt;

\&lt;config math within mtext\&gt;&lt;&lt;&lt;
\Configure{$}%
  {\EndPauseMathClass \mtextfalse
      |&lt;end mtext space|&gt;\HCode{\string$}}%
  {\HCode{\string$}|&lt;start mtext space|&gt;\PauseMathClass \mtexttrue}%
  {}%
&gt;&gt;&gt;





\&lt;amstex.tex mathltx\&gt;&lt;&lt;&lt;
|&lt;mathltx text util|&gt;
\Configure{text}{\AA:text{text}}{\BB:text}
\Configure{format}
   {\HCode{&lt;mtable \mml:class="format"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline \mml:class="format"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline \mml:class="format"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;



\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\Configure{above}
   {\Send{GROUP}{0}{\l:brace}%
     \HCode{\string\above\space \the\tmp:dim\space}\o:@@over:\:gobbleII}
   {\Send{EndGROUP}{0}{\r:brace}}
\def\overwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{&lt;mfrac-4 linethickness="0"&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:over:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/mrow&gt;&lt;/mfrac&gt;}
   \else
      \Send{GROUP}{0}{&lt;mfenced-1 separators=""\Hnewline
          open="|&lt;lr del 2|&gt;" close="|&lt;lr del 3|&gt;"&gt;&lt;mfrac-5
          linethickness="0"&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:@@over:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/\a:mathltx
                                    mrow&gt;&lt;/mfrac&gt;&lt;/mfenced&gt;}
   \fi
 }
&gt;&gt;&gt;


\&lt;configure mathltx tex4ht\&gt;&lt;&lt;&lt;
\Configure{over}
   {\Send{GROUP}{0}{\string\bgroup\space}}
   {\HCode{\string\over\space}\Send{EndGROUP}{0}{\string\egroup\space}}
\Configure{atop}
   {\Send{GROUP}{0}{\string\bgroup\space}}
   {\HCode{\string\atop\space}\Send{EndGROUP}{0}{\string\egroup\space}}
\Configure{above}
   {\Send{GROUP}{0}{&lt;mfrac-6 linethickness="\the\tmp:dim"&gt;&lt;mrow&gt;}%
    \HCode{&lt;/mrow&gt;}\o:over:\:gobbleII}
   {\HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/mrow&gt;&lt;/mfrac&gt;}}
&gt;&gt;&gt;

\&lt;configure mathltx tex4ht\&gt;&lt;&lt;&lt;
\Configure{abovewithdelims}
   {\abovewithdelims:III}
   {}
\def\abovewithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{&lt;mfrac-7 linethickness="\the\tmp:dim"&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:over:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/mrow&gt;&lt;/mfrac&gt;}
   \else
      \Send{GROUP}{0}{&lt;mfenced-2 separators=""\Hnewline
          open="|&lt;lr del 2|&gt;" close="|&lt;lr del 3|&gt;"&gt;&lt;mfrac-8
          linethickness="\the\tmp:dim"&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:over:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/
                                mrow&gt;&lt;/mfrac&gt;&lt;/mfenced&gt;}
   \fi  
   \tmp:dim
 }
\Configure{atopwithdelims}
   {\atopwithdelims:III}
   {}
\def\atopwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{&lt;mfrac-9 linethickness="0"&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:atop:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/mrow&gt;&lt;/mfrac&gt;}
   \else
      \Send{GROUP}{0}{&lt;mfenced-3 separators=""\Hnewline
          open="|&lt;lr del 2|&gt;" close="|&lt;lr del 3|&gt;"&gt;&lt;mfrac-10
          linethickness="0"&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:atop:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/\a:mathltx
                              mrow&gt;&lt;/mfrac&gt;&lt;/mfenced&gt;}
   \fi
 }
\Configure{overwithdelims}
   {\overwithdelims:III}
   {}
\def\overwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{&lt;mfrac11&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:over:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/mrow&gt;&lt;/mfrac&gt;}
   \else
      \Send{GROUP}{0}{&lt;mfenced-4 separators=""\Hnewline
          open="|&lt;lr del 2|&gt;" close="|&lt;lr del 3|&gt;"&gt;&lt;mfrac-12&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:over:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/
                               mrow&gt;&lt;/mfrac&gt;&lt;/mfenced&gt;}
   \fi
 }
&gt;&gt;&gt;



\&lt;configure mathltx amsmath\&gt;&lt;&lt;&lt;
\Configure{abovewithdelims}
   {\abovewithdelims:III}
   {}
\def\abovewithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{&lt;mfra-13 linethickness="\the\tmp:dim"&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:@@over:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/mrow&gt;&lt;/mfrac&gt;}
   \else
      \Send{GROUP}{0}{\l:brace}%
      \HCode{\string\abovewithdelims
          |&lt;lr del 2|&gt;|&lt;lr del 3|&gt;\the\tmp:dim\space}\o:@@over:
      \Send{EndGROUP}{0}{\r:brace}%
   \fi  
   \tmp:dim
 }
\Configure{atopwithdelims}
   {\atopwithdelims:III}
   {}
\def\atopwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{&lt;mfrac-14 linethickness="0"&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:@@atop:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/mrow&gt;&lt;/mfrac&gt;}
   \else
      \Send{GROUP}{0}{&lt;mfenced-6 separators=""\Hnewline
          open="|&lt;lr del 2|&gt;" close="|&lt;lr del 3|&gt;"&gt;&lt;mfrac-1
          linethickness="0"&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:@@atop:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/\a:mathltx
                               mrow&gt;&lt;/mfrac&gt;&lt;/mfenced&gt;}
   \fi
 }
\Configure{overwithdelims}
   {\overwithdelims:III}
   {}
\def\overwithdelims:III#1#2#3{%
   \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
      \Send{GROUP}{0}{&lt;mfrac-2&gt;&lt;mrow&gt;}%
      \HCode{&lt;/mrow&gt;}\o:@@over:
      \HCode{&lt;mrow&gt;}\Send{EndGROUP}{0}{&lt;/mrow&gt;&lt;/mfrac&gt;}
   \else
      \Send{GROUP}{0}{\l:brace}%
      \HCode{\string\overwithdelims
          |&lt;lr del 2|&gt;|&lt;lr del 3|&gt;}\o:@@over:
      \Send{EndGROUP}{0}{\r:brace}%
   \fi
 }
&gt;&gt;&gt;



\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\Configure{frac}
   {\HCode{\string\frac\l:brace}}
   {\HCode{\r:brace}\Configure{over}{}{}}
   {\HCode{\l:brace}}
   {\HCode{\r:brace}}
&gt;&gt;&gt;



\&lt;configure html-mltx amsmath\&gt;&lt;&lt;&lt;
\ifx \mathdisplay@@pop\:UnDef
   \ifx \emdf@La\:UnDef
      |&lt;amsmath html-mltx pre 2000|&gt;
   \else
      |&lt;amsmath html-mltx jan 2000|&gt;
   \fi
\else
   |&lt;amsmath html-mltx july 2000|&gt;
\fi
&gt;&gt;&gt;



\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\Configure{tmspace}
   {\HCode{\string\tmspace{\textspace}}}
&gt;&gt;&gt;





\&lt;try inline par\&gt;&lt;&lt;&lt;
\ShowPar\par{\HCondtrue\noindent}%
&gt;&gt;&gt;




\&lt;mathltx fonts\&gt;&lt;&lt;&lt;
\Configure{texttt}
   {\ifmathltx \Configure{@mtext}{\string\texttt}\fi}
   {}%
\Configure{textit}
   {\ifmathltx \Configure{@mtext}{\string\textit}\fi}
   {}%
\Configure{textrm}
   {\ifmathltx \Configure{@mtext}{\string\textrm}\fi}
   {}%
\Configure{textup}
   {\ifmathltx \Configure{@mtext}{\string\textup}\fi}
   {}%
\Configure{textsl}
   {\ifmathltx \Configure{@mtext}{\string\textsl}\fi}
   {}%
\Configure{textsf}
   {\ifmathltx \Configure{@mtext}{\string\textsf}\fi}
   {}%
\Configure{textbf}
   {\ifmathltx \Configure{@mtext}{\string\textbf}\fi}
   {}%
\Configure{textsc}
   {\ifmathltx \Configure{@mtext}{\string\textsc}\fi}
   {}%
\Configure{emph}
   {\ifmathltx \Configure{@mtext}{\string\emph}\fi}
   {}%
&gt;&gt;&gt;




\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\:CheckOption{fonts} \if:Option
\Configure{texttt}
     {\ifmathltx \Configure{@mtext}{\mml:class="texttt" mathvariant="monospace" }%
      \else     \HCode{&lt;span class="texttt"&gt;}\fi}
     {\ifmathltx \else \HCode{&lt;/span&gt;}\fi}
  \Configure{textit}
     {\ifmathltx \Configure{@mtext}{\mml:class="textit" mathvariant="italic" }%
      \else     \HCode{&lt;span class="textit"&gt;}\fi}
     {\ifmathltx\else \HCode{&lt;/span&gt;}\fi}
  \Configure{textrm}
     {\ifmathltx \Configure{@mtext}{ \mml:class="textrm" mathvariant="normal" }%
      \else     \HCode{&lt;span class="textrm"&gt;}\fi}
     {\ifmathltx\else \HCode{&lt;/span&gt;}\fi}
  \Configure{textup}
     {\ifmathltx \Configure{@mtext}{ \mml:class="textup" mathvariant="normal" }%
      \else     \HCode{&lt;span class="textup"&gt;}\fi}
     {\ifmathltx\else \HCode{&lt;/span&gt;}\fi}
  \Configure{textsl}
     {\ifmathltx \Configure{@mtext}{ \mml:class="textst" mathvariant="italic" }%
      \else     \HCode{&lt;span class="textsl"&gt;}\fi}
     {\ifmathltx\else \HCode{&lt;/span&gt;}\fi}
  \Configure{textsf}
     {\ifmathltx \Configure{@mtext}{ \mml:class="textsf" mathvariant="sans-serif" }%
      \else     \HCode{&lt;span class="textsf"&gt;}\fi}
     {\ifmathltx\else \HCode{&lt;/span&gt;}\fi}
  \Configure{textbf}
     {\ifmathltx \Configure{@mtext}{ \mml:class="textbf" mathvariant="bold" }%
      \else     \HCode{&lt;span class="textbf"&gt;}\fi}
     {\ifmathltx\else \HCode{&lt;/span&gt;}\fi}
  \Configure{textsc}
     {\ifmathltx \Configure{@mtext}{ \mml:class="textsc" mathvariant="normal" }%
      \else     \HCode{&lt;span class="textsc"&gt;}\fi}
     {\ifmathltx\else \HCode{&lt;/span&gt;}\fi}
  \Configure{emph}
     {\ifmathltx \Configure{@mtext}{ \mml:class="emph" mathvariant="italic" }%
      \else     \HCode{&lt;span class="emph"&gt;}\fi}
     {\ifmathltx\else \HCode{&lt;/span&gt;}\fi}
\fi
&gt;&gt;&gt;

The \verb+\bgroup...\egroup+ is to handle cases like
\verb+\nathbf{a}^x+.



\&lt;configure mathltx fontmath\&gt;&lt;&lt;&lt;
\def\bold:version{bold}
\Configure{mathbf}%
  {\bgroup \HCode{\string\mathbf\l:brace}}%
  {\HCode{\r:brace}\egroup }%
\Configure{mathit}%
  {\bgroup \HCode{\string\mathit\l:brace}}% 
  {\HCode{\r:brace}\egroup }%
\Configure{mathrm}%
  {\bgroup \HCode{\string\mathrm\l:brace}}% 
  {\HCode{\r:brace}\egroup }%
\Configure{mathsf}%
  {\bgroup \HCode{\string\mathsf\l:brace}}% 
  {\HCode{\r:brace}\egroup }%
\Configure{mathtt}%
  {\bgroup \HCode{\string\mathtt\l:brace}}% 
  {\HCode{\r:brace}\egroup }%
&gt;&gt;&gt;

\&lt;configure mathltx amsfonts\&gt;&lt;&lt;&lt;  
\Configure{mathbb}{}{}
\Configure{mathfrak}{}{}
&gt;&gt;&gt;



Used to be

\begin{verbatim}
   \Configure{mathrm}{\Tg&lt;mi \mml:class="mathrm"&gt;\PauseMathClass}%
                     {\EndPauseMathClass\Tg&lt;/mi&gt;}%
   \Configure{mathbf}{\Tg&lt;mi \mml:class="mathbf"
                             mathvariant="bold"&gt;\PauseMathClass}%
                     {\EndPauseMathClass\Tg&lt;/mi&gt;}%
\end{verbatim}


\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\Css{math .texttt { font-family: monospace; }}
\Css{math .textit { font-style: italic; }}
\Css{math .textsl { font-style: oblique; }}
\Css{math .textsf { font-family: sans-serif; }}
\Css{math .textbf { font-weight: bold; }}
&gt;&gt;&gt;





\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\Configure{'}
   {\let\:primes=\empty}
   {\def\:tempa{\prime\prime}\ifx \:tempa\:primes
              \HCode{''}\else
      \def\:tempa{\prime\prime\prime}\ifx \:tempa\:primes
              \HCode{'''}\else
              \HCode{\:primes}\fi\fi
   }
   {\xdef\:primes{\:primes'}}
&gt;&gt;&gt;

LaTeX places the primes within superscript, and mathltx seems to follow
suit (maybe because of the use of latex fonts in mozilla). However,
unicode maps already seem to assume raised representation for the
primes.

%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{plain.sty}
%%%%%%%%%%%%%%%%%%%%%%%%%%




\&lt;mathltx plain\&gt;&lt;&lt;&lt;
 \Configure{eqalign}
   {\HCode{&lt;mtable \mml:class="eqalign"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr \Hnewline \mml:class="eqalign"&gt;}}
   {\IgnorePar\HCode{&lt;/mtr&gt;}}
   {\HCode{\ifnum \HCol=3 &lt;mtd\Hnewline
       \mml:class="eqalign3"&gt;&lt;/mtd&gt;\fi
       &lt;mtd \Hnewline  \mml:class="eqalign\HCol"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Palin + LaTeX}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The default \verb'\left' and \verb'\right' in their default definition
with tex produce multi-part delimiters, from cmex, on large
subformulas. Hence, the `'.' below is needed.

\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\def\left#1{\bgroup \a:left{#1}\b:left{#1}}  
\def\right#1{\a:right{#1}\b:right{#1}\egroup}  
\Configure{left}
   {}
   {\HCode{\string\left\space}#1\bgroup}
\Configure{right}
   {\egroup\HCode{\string\right\space}#1}
   {}
\def\{{{\HCode{\back:slash\l:brace}}}
\def\}{{\HCode{\back:slash\r:brace}}}
\let\lbrace\{
\let\rbrace\}
\def\def:DEL#1{\def\:DEL{#1}}
\def\check:DEL#1#2{\def\:tempa{#1}\ifx \:tempa\:DEL \def\:DEL{#2}\fi}
\NewConfigure{mfenced}[2]{\append:defI\def:DEL{\check:DEL{#1}{#2}}}
|&lt;/bigl, /bigr,... for mathltx|&gt;
\:CheckOption{new-accents}     \if:Option \else
   |&lt;config mathltx accents|&gt;
\fi
\def\mathinner#1{\HCode{\string\mathinner\l:brace}#1\HCode{\r:brace}}
&gt;&gt;&gt;


\&lt;configure mathltx etex4ht\&gt;&lt;&lt;&lt;
\def\:tempc#1{\a:middle\mathrel{\left:right#1\:EMPTY}\b:middle} 
\HLet\middle=\:tempc 
\NewConfigure{middle}{2}
\Configure{middle} 
   {\bgroup 
        \Configure{mathrel}{*} 
          {&lt;mo \mml:class="MathClass-rel" 
                     fence="true" stretchy="true" &gt;} 
          {&lt;/mo&gt;} 
        {\Configure{mathrel}{}{}{}{}}% 
        } 
        {\egroup} 
&gt;&gt;&gt;


The \verb+\root ...\of {...}+  creates the following structure.

\begin{verbatim}
PUSH
   ...root value...
POP
PUSH
   PUSH
      PUSH
         ...root sign characters with PUSH-POP...
      POP
      PUSH
         RIGHT4:   15213546
         DOWN3:    -1553322
         PUT_RULE: height: 26213
                   length: 1197667
         DOWN3:    1553322
         PUSH
            ...root content...
         POP
      POP
   POP
POP
\end{verbatim}



\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\Configure{root}{\rev:root}{}{}
\def\rev:root #1\b:root#2\c:root{%
   \HCode{\string\root\l:brace}{#1}%
             {\HCode{\r:brace\string \of\l:brace}#2}\HCode{\r:brace}}
\def\AccentMath#1{\relax\ifmmode #1\else $#1$\fi}
&gt;&gt;&gt;


\&lt;lr del 2\&gt;&lt;&lt;&lt;
\expandafter
\ifx \csname \string#2:lr del\endcsname\relax #2\else 
     \csname \string#2:lr del\endcsname\fi
&gt;&gt;&gt;


\&lt;lr del 3\&gt;&lt;&lt;&lt;
\expandafter
\ifx \csname \string#3:lr del\endcsname\relax #3\else 
     \csname \string#3:lr del\endcsname\fi
&gt;&gt;&gt;


\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\NewConfigure{mfenced}[2]{\expandafter
   \def\csname \string#1:lr del\endcsname{#2}}
|&lt;plain,latex mfenced|&gt;
&gt;&gt;&gt;

\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\Configure{mfenced}{\lvert}{\string\lvert} |%vertical line|%
\Configure{mfenced}{\rvert}{\string\rvert} |%double vertical line|%
\Configure{mfenced}{\lVert}{\string\lVert}
\Configure{mfenced}{\rVert}{\string\rVert}
&gt;&gt;&gt;

\&lt;amstex.sty mathltx\&gt;&lt;&lt;&lt;
\Configure{mfenced}{\lvert}{\string\lvert}
\Configure{mfenced}{\rvert}{\string\rvert}
\Configure{mfenced}{\lVert}{\string\lVert}
\Configure{mfenced}{\rVert}{\string\rVert}
&gt;&gt;&gt;





\&lt;plain,latex mfenced\&gt;&lt;&lt;&lt;
\Configure{mfenced}{\||}{\string&amp;\#x2225;}
\Configure{mfenced}{.}{}
\Configure{mfenced}{\langle}{\string&amp;\#x27E8;} |%lang|%
\Configure{mfenced}{\rangle}{\string&amp;\#x27E9;} |%rang|%
\Configure{mfenced}{\vert}{||}
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string\{}}\:temp
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string\}}}\:temp
\edef\:temp{\noexpand
   \Configure{mfenced}{\noexpand\lbrace}{\string\lbrace}}\:temp
\edef\:temp{\noexpand
   \Configure{mfenced}{\noexpand\rbrace}{\string\rbrace}}\:temp
\Configure{mfenced}{&lt;}{\string&amp;\#x003C;} |%lt|%
\Configure{mfenced}{&gt;}{\string&amp;\#x003E;} |%gt|%
\Configure{mfenced}{\lceil}{\string&amp;\#x2308;} 
\Configure{mfenced}{\rceil}{\string&amp;\#x2309;} 
\Configure{mfenced}{\lfloor}{\string&amp;\#x230A;} 
\Configure{mfenced}{\rfloor}{\string&amp;\#x230B;} 
\Configure{mfenced}{\Vert}{\string&amp;\#x2225;}
\Configure{mfenced}{\rgroup}{)}
\Configure{mfenced}{\lgroup}{(}
\Configure{mfenced}{\bracevert}{||}
\Configure{mfenced}{\bracevert}{||}
\Configure{mfenced}{\downarrow}{\string&amp;\#x2193;}
\Configure{mfenced}{\uparrow}{\string&amp;\#x2191;}
\Configure{mfenced}{\Uparrow}{\string&amp;\#x21D1;}
\Configure{mfenced}{\updownarrow}{\string&amp;\#x2195;}
\Configure{mfenced}{\Updownarrow}{\string&amp;\#x21D5;}
\Configure{mfenced}{\Downarrow}{\string&amp;\#x21D3;}
\Configure{mfenced}{\backslash}{\string&amp;\#x2216;}
\Configure{mfenced}{\rmoustache}{\string&amp;\#x25DD;}
\Configure{mfenced}{\lmoustache}{\string&amp;\#x25DC;}
\Configure{mfenced}{\Arrowvert}{\string&amp;\#x2225;}
\Configure{mfenced}{\arrowvert}{\string&amp;\#x007C;}
&gt;&gt;&gt;

%    \def\:tempa{\{}\ifx \:tempa\:DEL  \let\:DEL\lbrc: \else
%    \def\:tempa{\}}\ifx \:tempa\:DEL  \let\:DEL\rbrc: \else
%    \def\:tempa{&lt;}\ifx \:tempa\:DEL  \def\:DEL{\string&amp;lt;}\else
%    \def\:tempa{&gt;}\ifx \:tempa\:DEL  \def\:DEL{\string&amp;gt;}%
%    \fi\fi\fi\fi }
% \edef\lbrc:{\string{}     \edef\rbrc:{\string}}

% \HCode{\string&amp;#2#1;}%

%%%%%%%%%%%%%%%%%%%%%
\subsection{Amsmath}
%%%%%%%%%%%%%%%%%%%%%


\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\edef\:tempc{\hskip -\noexpand\arraycolsep       
  \let\noexpand\@ifnextchar\noexpand\new@ifnextchar                         
  \noexpand\array{*{\the\c@MaxMatrixCols}c}} 
\HLet\env@matrix\:tempc
&gt;&gt;&gt;


\&lt;configure html-mltx amsmath\&gt;&lt;&lt;&lt;
\Configure{@begin}
  {split}
  {\let\tagform@=\:gobble }
&gt;&gt;&gt;


\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\Configure{split}
   {\HCode{\string\begin\l:brace split\r:brace}}
   {\ifvmode\IgnorePar\fi 
    \HCode{\string\end \l:brace split\r:brace}}
   {\ifnum \HRow&gt; 1\HCode{\string\\\Hnewline}\fi}  {}
   {|&lt;mtd array|&gt;}  {}
&gt;&gt;&gt;

\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\ConfigureEnv{multline}
   {\bgroup |&lt;display math-|&gt;} {\egroup}
   {}{}
\Configure{multline}
   {\HCode{\string\begin\l:brace multline\r:brace}}
   {\HCode{\string\end \l:brace multline\r:brace}}
   {\ifnum \HRow&gt; 1\HCode{\string\\\Hnewline}\fi}  {}
   {|&lt;mtd array|&gt;}  {}
\ConfigureEnv{multline*}
   {\bgroup |&lt;display math-|&gt;} {\egroup}
   {}{}
\Configure{multline*}
   {\HCode{\string\begin\l:brace multline*\r:brace}}
   {\HCode{\string\end \l:brace multline*\r:brace}}
   {\ifnum \HRow&gt; 1\HCode{\string\\\Hnewline}\fi}
   {}
&gt;&gt;&gt;


\marginpar{?math delimiters not removed for gather*?}


\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\ConfigureEnv{gather}
   {\bgroup |&lt;display math-|&gt;} {\egroup}
   {}{}
\Configure{gather}
   {\HCode{\string\begin\l:brace gather\r:brace}}
   {\HCode{\string\end \l:brace gather\r:brace}}
   {\ifnum \HRow&gt; 1\HCode{\string\\\Hnewline}\fi}  {}
   {|&lt;mtd array|&gt;}  {}
\ConfigureEnv{gather*}
   {\bgroup |&lt;display math-|&gt;} {\egroup}
   {}{}
\Configure{gather*}
   {\HCode{\string\begin\l:brace gather*\r:brace}}
   {\HCode{\string\end \l:brace gather*\r:brace}}
   {\ifnum \HRow&gt; 1\HCode{\string\\\Hnewline}\fi}  {}
   {|&lt;mtd array|&gt;}  {}
&gt;&gt;&gt;

\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\Configure{subarray}
   {\HCode{\string\begin\l:brace subarray\r:brace
                        \l:brace \Hlcr\r:brace}}
   {\HCode{\string\end \l:brace subarray\r:brace}}
   {\ifnum \HRow&gt; 1\HCode{\string\\\Hnewline}\fi}  {}
\Configure{smallmatrix}
   {\HCode{\string\begin\l:brace smallmatrix\r:brace}}
   {\HCode{\string\end \l:brace smallmatrix\r:brace}}
   {\ifnum \HRow&gt; 1\HCode{\string\\\Hnewline}\fi}  {}
   {|&lt;mtd array|&gt;}  {}
&gt;&gt;&gt;

\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\def\:tempc#1#2{%
   \ConfigureEnv{#1}
     {\def\end:al:env{}\ifmmode\else 
       \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}\fi\fi}
     {\end:al:env }
     {}{}%
   \Configure{#1}
   {\IgnorePar
    \ifvmode \EndP  \else \EndP  \HCode{&lt;!--tex4ht:inline--&gt;}\fi    
    \ifmathltx
       \Tg&lt;mrow&gt;\def\end:mathalign{\Tg&lt;/mrow&gt;}%
    \else
       \Configure{@math}{|&lt;block display|&gt;}\DviMath
       \def\end:mathalign{\EndDviMath \DisplayMathfalse}%
       \DisplayMathtrue
    \fi
    \HCode{\string\begin\l:brace #2\r:brace}}
   {\HCode{\string\end \l:brace #2\r:brace}\end:mathalign }
   {\ifnum \HRow&gt; 1\HCode{\string\\\Hnewline}\fi}  {}
   {|&lt;mtd array|&gt;}
   {\HCode{|&lt;extra align col sep|&gt;}}}
\:tempc{align}{align}
\:tempc{alignat}{alignat}
\:tempc{xalignat}{xalignat}
\:tempc{xxalignat}{xxalignat}
\:tempc{flalign}{flalign}
\:tempc{align*}{align*}
\:tempc{alignat*}{alignat*}
\:tempc{xalignat*}{xalignat*}
\:tempc{flalign*}{flalign*}
&gt;&gt;&gt;


\&lt;configure html-mltx amsmath\&gt;&lt;&lt;&lt;
\Css{mtd.align-odd{margin-left:2em;   text-align:right;}}
\Css{mtd.align-even{margin-right:2em; text-align:left;}}
&gt;&gt;&gt;

\&lt;extra align col sep\&gt;&lt;&lt;&lt;
\ifodd\HCol\space\else \string\hspace\l:brace2em\r:brace\fi
&gt;&gt;&gt;

\&lt;rightward align col\&gt;&lt;&lt;&lt;
\ifodd\HCol  columnalign="right" \fi
&gt;&gt;&gt;

Setting \verb+#1+ below within mrow is problematic in the sense that
arrows don't stretch over multi-characters content \verb+#2+.
A \verb+accent="true"+ move the arrow lower, but also distribute the
characters further apart.

\&lt;under arrow\&gt;&lt;&lt;&lt;
\Tg&lt;munder&gt;%
\Tg&lt;mrow\Hnewline&gt;#2\Tg&lt;/mrow&gt;%
#1%
\Tg&lt;/munder&gt;%
&gt;&gt;&gt;

\&lt;over arrow\&gt;&lt;&lt;&lt;
\Tg&lt;mover class="overarrow"&gt;%
\Tg&lt;mrow\Hnewline&gt;{#2#3}\Tg&lt;/mrow&gt;%
#1%
\Tg&lt;/mover-4&gt;%
&gt;&gt;&gt;




% \Tg&lt;mrow\Hnewline&gt;#1\Tg&lt;/mrow&gt;%
% \Tg&lt;mrow&gt;#1\Tg&lt;/mrow&gt;%


\&lt;arr amsmath, amstex1\&gt;&lt;&lt;&lt;
\Configure{underarrow@}
   {\Tg&lt;munder&gt;\Tg&lt;mrow\Hnewline&gt;}
   {\Tg&lt;/mrow&gt;\Tg&lt;mrow\Hnewline&gt;}
   {\Tg&lt;/mrow&gt;\Tg&lt;/munder&gt;}
\Configure{overarrow@}
   {\Tg&lt;mover accent="true"&gt;\Tg&lt;mrow\Hnewline&gt;}
   {\Tg&lt;/mrow&gt;\Tg&lt;mrow&gt;}
   {\Tg&lt;/mrow&gt;\Tg&lt;/mover-5&gt;}
\def\:tempc#1#2#3{\a:overarrow@
      \hbox{$\m@th#2#3$}\b:overarrow@
      \hbox{#1#2}\c:overarrow@
   }
\HLet\overarrow@\:tempc
&gt;&gt;&gt;





\&lt;configure mathltx amstex1\&gt;&lt;&lt;&lt;
\ifx \o:overrightarrow:\:UnDef\else     
   \HRestore\overrightarrow
   \HRestore\overleftarrow
   \HRestore\overleftrightarrow
\fi
&gt;&gt;&gt;



\&lt;mathltx plain,fontmath\&gt;&lt;&lt;&lt;
\Configure{overrightarrow}
  {\HCode{\string\overrightarrow\l:brace}\:gobble}
  {\HCode{\r:brace}}
\Configure{overleftarrow}
  {\HCode{\string\overleftarrow\l:brace}\:gobble}
  {\HCode{\r:brace}}
&gt;&gt;&gt;


\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\Configure{underrightarrow}
  {\HCode{\string\underrightarrow\l:brace}\:gobble}
  {\HCode{\r:brace}}
\Configure{underleftarrow}
  {\HCode{\string\underleftarrow\l:brace}\:gobble}
  {\HCode{\r:brace}}
&gt;&gt;&gt;


\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
\Configure{overleftrightarrow}
  {\HCode{\string\overleftrightarrow\l:brace}\:gobble}
  {\HCode{\r:brace}}
\Configure{underleftrightarrow}
  {\HCode{\string\underleftrightarrow\l:brace}\:gobble}
  {\HCode{\r:brace}}
&gt;&gt;&gt;





\&lt;amsmath mathltx\&gt;&lt;&lt;&lt;
|&lt;mathltx m:env|&gt;
\renewcommand{\xrightarrow}[2][]{%
   \HCode{\string\xrightarrow[}#1\HCode{]\l:brace}%
                               #2\HCode{\r:brace}}
\renewcommand{\xleftarrow}[2][]{%
   \HCode{\string\xleftarrow[}#1\HCode{]\l:brace}%
                               #2\HCode{\r:brace}}

\def\overset#1#2{{%
   \HCode{\string\overset\l:brace}#1\HCode{\r:brace\l:brace}%
                           #2\HCode{\r:brace}}}
\def\underset#1#2{{%
   \HCode{\string\underset\l:brace}#1\HCode{\r:brace\l:brace}%
                           #2\HCode{\r:brace}}}

\def\sideset#1#2#3{{\HCode{\string\sideset\l:brace}%
                    {\HCode{}}#1\HCode{\r:brace\l:brace}%
                      {\HCode{}}#2\HCode{\r:brace}%
                      {{\HCode{}}#3}%
                  }}

\renewcommand{\hdotsfor}[1]{%
  \ifx[#1\@xp\shdots@for\else\hdots@for\@ne{#1}\fi}
\def\shdots@for#1]{\hdots@for{#1}}
\def\hdots@for#1#2{\multicolumn{#2}c%
  {\m@th\dotsspace@1.5mu\mkern-#1\dotsspace@
   \xleaders\hbox{$\m@th\mkern#1\dotsspace@.\mkern#1\dotsspace@$}%
           \hfill
   \mkern-#1\dotsspace@}%
   }
\ConfigureEnv{eqxample}{}{}{}{}
\ConfigureEnv{gather*}{}{}{}{}
\ConfigureEnv{gathered}{}{}{}{}
\ConfigureEnv{matrix}{}{}{}{}
&gt;&gt;&gt;

 The \verb'\HCode{}' in \verb'\sideset' is for catching superscripts and subscripts





\&lt;amsmath symbols\&gt;&lt;&lt;&lt;
\def\:tempc{\HCode{\string\mod\space}}
\HLet\bmod\:tempc
\def\:tempc#1{\HCode{\string\pod\l:brace}#1\HCode{\r:brace}}
\HLet\pod=\:tempc
\def\:tempc#1{\HCode{\string\pmod\l:brace}#1\HCode{\r:brace}}
\HLet\pmod=\:tempc
\def\:tempc#1{\HCode{\string\mod\l:brace}#1\HCode{\r:brace}}
\HLet\mod=\:tempc
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%%%
\subsection{amsopn}
%%%%%%%%%%%%%%%%%%%%


\&lt;amsopn / amstex.sty mathltx\&gt;&lt;&lt;&lt;
\def\varinjlim{{\underrightarrow\lim}}
\def\varprojlim{{\underleftarrow\lim}}
\def\varlimsup{{\overline\lim}}
\def\varliminf{{\underline\lim}}
\def\:tempc#1#2#3{\hbox{{\mtexttrue
   \HCode{&lt;mrow\Hnewline
       \mml:class="text"&gt;&lt;mtext 
              \a:@mtext&gt;}|&lt;start mtext space|&gt;\PauseMathClass
   \Configure{$}{\EndPauseMathClass\mtextfalse
      |&lt;end mtext space|&gt;\HCode{&lt;/mtext&gt;&lt;\a:mathltx
              mrow\Hnewline \mml:class="math"&gt;}}
        {|&lt;start mtext space|&gt;\HCode{&lt;/mrow&gt;&lt;mtext
           \a:@mtext&gt;}\mtexttrue\PauseMathClass}{#1}
   \let\f@size#2\selectfont #3}%
   \mtextfalse \EndPauseMathClass |&lt;end mtext space|&gt;\HCode
      {&lt;/mtext&gt;&lt;/mrow&gt;}}}
\HLet\textdef@\:tempc
&gt;&gt;&gt;


The original definitions for the following macros contain small spaces
\verb+\,+ in the names, and the spaces imply improper mathltx outcome
of the form \verb+&lt;mo&gt;...&lt;mspace.../&gt;...&lt;/mo&gt;+.


\&lt;configure mathltx amsopn\&gt;&lt;&lt;&lt;
\def\:tempc{\qopname\relax m{lim inf}}
\HLet\liminf=\:tempc
\def\:tempc{\qopname\relax m{lim sup}}
\HLet\limsup=\:tempc
\def\:tempc{\qopname\relax m{proj lim}} 
\HLet\projlim=\:tempc
\def\:tempc{\qopname\relax m{inj lim}}
\HLet\injlim=\:tempc
&gt;&gt;&gt;





Why originally the accents are defined within a group? (knuth answer
this in the texbook.)

\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\let\A:oalign|=\a:oalign
\let\B:oalign|=\b:oalign
\Configure{oalign}
   {\ifmmode \Configure{$}{\Tg&lt;mrow\Hnewline&gt;}{\Tg&lt;/mrow&gt;}{}%
             \let\halign|=\TeXhalign
             \Tg&lt;mrow\Hnewline \mml:class="oalign"&gt;\else\A:oalign
    \fi}
   {\ifmmode \Tg&lt;/mrow&gt;\else\B:oalign\fi}
&gt;&gt;&gt;


\&lt;configure mathltx amsopn\&gt;&lt;&lt;&lt;
\Configure{qopname}
   {\Configure{mathop}{*}
      {\string\mathop\l:brace}
      {\r:brace}
      {}}
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%
\section{Eqnarray}
%%%%%%%%%%%%%%%%%%%%

\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\Configure{eqnarray}
   {\HCode{\string\begin{eqnarray\ifx 
       \@seqncr\@eqncr\else *\fi}}}
   {\HCode{\string\end{eqnarray\ifx
       \@seqncr\@eqncr\else *\fi}}}
   {}
   {\HCode{\string\\\Hnewline}}
   {\ifnum \HCol&gt;1 
      \ifnum \HCol=4       
        \HCode{\%}%
        |&lt;start mtext space|&gt;\PauseMathClass 
        \mtexttrue
      \fi \HCode{\a:math:amp}%
    \fi}
   {\ifnum \HCol=4 \mtextfalse 
      \EndPauseMathClass |&lt;end mtext space|&gt;\fi }
&gt;&gt;&gt;




\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
|&lt;config multicolumn|&gt;
&gt;&gt;&gt;


\&lt;configure html-mltx array\&gt;&lt;&lt;&lt;
|&lt;config multicolumn|&gt;
&gt;&gt;&gt;


\&lt;config multicolumn\&gt;&lt;&lt;&lt;
\Configure{multicolumn}
   {\let\sv:VBorder\VBorder
    \let\VBorder\empty
    \Configure{VBorder}{}{}{}{}%
   }
   {\let\VBorder\sv:VBorder}
   {\ifmmode \HCode{\l:brace}%
       {|&lt;attributes of mml multicolumn|&gt;\HColAlign}%
       \HCode{\r:brace\l:brace}\else
       \ifvmode\IgnorePar\fi
       \HCode{&lt;div class="multicolumn" }\HColAlign\HCode{&gt;}\fi }
   {\ifmmode  \HCode{\r:brace}\else
    \ifvmode\IgnorePar\fi \EndP\HCode{&lt;/div&gt;}\fi }
\def\gob:sp#1{#1}
&gt;&gt;&gt;


\&lt;attributes of mml multicolumn\&gt;&lt;&lt;&lt;
\Configure{halignTD} {}{}
   {&lt;}{\HCode{l}}
   {-}{\HCode{c}}
   {&gt;}{\HCode{r}}
   {p}{\HCode{l}}
   {}%
&gt;&gt;&gt;


\&lt;configure html-mltx tex4ht\&gt;&lt;&lt;&lt;
\Configure{halignTD} {}{}
   {&lt;}{\ifmathltx \HCode{ columnalign="left-0"}\else
        \HCode{ style="text-align:left; white-space:nowrap;"}\fi}
   {-}{\ifmathltx \HCode{ columnalign="center"}\else
        \HCode{ style="text-align:center; white-space:nowrap;"}\fi}
   {&gt;}{\ifmathltx \HCode{ columnalign="right"}\else
        \HCode{ style="text-align:right; white-space:nowrap;"}\fi}
   {^}{\ifmathltx \HCode{ rowalign="top"}\else
        \HCode{ style="vertical-align:top; white-space:nowrap;"}\fi}
   {=}{\ifmathltx \HCode{ rowalign="baseline"}\else
        \HCode{ style="vertical-align:baseline; white-space:nowrap;"}\fi}
   {||}{\ifmathltx \HCode{ rowalign="center"}\else
        \HCode{ style="vertical-align:middle; white-space:nowrap;"}\fi}
   {_}{\ifmathltx \HCode{ rowalign="bottom"}\else
        \HCode{ style="vertical-align:bottom; white-space:nowrap;"}\fi}
   {p}{\ifmathltx \HCode{ columnalign="left-1"}\else
        \HCode{ style="text-align:left;"}\fi}
   {}
&gt;&gt;&gt;




\&lt;configure mathltx tex4ht\&gt;&lt;&lt;&lt;
\Configure{halignTD} {}{}
   {&lt;}{\HCode{ columnalign="left-3"}}
   {-}{\HCode{ columnalign="center"}}
   {&gt;}{\HCode{ columnalign="right"}}
   {^}{\HCode{ rowalign="top"}}
   {=}{\HCode{ rowalign="baseline"}}
   {||}{\HCode{ rowalign="center"}}
   {_}{\HCode{ rowalign="bottom"}}
   {p}{\HCode{ columnalign="left-4"}}
   {}
&gt;&gt;&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Big, BIG, ....}
%%%%%%%%%%%%%%%%%%%%%%%%%


\&lt;/bigl, /bigr,... for mathltx\&gt;&lt;&lt;&lt;
\def\:tempc#1{\HCode{\l:brace\string\bigl\space\string#1}}
\HLet\bigl=\:tempc
\def\:tempc#1{\HCode{\string\bigm\space\string#1}}
\HLet\bigm=\:tempc
\def\:tempc#1{\HCode{\string\bigr\space\string #1\r:brace}}
\HLet\bigr=\:tempc
\def\:tempc#1{\HCode{\l:brace\string\Bigl\space\string#1}} 
\HLet\Bigl=\:tempc
\def\:tempc#1{\HCode{\string\Bigm\space\string#1}} 
\HLet\Bigm=\:tempc
\def\:tempc#1{\HCode{\string\Bigr\space\string #1\r:brace}}
\HLet\Bigr=\:tempc
\def\:tempc#1{\HCode{\l:brace\string\biggl\space\string#1}}
\HLet\biggl=\:tempc
\def\:tempc#1{\HCode{\string\biggm\space\string#1}}
\HLet\biggm=\:tempc
\def\:tempc#1{\HCode{\string\biggr\space\string #1\r:brace}}
\HLet\biggr=\:tempc
\def\:tempc#1{\HCode{\l:brace\string\Biggl\space\string#1}}
\HLet\Biggl=\:tempc
\def\:tempc#1{\HCode{\string\Biggm\space\string#1}}
\HLet\Biggm=\:tempc
\def\:tempc#1{\HCode{\string\Biggr\space\string #1\r:brace}}
\HLet\Biggr=\:tempc
&gt;&gt;&gt;



\&lt;mathltx plain,fontmath\&gt;&lt;&lt;&lt;
\def\:tempc#1{{\HCode{\string\big\string{}\string#1\HCode{\string}}}}
\HLet\big=\:tempc
\def\:tempc#1{{\HCode{\string\Big\string{}\string#1\HCode{\string}}}}
\HLet\Big=\:tempc
\def\:tempc#1{{\HCode{\string\bigg\string{}\string#1\HCode{\string}}}}
\HLet\bigg=\:tempc
\def\:tempc#1{{\HCode{\string\Bigg\string{}\string #1\HCode{\string}}}}
\HLet\Bigg=\:tempc
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%%%%%%%%
\section{stackrel}
%%%%%%%%%%%%%%%%%%%%%%%%%

\&lt;mathltx latex\&gt;&lt;&lt;&lt;
\def\:temp#1#2{{\a:stackrel{#1}\b:stackrel {#2}\c:stackrel}}   
\HLet\stackrel|=\:temp
\:CheckOption{stackrel-}     \if:Option
   \Configure{stackrel}
      {\mathrel\bgroup \HCode{&lt;mglyph\Hnewline
          alt="\string\stackrel}\afterassignment\put:arg\tmp:toks}
      {\afterassignment\put:arg\tmp:toks}
      {\HCode{" /&gt;}\egroup}
   \def\put:arg{\HCode{{\the\tmp:toks}}}
\else
   \Configure{stackrel}
     {\HCode{\string\stackrel\l:brace}}%
     {\HCode{\r:brace\l:brace}|&lt;mathop nested within stackrel|&gt;\mathop}
     {\HCode{\r:brace}}
\fi
&gt;&gt;&gt;

\&lt;mathop nested within stackrel\&gt;&lt;&lt;&lt;
\Configure{mathop*}{*}
         {\string\mathop\l:brace}
         {\r:brace}
         {\Configure{mathop}{}{}{}{}}%
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{fontmath.ltx}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\&lt;configure mathltx Preamble\&gt;&lt;&lt;&lt;  
\bgroup
  \catcode`\{=12  \catcode`\}=12
  \catcode`\[=1   \catcode`\]=2
  \catcode`\/=0   \catcode`\\=12
  /gdef/l:brace[{]
  /gdef/r:brace[}]
  /gdef/back:slash[\]
/egroup
&gt;&gt;&gt; 

\&lt;mathltx plain,fontmath\&gt;&lt;&lt;&lt;
\Configure{overbrace}
   {\Configure{mathop*}{*}
         {\string\overbrace\l:brace}
         {\r:brace}
         {\Configure{mathop}{}{}{}{}}%
   }
   {\let\o:overbrace:=\displaystyle}
   {}
\Configure{underbrace}
   {\Configure{mathop*}{*}
         {\string\underbrace\l:brace}
         {\r:brace}
         {\Configure{mathop}{}{}{}{}}%
   }
   {\let\o:underbrace:=\displaystyle}
   {}
&gt;&gt;&gt;


\&lt;mathltx plain,fontmath\&gt;&lt;&lt;&lt;
% \Configure{MathClass}{0}{*}{&lt;mi\Hnewline&gt;}{&lt;/mi&gt;}{}
 \Configure{MathClass}{1}{*}{\string\mathop\l:brace}{\r:brace}{}
% \Configure{MathClass}{2}{*}{&lt;mo\Hnewline
%             \mml:class="MathClass-bin"&gt;}{&lt;/mo&gt;}{}
% \Configure{MathClass}{3}{*}{&lt;mo\Hnewline
%             \mml:class="MathClass-rel"&gt;}{&lt;/mo&gt;}{}
\:CheckOption{mathltx-}     \if:Option 
   \Configure{MathClass}{4}{*}{}{}{}
   \Configure{MathClass}{5}{*}{}{}{}
\else
   \Log:Note{for sources failing to produce
       clean mathltx code, try the command line option `mathltx-'}%
\fi

%\Configure{MathClass}{6}{*}{&lt;mo\Hnewline
%             \mml:class="MathClass-punc"&gt;}{&lt;/mo&gt;}{}
% \Configure{MathClass}{7}{*}{&lt;mn&gt;}{&lt;/mn&gt;}
%                           {0123456789}      
\Configure{FormulaClass}{0}{}{}{}
\Configure{FormulaClass}{1}{}{}{}
\Configure{FormulaClass}{2}{}{}{}
\Configure{FormulaClass}{3}{}{}{}
\Configure{FormulaClass}{4}{}{}{}
\Configure{FormulaClass}{5}{}{}{}
\Configure{FormulaClass}{6}{}{}{}
&gt;&gt;&gt;


\&lt;configure mathltx fontmathNO\&gt;&lt;&lt;&lt;
\def\:tempa#1{%
   \def\:temp{\HCode{\string\firstOfOne}\,\HCode{\string#1\space}}%
   \HLet#1\:temp }
\:tempa\bigcap
\:tempa\bigcirc
\:tempa\bigcup
\:tempa\bigodot
\:tempa\bigoplus
\:tempa\bigotimes
\:tempa\bigsqcup
\:tempa\bigtriangledown
\:tempa\bigtriangleup
\:tempa\biguplus
\:tempa\bigvee
\:tempa\bigwedge
\:tempa\coprod
\:tempa\int
\:tempa\intop
\:tempa\ointop
\:tempa\prod
\:tempa\sum
&gt;&gt;&gt;





\&lt;configure mathltx fontmathNO\&gt;&lt;&lt;&lt;
\def\:tempa#1{%
   \def\:temp{\HCode{\string#1\space}}%
   \HLet#1\:temp }
\:tempa\Delta
\:tempa\Gamma
\:tempa\Im
\:tempa\Lambda
\:tempa\Leftarrow
\:tempa\Leftrightarrow
\:tempa\Omega
\:tempa\Phi
\:tempa\Pi
\:tempa\Psi
\:tempa\Re
\:tempa\Rightarrow
\:tempa\Sigma
\:tempa\Theta
\:tempa\Upsilon
\:tempa\Xi
\:tempa\aleph
\:tempa\alpha
\:tempa\amalg
\:tempa\angle
\:tempa\approx
\:tempa\ast
\:tempa\asymp
\:tempa\beta
\:tempa\bot
\:tempa\bullet
\:tempa\cap
\:tempa\cdot
\:tempa\chi
\:tempa\circ
\:tempa\clubsuit
\:tempa\coprod
\:tempa\cup
\:tempa\dagger
\:tempa\dashv
\:tempa\ddagger
\:tempa\delta
\:tempa\diamond
\:tempa\diamondsuit
\:tempa\div
\:tempa\ell
\:tempa\emptyset
\:tempa\epsilon
\:tempa\equiv
\:tempa\eta
\:tempa\exists
\:tempa\flat
\:tempa\forall
\:tempa\frown
\:tempa\gamma
\:tempa\ge
\:tempa\geq
\:tempa\gg
\:tempa\hbar
\:tempa\heartsuit
\:tempa\imath
\:tempa\in
\:tempa\infty
\:tempa\intop
\:tempa\iota
\:tempa\jmath
\:tempa\kappa
\:tempa\lambda
\:tempa\land
\:tempa\le
\:tempa\leftarrow
\:tempa\leftharpoondown
\:tempa\leftharpoonup
\:tempa\leftrightarrow
\:tempa\leq
\:tempa\ll
\:tempa\lnot
\:tempa\lor
\:tempa\mapstochar
\:tempa\mid
\:tempa\mp
\:tempa\mu
\:tempa\nabla
\:tempa\natural
\:tempa\ne
\:tempa\nearrow
\:tempa\neg
\:tempa\neq
\:tempa\ni
\:tempa\not
\:tempa\nu
\:tempa\nwarrow
\:tempa\odot
\:tempa\oint
\:tempa\ointop
\:tempa\omega
\:tempa\ominus
\:tempa\oplus
\:tempa\oslash
\:tempa\otimes
\:tempa\parallel
\:tempa\partial
\:tempa\perp
\:tempa\phi
\:tempa\pi
\:tempa\pm
\:tempa\prec
\:tempa\preceq
\:tempa\prime
\:tempa\prod
\:tempa\propto
\:tempa\psi
\:tempa\rho
\:tempa\rightarrow
\:tempa\rightharpoondown
\:tempa\rightharpoonup
\:tempa\searrow
\:tempa\setminus
\:tempa\sharp
\:tempa\sigma
\:tempa\sim
\:tempa\sim
\:tempa\simeq
\:tempa\simeq
\:tempa\smallint
\:tempa\smile
\:tempa\spadesuit
\:tempa\sqcap
\:tempa\sqcup
\:tempa\sqsubseteq
\:tempa\sqsupseteq
\:tempa\star
\:tempa\subset
\:tempa\subseteq
\:tempa\succ
\:tempa\succeq
\:tempa\sum
\:tempa\supset
\:tempa\supseteq
\:tempa\surd
\:tempa\swarrow
\:tempa\tau
\:tempa\theta
\:tempa\times
\:tempa\top
\:tempa\triangle
\:tempa\triangleleft
\:tempa\triangleright
\:tempa\uplus
\:tempa\upsilon
\:tempa\varbigtriangledown
\:tempa\varbigtriangleup
\:tempa\varepsilon
\:tempa\varphi
\:tempa\varpi
\:tempa\varrho
\:tempa\varsigma
\:tempa\vartheta
\:tempa\vdash
\:tempa\vee
\:tempa\wedge
\:tempa\wp
\:tempa\wr
\:tempa\xi
\:tempa\zeta
&gt;&gt;&gt;




\&lt;configure mathltx amsmath\&gt;&lt;&lt;&lt;
\def\:temp{\HCode{\string\firstOfOne}\,\HCode{\string\int
                                              \string\int\space}} 
\HLet\iint\:temp 
\def\:temp{\HCode{\string\firstOfOne}\,\HCode{\string\int
                                              \string\int\string\int\space}} 
\HLet\iiint\:temp 
\def\:temp{\HCode{\string\Rightarrow }}
\HLet\implies\:temp
\def\:temp{\HCode{\string\Leftarrow }}
\HLet\impliedby\:temp
&gt;&gt;&gt;





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Limits of Sub- snd Super- Scripts}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Outline}
%%%%%%%%%%%%%%%%%%%%%%%%%


\&lt;limits sub, sup, subsup\&gt;&lt;&lt;&lt;
\Configure{nolimits}{\HCode{\string\nolimits\space}}
\Configure{limits}
   {\let|&lt;restore SUB|&gt;=\:UnDef
    \let|&lt;restore SUP|&gt;=\:UnDef
    \ifx \:temp\sp |&lt;conf limits SUP|&gt;\else
    \ifx \:temp\sb |&lt;conf limits SUB|&gt;\fi\fi
    |&lt;conf limits SUBSUP|&gt;%
   }  
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Simultaneously Sub- and Super- Scripts}
%%%%%%%%%%%%%%%%%%%%%%%%%


\&lt;conf limits SUBSUP\&gt;&lt;&lt;&lt;
|&lt;save pre-limits SUBSUP|&gt;%
\Configure{SUBSUP}
   {\ifx |&lt;restore SUB|&gt;\:UnDef\else  |&lt;restore SUB|&gt;\fi
    \ifx |&lt;restore SUP|&gt;\:UnDef\else  |&lt;restore SUP|&gt;\fi
    |&lt;restore pre-limits SUBSUP|&gt;%
    \Send{BACK}{\l:brace}\HCode{\r:brace
                            \string_\l:brace}\trap:base
   }
   {\HCode{\r:brace\string^\l:brace}\trap:base}
   {\HCode{\r:brace}}
&gt;&gt;&gt;


\&lt;save pre-limits SUBSUP\&gt;&lt;&lt;&lt;
\let\pl:SUBSUP=\SUBSUP:
&gt;&gt;&gt;

\&lt;restore pre-limits SUBSUP\&gt;&lt;&lt;&lt;
\ifx \pl:SUBSUP\:UnDef \else
   \let\SUBSUP:=\pl:SUBSUP
\fi
&gt;&gt;&gt;

\&lt;limits sub, sup, subsup\&gt;&lt;&lt;&lt;
\ifx \a:putSUB\:UnDef \else
   \pend:def\a:putSUB{\ifx \pl:SUBSUP\:UnDef\else 
         \let\SUBSUP:=\pl:SUBSUP
         \let\pl:SUBSUP=\:UnDef
      \fi}%
\fi
\ifx \a:putSUP\:UnDef \else
   \pend:def\a:putSUP{\ifx \pl:SUBSUP\:UnDef\else 
         \let\SUBSUP:=\pl:SUBSUP
         \let\pl:SUBSUP=\:UnDef
      \fi}%
\fi
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Superscripts}
%%%%%%%%%%%%%%%%%%%%%%%%%



\&lt;conf limits SUP\&gt;&lt;&lt;&lt;
|&lt;save pre-limits SUP|&gt;%
\Configure{SUP}
   {|&lt;open external limits SUP|&gt;\bgroup
     |&lt;restore pre-limits SUBSUP|&gt;%
     |&lt;conf second limits SUP|&gt;\trap:base}  
   {}%
&gt;&gt;&gt;

\&lt;save pre-limits SUP\&gt;&lt;&lt;&lt;
\def\pl:SUP{\Configure{SUP}}%
\expandafter\append:def
   \expandafter\pl:SUP\expandafter{\expandafter{\a:SUP}}%
\expandafter\append:def
   \expandafter\pl:SUP\expandafter{\expandafter{\b:SUP}}%
&gt;&gt;&gt;


\&lt;conf second limits SUP\&gt;&lt;&lt;&lt;
\Configure{SUP}
   {|&lt;open intermediate limits SUP|&gt;\bgroup
    |&lt;conf third limit SUP|&gt;\trap:base}                 
   {\egroup|&lt;close external limits SUP|&gt;}%
&gt;&gt;&gt;


\&lt;conf third limit SUP\&gt;&lt;&lt;&lt;
\Configure{SUP}
   {|&lt;open internal limits SUP|&gt;\bgroup \trap:base}
   {\egroup |&lt;close internal limits SUP|&gt;}% 
&gt;&gt;&gt;


\&lt;open external limits SUP\&gt;&lt;&lt;&lt;
\Send{BACK}{\l:brace}\HCode{\r:brace\string^\l:brace}\trap:base
&gt;&gt;&gt;


\&lt;close external limits SUP\&gt;&lt;&lt;&lt;
\HCode{\r:brace}\aftergroup|&lt;restore SUP|&gt;%
&gt;&gt;&gt;

\&lt;restore SUP\&gt;&lt;&lt;&lt;
\pl:SUP  &gt;&gt;&gt;


\&lt;open intermediate limits SUP\&gt;&lt;&lt;&lt;
\Send{BACK}{\l:brace}\HCode{\r:brace\string^\l:brace}\trap:base
&gt;&gt;&gt;

\&lt;open internal limits SUP\&gt;&lt;&lt;&lt;
\Send{BACK}{\l:brace}\HCode{\r:brace\string^\l:brace}%
&gt;&gt;&gt;

\&lt;close internal limits SUP\&gt;&lt;&lt;&lt;
\HCode{\r:brace}%
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Subscripts}
%%%%%%%%%%%%%%%%%%%%%%%%%





\&lt;conf limits SUB\&gt;&lt;&lt;&lt;
|&lt;save pre-limits SUB|&gt;%
\Configure{SUB}
   {|&lt;open external limits SUB|&gt;\bgroup
     |&lt;restore pre-limits SUBSUP|&gt;%
     |&lt;conf second limits SUB|&gt;\trap:base}  
   {}%
&gt;&gt;&gt;

\&lt;save pre-limits SUB\&gt;&lt;&lt;&lt;
\def\pl:SUB{\Configure{SUB}}%
\expandafter\append:def
   \expandafter\pl:SUB\expandafter{\expandafter{\a:SUB}}%
\expandafter\append:def
   \expandafter\pl:SUB\expandafter{\expandafter{\b:SUB}}%
&gt;&gt;&gt;

\&lt;conf second limits SUB\&gt;&lt;&lt;&lt;
\Configure{SUB}
   {|&lt;open intermediate limits SUB|&gt;\bgroup
    |&lt;conf third limit SUB|&gt;\trap:base}                 
   {\egroup|&lt;close external limits SUB|&gt;}%
&gt;&gt;&gt;


\&lt;conf third limit SUB\&gt;&lt;&lt;&lt;
\Configure{SUB}
   {|&lt;open internal limits SUB|&gt;\bgroup \trap:base}
   {\egroup |&lt;close internal limits SUB|&gt;}% 
&gt;&gt;&gt;


\&lt;open external limits SUB\&gt;&lt;&lt;&lt;
\Send{BACK}{\l:brace}\HCode{\r:brace\string_\l:brace}%
&gt;&gt;&gt;

\&lt;close external limits SUB\&gt;&lt;&lt;&lt;
\HCode{\r:brace}\aftergroup|&lt;restore SUB|&gt;%
&gt;&gt;&gt;

\&lt;restore SUB\&gt;&lt;&lt;&lt;
\pl:SUB &gt;&gt;&gt;

\&lt;open intermediate limits SUB\&gt;&lt;&lt;&lt;
\Send{BACK}{\l:brace}\HCode{\r:brace\string_\l:brace}%
&gt;&gt;&gt;

\&lt;open internal limits SUB\&gt;&lt;&lt;&lt;
\Send{BACK}{\l:brace}\HCode{\r:brace\string_\l:brace}%
&gt;&gt;&gt;

\&lt;close internal limits SUB\&gt;&lt;&lt;&lt;
\HCode{\r:brace}%
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Sized Operations}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\def\mathop:prefix#1{%
   \Configure{mathop}{*}{}{}%
    {\Configure{mathop}{*}{\string\mathop\l:brace}{\r:brace}{}}}
&gt;&gt;&gt;

The nested configuration of mathop is needed for cases similar to that 
of \verb!\log! i.
\verb/$$ \sum_a^b =\log 2 $$/


\&lt;configure mathltx amsmath\&gt;&lt;&lt;&lt;
\pend:def\n:iint:{\ifDisplayMath\mathop:prefix{mathsize="big"}\fi}
\pend:def\n:iiint:{\ifDisplayMath\mathop:prefix{mathsize="big"}\fi}
\pend:def\n:idotsint:{\ifDisplayMath\mathop:prefix{mathsize="big"}\fi}
&gt;&gt;&gt;

\&lt;configure mathltx fontmath\&gt;&lt;&lt;&lt;
\def\:tempd#1#2{%
   \expandafter\def\csname #1\endcsname{\mathchar"13#2\relax}%
   \MathSymbol\mathop{#1}%
   \expandafter\def\csname #1:limits\endcsname{\expandafter
                    \:same \math:sym\mathop{#1}\limits}%
   \expandafter\def\csname #1:nolimits\endcsname{\expandafter
                  \:same \math:sym\mathop{#1}\nolimits}%
   \expandafter\edef\csname n:#1:\endcsname{\noexpand\ifDisplayMath
          \noexpand\expandafter \expandafter\noexpand 
                                        \csname #1:limits\endcsname
          \noexpand\else \noexpand\expandafter
                         \expandafter\noexpand 
                         \csname #1:nolimits\endcsname\noexpand\fi}%
   \expandafter\pend:def\csname n:#1:\endcsname{\ifDisplayMath
          \mathop:prefix{mathsize="big"}\fi}%
}
\:tempd{bigcap}{54} 
\:tempd{bigcup}{53} 
\:tempd{bigodot}{4A} 
\:tempd{bigoplus}{4C} 
\:tempd{bigotimes}{4E} 
\:tempd{bigsqcup}{46} 
\:tempd{biguplus}{55} 
\:tempd{bigvee}{57} 
\:tempd{bigwedge}{56} 
\:tempd{coprod}{60} 
\:tempd{intop}{52} 
\:tempd{ointop}{48} 
\:tempd{prod}{51} 
\:tempd{sum}{50}
&gt;&gt;&gt;

\&lt;configure mathltx tex4ht\&gt;&lt;&lt;&lt;
\def\math:sym#1#2{{\relax\ifmmode \expandafter#1\fi
   {\ifmmode\HCode{\string#1\l:brace}\fi
    \csname a:#2\endcsname
    \ifmmode\HCode{\r:brace}\fi}}}
&gt;&gt;&gt;


\&lt;configure mathltx fontmath\&gt;&lt;&lt;&lt;
\ifx \ilimits@\o:nolimits: 
  \let\ilimits@\nolimits 
\fi 
\ifx \ilimits@\o:nolimits: 
  \let\slimits@\nolimits 
\fi 
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Accent through `accents' Configurations}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\&lt;configure mathltx latex\&gt;&lt;&lt;&lt;
|&lt;shared latex,amsmath math accents|&gt;
&gt;&gt;&gt;

\&lt;configure mathltx amsmath\&gt;&lt;&lt;&lt;
|&lt;shared latex,amsmath math accents|&gt;
\def\:tempc#1{\HCode{\string\dddot\l:brace}#1\HCode{\r:brace}}
\HLet\dddot=\:tempc
\def\:tempc#1{\HCode{\string\ddddot\l:brace}#1\HCode{\r:brace}}
\HLet\ddddot=\:tempc
&gt;&gt;&gt;

\&lt;shared latex,amsmath math accents\&gt;&lt;&lt;&lt;
\def\:tempc#1{\HCode{\string\H\l:brace}#1\HCode{\r:brace}}
\HLet\H=\:tempc
\def\:tempc#1{\HCode{\string\acute\l:brace}#1\HCode{\r:brace}}    
\HLet\acute=\:tempc
\def\:tempc#1{\HCode{\string\bar\l:brace}#1\HCode{\r:brace}}    
\HLet\bar=\:tempc
\def\:tempc#1{\HCode{\string\breve\l:brace}#1\HCode{\r:brace}}
\HLet\breve=\:tempc
\def\:tempc#1{\HCode{\string\c\l:brace}#1\HCode{\r:brace}}
\HLet\c=\:tempc
\def\:tempc#1{\HCode{\string\cedil\l:brace}#1\HCode{\r:brace}}
\HLet\cedil=\:tempc
\def\:tempc#1{\HCode{\string\check\l:brace}#1\HCode{\r:brace}}
\HLet\check=\:tempc
\def\:tempc#1{\HCode{\string\d\l:brace}#1\HCode{\r:brace}}
\HLet\d=\:tempc
\def\:tempc#1{\HCode{\string\ddot\l:brace}#1\HCode{\r:brace}}
\HLet\ddot=\:tempc
\def\:tempc#1{\HCode{\string\dot\l:brace}#1\HCode{\r:brace}}
\HLet\dot=\:tempc
\def\:tempc#1{\HCode{\string\grave\l:brace}#1\HCode{\r:brace}}    
\HLet\grave=\:tempc
\def\:tempc#1{\HCode{\string\hat\l:brace}#1\HCode{\r:brace}}    
\HLet\hat=\:tempc
\def\:tempc#1{\HCode{\string\ring\l:brace}#1\HCode{\r:brace}}
\HLet\ring=\:tempc
\def\:tempc#1{\HCode{\string\t\l:brace}#1\HCode{\r:brace}}
\HLet\t=\:tempc
\def\:tempc#1{\HCode{\string\tilde\l:brace}#1\HCode{\r:brace}}    
\HLet\tilde=\:tempc
\def\:tempc#1{\HCode{\string\udot\l:brace}#1\HCode{\r:brace}}
\HLet\udot=\:tempc
\def\:tempc#1{\HCode{\string\uml\l:brace}#1\HCode{\r:brace}}
\HLet\uml=\:tempc
\def\:tempc#1{\HCode{\string\vec\l:brace}#1\HCode{\r:brace}}
\HLet\vec=\:tempc
&gt;&gt;&gt;

Can \verb=\r= appear in math mode? If not, the following is  not needed.

\&lt;shared latex,amsmath math accents\&gt;&lt;&lt;&lt;
\ifx\jsm:r\:UnDef
  \let\jsm:r\r
  \def\:tempc#1{\ifmmode\HCode{\string\r\l:brace}#1\HCode{\r:brace}%
                \else \jsm:r{#1}\fi }
  \HLet\r=\:tempc
\fi
&gt;&gt;&gt;

\&lt;config mathltx accents\&gt;&lt;&lt;&lt;
|&lt;temp indirect accents|&gt;
\Configure{accents}
  {\ifmmode \expandafter\mathord\fi
     {|&lt;temp hcode accents|&gt;%
   \ht:special{t4ht@[}\if!#1!x\else#2\fi
   \ht:special{t4ht@]}}}
  {\ifmathltx
      \ifmtext |&lt;accent in text mode|&gt;%
      \else    \AccentMath{|&lt;under over accents|&gt;}\fi
   \else       |&lt;accent in text mode|&gt;\fi
  }
&gt;&gt;&gt;

\&lt;accent in text mode\&gt;&lt;&lt;&lt;
\expandafter\ifx \csname :#1:over\endcsname\relax
   \expandafter\ifx \csname :#1:under\endcsname\relax
      \AccentMath{|&lt;under over accents|&gt;}%
   \else #3\csname :#1:under\endcsname \fi
\else #3\csname :#1:over\endcsname \fi
&gt;&gt;&gt;

\&lt;under over accents\&gt;&lt;&lt;&lt;
\expandafter\ifx \csname :#1:over\endcsname\relax
  |&lt;under accents|&gt;%
\else \expandafter\ifx \csname :#1:under\endcsname\relax
  |&lt;over accents|&gt;%
\else
  |&lt;both accents|&gt;%
\fi \fi
&gt;&gt;&gt;

\&lt;under accents\&gt;&lt;&lt;&lt;
\HCode{&lt;munder\Hnewline 
   accent="true"&gt;&lt;mrow\Hnewline&gt;}#3\HCode{&lt;/mrow&gt;}%
      \csname :#1:under\endcsname
   \HCode{&lt;/munder&gt;}%
&gt;&gt;&gt;

\&lt;over accents\&gt;&lt;&lt;&lt;
\HCode{&lt;mover\Hnewline 
   accent="true"&gt;&lt;mrow\Hnewline&gt;}#3\HCode{&lt;/mrow&gt;}%
   \csname :#1:over\endcsname
   \HCode{&lt;/mover-1&gt;}%
&gt;&gt;&gt;

\&lt;both accents\&gt;&lt;&lt;&lt;
\HCode{&lt;munderover-3\Hnewline 
   accent="true"&gt;&lt;mrow\Hnewline&gt;}#3\HCode{&lt;/mrow&gt;}%
   \csname :#1:under\endcsname
   \csname :#1:over\endcsname
   \HCode{&lt;/munderover&gt;}%
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Underline and Overline}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\Configure{overline}
   {\bgroup\ifmathltx |&lt;mathltx overline|&gt;\else
         \HCode{&lt;span class="overline"&gt;}\fi}
   {\ifmathltx |&lt;end mathltx overline|&gt;\else \HCode{&lt;/span&gt;}\fi\egroup}
\Configure{underline}
   {\bgroup
    \ifmathltx |&lt;mathltx underline|&gt;%
    \else |&lt;nomath underline|&gt;\HCode{&lt;span class="underline"&gt;}\fi}
   {\ifmathltx |&lt;end mathltx underline|&gt;\else \HCode{&lt;/span&gt;}\fi \egroup}
&gt;&gt;&gt;


\&lt;mathltx latex\&gt;&lt;&lt;&lt;
|&lt;und/ov-erline|&gt;
&gt;&gt;&gt;

\&lt;mathltx plain\&gt;&lt;&lt;&lt;
|&lt;und/ov-erline|&gt;
&gt;&gt;&gt;


\&lt;und/ov-erline\&gt;&lt;&lt;&lt;
\Configure{overline}
   {\bgroup |&lt;mathltx overline|&gt;}
   {|&lt;end mathltx overline|&gt;\egroup}
\Configure{underline}
   {\bgroup \ifmmode |&lt;mathltx underline|&gt;\else 
     |&lt;nomath underline|&gt;\fi}
   {|&lt;end mathltx underline|&gt;\egroup}
&gt;&gt;&gt;

\&lt;nomath underline\&gt;&lt;&lt;&lt;
\expandafter\everymath
\expandafter{\expandafter\everymath
             \expandafter{\the\everymath}}%
\let\o::@underline:\o:@@underline:
\def\o:@@underline:{\let\o:@@underline:\o::@underline:}%
&gt;&gt;&gt;











\&lt;mathltx overline\&gt;&lt;&lt;&lt;
\HCode{\string\overline\l:brace}%
&gt;&gt;&gt;

\&lt;end mathltx overline\&gt;&lt;&lt;&lt;
\HCode{\r:brace}%
&gt;&gt;&gt;


\&lt;mathltx underline\&gt;&lt;&lt;&lt;
\HCode{\string\underline\l:brace}%
&gt;&gt;&gt;

\&lt;end mathltx underline\&gt;&lt;&lt;&lt;
\HCode{\r:brace}%
&gt;&gt;&gt;


\verb'&amp;#x0332;' is the code of \verb'&amp;UnderBar;'





\&lt;mathltx plain\&gt;&lt;&lt;&lt;
|&lt;arr: amsmath, amstex1|&gt;
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Footnotes}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\Configure{footnote-mark}
   {\ifmathltx \ifmtext \else
        \HCode{&lt;mrow \mml:class="footnote-mark"&gt;}\fi
    \else \HCode{&lt;span class="footnote-mark"&gt;}\fi }
   {\ifmathltx \ifmtext \else \HCode{&lt;/mrow&gt;}\fi
    \else \HCode{&lt;/span&gt;}\fi }
\Configure{thank-mark}
   {\HCode{&lt;\ifmathltx mrow  \expandafter\mml:class\else span class\fi
                                   ="thank-mark"&gt;}}
   {\HCode{&lt;/\ifmathltx mrow\else span\fi&gt;}}  
&gt;&gt;&gt;





The following code segments handle the different listed cases,
with possible exception of the last.

\begin{verbatim}
a\footnote{b c}

$a\footnote{b c}$

$a\footnote{\hbox{b c}}$

$a\footnote{\mbox{b c}}$

$a\mbox{\footnote{b c}}$
\end{verbatim}


We have the following hooks


\begin{verbatim}
\def\@footnotemark{...\a:@makefnmark\@makefnmark
                                           \b:@makefnmark...}
\long\def\@footnotetext#1{...\a:footnote-text\a:@makefntext
                \@makefntext{\b:@makefntext
                                   \a:@makefnbody #1\b:@makefnbody
                            }\c:@makefntext\b:footnote-text...}
\end{verbatim}





\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\:CheckOption{fn-in}\if:Option  \else
   \expandafter\let\csname A:footnote-text\expandafter\endcsname
                     \csname a:footnote-text\endcsname
   \expandafter\let\csname B:footnote-text\expandafter\endcsname
                     \csname b:footnote-text\endcsname
   \NewConfigure{footnote-text}[2]{%
      \expandafter\def\csname a:footnote-text\endcsname{%
         #1%
         \ifmathltx
             \HCode{&lt;\a:@math\Hnewline
                \csname a:math-xmlns\endcsname \Hnewline &gt;%
                \ifmtext &lt;mtext&gt;\fi}
         \fi 
         \ifmathltx  \fi
      }%
      \expandafter\def\csname b:footnote-text\endcsname{%
         \ifmathltx  
            \HCode{\ifmtext&lt;/mtext&gt;\fi &lt;/\a:@math&gt;}%
         \fi 
         #2%
      }%
   }
   \Configure{footnote-text}
      {\csname A:footnote-text\endcsname}
      {\csname B:footnote-text\endcsname}
\fi
&gt;&gt;&gt;



\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\let\A:footnotetext=\a:footnotetext
\let\B:footnotetext=\b:footnotetext
\let\C:footnotetext=\c:footnotetext
\NewConfigure{footnotetext}[3]{%
   \def\a:footnotetext{%
      \ifmathltx \ifmtext  |&lt;end mtext space|&gt;\fi\fi
      #1%
      \ifmathltx \ifmtext  |&lt;end mtext space|&gt;\fi\fi
   }%
   \def\b:footnotetext{%
      \ifmathltx \ifmtext  |&lt;end mtext space|&gt;\fi\fi
      #2%
      \ifmathltx \ifmtext  |&lt;end mtext space|&gt;\fi\fi
   }%
   \def\c:footnotetext{%
      \ifmathltx \ifmtext  |&lt;end mtext space|&gt;\fi\fi
      #3%
      \ifmathltx \ifmtext  |&lt;start mtext space|&gt;\fi\fi
   }%
}
\Configure{footnotetext}
   {\A:footnotetext}
   {\B:footnotetext}
   {\C:footnotetext}
&gt;&gt;&gt;

\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\Configure{footnotebody}
   {\tmp:toks=}
   {\ifmathltx \ifmmode $\mbox{$\the\tmp:toks$}$ 
              \else $\mbox{\the\tmp:toks}$\fi
    \else \the\tmp:toks\fi}
&gt;&gt;&gt;


\&lt;configure html-mltx latex\&gt;&lt;&lt;&lt;
\:CheckOption{mouseover} \if:Option
   \pend:def\js:on{\ifmathltx \ifmtext  |&lt;end mtext space|&gt;\fi\fi}
   \append:def\js:on{\ifmathltx \ifmtext  |&lt;start mtext space|&gt;\fi\fi}
\fi
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Space Characters}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\def\:nbsp{\ifmtext |&lt;unicode space|&gt;\else\ifmathltx
    \Tg&lt;mspace /&gt;\else |&lt;unicode space|&gt;\fi\fi}
&gt;&gt;&gt;

\&lt;unicode space\&gt;&lt;&lt;&lt;
\leavevmode\special{t4ht@+\string&amp;{35}x00A0{59}}x%
&gt;&gt;&gt;

% \HCode{\string&amp;}\HChar{-35}\HCode{x00A0;}%


\&lt;configure html-mltx frenchb\&gt;&lt;&lt;&lt;
\Configure{frenchb-nbsp}
   {\ifmtext |&lt;unicode space|&gt;\else\ifmathltx
       \Tg&lt;mspace class="frenchb-nbsp" /&gt;%
    \else 
      \ht:special{t4ht@?unhskip}\HCode{&lt;span class="frenchb-thinspace"&gt;}%
      |&lt;unicode space|&gt;\HCode{&lt;/span&gt;}%
    \fi\fi
    \setbox\tmp:bx=\hbox\bgroup}
   {\egroup}
&gt;&gt;&gt;  


%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Matrices}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%
\subsection{Aligned}
%%%%%%%%%%%%%



\&lt;configure mathltx amsmath\&gt;&lt;&lt;&lt;
\Configure{aligned}  
   {\HCode{\string\begin{aligned}}}
   {\HCode{\string\end{aligned}}}  
   {}
   {\HCode{\string\\}}
   {\ifnum \HCol&gt;1\HCode{\a:math:amp}\fi}   {} 
\Configure{alignedat}  
   {\HCode{\string\begin{alignedat}}}
   {\HCode{\string\end{alignedat}}}  
   {}
   {\HCode{\string\\}}
   {\ifnum \HCol&gt;1\HCode{\a:math:amp}\fi}   {} 
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%
\subsection{Cases}
%%%%%%%%%%%%%%%%%

\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\Configure{cases}
    {}{}
    {\HCode{\string\cases\l:brace}}
    {\ifvmode \IgnorePar\fi \HCode{\r:brace}}
    {\ifnum \HRow&gt;1 \HCode{\string\cr\space}\fi}
    {}
    {|&lt;mtd matrix|&gt;}
    {}
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%%%
\subsection{matrix}
%%%%%%%%%%%%%%%%%%%%

\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\Configure{matrix}
   {\HCode{\string\matrix\l:brace}} 
   {\HCode{\r:brace}}
   {\ifnum \HRow&gt;1 \HCode{\string\cr\space}\fi}
   {}
   {|&lt;mtd matrix|&gt;}
   {}
&gt;&gt;&gt;



%%%%%%%%%%%%%%%%%%%%
\subsection{pmatrix}
%%%%%%%%%%%%%%%%%%%%


The grouping below is handle the case that the matrix is a base of an
exponent.


\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\Configure{pmatrix}  {\bgroup}  {\egroup}
&gt;&gt;&gt;



The grouping below is handle the case that the matrix is a base of an
exponent. The \verb|\,| configurations is for facilitating the
catching of  left subscripts and superscripts.


\&lt;plain,latex mathltx\&gt;&lt;&lt;&lt;
\Configure{quad}{{\ifmathltx \ifmtext \o:quad:\else
   {\HCode{\string\quad\space}}\fi
    \else \o:quad: \fi}}
\Configure{qquad}{{\ifmathltx \ifmtext \o:qquad:\else
   {\HCode{\string\qquad\space}}\fi
    \else \o:qquad: \fi}}
\Configure{,}
   {{\HCode{\string\,}}}
&gt;&gt;&gt;




%%%%%%%%%%%%%%%%%%%%
\section{TeX}
%%%%%%%%%%%%%%%%%%%%


\&lt;mathltx plain\&gt;&lt;&lt;&lt;
\Configure{eqalignno}
   {\HCode{&lt;mtable \mml:class="eqalignno"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline \mml:class="eqalignno"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd \Hnewline \mml:class="eqalignno-\HCol"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\def\:eqalignno:{\Configure{noalign}
  {\HCode{&lt;mtr&gt;&lt;mtd \mml:class="noalign" colspan="2"&gt;}}%
  {\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}}}
&gt;&gt;&gt;


\&lt;mathltx plain\&gt;&lt;&lt;&lt;
\Configure{leqalignno}
   {\HCode{&lt;mtable \mml:class="leqalignno"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline \mml:class="leqalignno"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd \Hnewline \mml:class="leqalignno-\HCol"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\def\:leqalignno:{\Configure{noalign}
  {\HCode{&lt;mtr&gt;&lt;mtd \mml:class="noalign" colspan="2"&gt;}}%
  {\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}}}
&gt;&gt;&gt;

\section{Fractions}


         




\&lt;amstex.sty mathltx\&gt;&lt;&lt;&lt;
|&lt;config mathltx amstex1|&gt;
&gt;&gt;&gt;


\&lt;config mathltx amstex1\&gt;&lt;&lt;&lt;
\ConfigureEnv{aligned}{}{}{}{}
\Configure{aligned}
   {\HCode{&lt;mtable\Hnewline \mml:class="aligned"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline&gt;}}   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd&gt;}}   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;


\&lt;amstex.tex mathltx\&gt;&lt;&lt;&lt;
\Configure{multilimits}
   {\HCode{&lt;mtable\Hnewline \mml:class="multilimits"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr&gt;&lt;mtd\Hnewline&gt;}}
   {\HCode{&lt;/mtd&gt;&lt;/mtr&gt;}}
\Configure{smallmatrix}
   {\HCode{&lt;mtable\Hnewline \mml:class="smallmatrix"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr&gt;}}
   {\HCode{&lt;/mtr&gt;}} 
   {\HCode{&lt;mtd\Hnewline&gt;}}                 
   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;

\&lt;amstex.tex mathltx\&gt;&lt;&lt;&lt;
\Configure{matrix}
   {\HCode{&lt;mtable\Hnewline \mml:class="matrix"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline&gt;}}   {\HCode{&lt;/mtr&gt;}}
   {\HCode{|&lt;mtd matrix|&gt;}}   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;

\&lt;amstex.tex mathltx\&gt;&lt;&lt;&lt;
\Configure{pmatrix}{\Tg&lt;mrow \mml:class="pmatrix"&gt;}
                   {\Tg&lt;/mrow&gt;}
&gt;&gt;&gt;

\&lt;amstex.tex mathltx\&gt;&lt;&lt;&lt;
\Configure{align}
   {\HCode{&lt;mtable\Hnewline \mml:class="align"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline&gt;}}   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd&gt;}}   {\HCode{&lt;/mtd&gt;}}
\Configure{aligned}
   {\HCode{&lt;mtable\Hnewline \mml:class="aligned"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline&gt;}}   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd&gt;}}   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;

\&lt;amstex.tex mathltx\&gt;&lt;&lt;&lt;
\Configure{cases}
   {\Tg&lt;mrow \mml:class="cases"&gt;}
   {\Tg&lt;/mrow&gt;}
\Configure{alignat}
   {\HCode{&lt;mtable \mml:class="alignat"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline \mml:class="alignat"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline \mml:class="alignat"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
\Configure{gather}
   {\HCode{&lt;mtable \mml:class="gather"&gt;}}
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr\Hnewline \mml:class="gather"&gt;}}
   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd\Hnewline \mml:class="gather"&gt;}}
   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;&gt;

\&lt;vanilla mathltx\&gt;&lt;&lt;&lt;
\Configure{align}
   {\EndP\HCode{&lt;mtable\Hnewline \mml:class="align"&gt;}} 
   {\HCode{&lt;/mtable&gt;}}
   {\HCode{&lt;mtr&gt;}}   {\HCode{&lt;/mtr&gt;}}
   {\HCode{&lt;mtd&gt;}}   {\HCode{&lt;/mtd&gt;}}
&gt;&gt;&gt;







% {\mathchar"0403} % \square
% {\mathchar"0404} % \blacksquare
% {\mathchar"0406} % \lozenge
% {\mathchar"0407} % \blacklozenge
% {\mathchar"0438} % \backprime
% {\mathchar"0446} % \bigstar
% {\mathchar"0448} % \blacktriangledown
% {\mathchar"044E} % \blacktriangle
% {\mathchar"044F} % \triangledown
% {\mathchar"045D} % \measuredangle
% {\mathchar"045E} % \sphericalangle
% {\mathchar"0473} % \circledS
% {\mathchar"047B} % \complement
% {\mathchar"051E} % \diagup
% {\mathchar"051F} % \diagdown
% {\mathchar"053F} % \varnothing
% {\mathchar"0540} % \nexists
% {\mathchar"0560} % \Finv
% {\mathchar"0561} % \Game
% {\mathchar"0567} % \eth
% {\mathchar"0569} % \beth
% {\mathchar"056A} % \gimel
% {\mathchar"056B} % \daleth
% {\mathchar"057A} % \digamma
% {\mathchar"057B} % \varkappa
% {\mathchar"057C} % \Bbbk
% {\mathchar"057D} % \hslash


\&lt;configure mathltx amssymb\&gt;&lt;&lt;&lt;
\def\:tempa#1"#2#3///{\Configure{MathClass}{#2}}
\def\:temp#1{\:tempa#1///{}{}{}{#1}}
\:temp{\mathchar"2400} |% \boxdot |%
\:temp{\mathchar"2401} |% \boxplus |%
\:temp{\mathchar"2402} |% \boxtimes |%
\:temp{\mathchar"2405} |% \centerdot |%
\:temp{\mathchar"240C} |% \boxminus |%
\:temp{\mathchar"2459} |% \veebar |%
\:temp{\mathchar"245A} |% \barwedge |%
\:temp{\mathchar"245B} |% \doublebarwedge |%
\:temp{\mathchar"2464} |% \Cup |%
\:temp{\mathchar"2465} |% \Cap |%
\:temp{\mathchar"2466} |% \curlywedge |%
\:temp{\mathchar"2467} |% \curlyvee |%
\:temp{\mathchar"2468} |% \leftthreetimes |%
\:temp{\mathchar"2469} |% \rightthreetimes |%
\:temp{\mathchar"2475} |% \dotplus |%
\:temp{\mathchar"247C} |% \intercal |%
\:temp{\mathchar"247D} |% \circledcirc |%
\:temp{\mathchar"247E} |% \circledast |%
\:temp{\mathchar"247F} |% \circleddash |%
\:temp{\mathchar"253E} |% \divideontimes |%
\:temp{\mathchar"256C} |% \lessdot |%
\:temp{\mathchar"256D} |% \gtrdot |%
\:temp{\mathchar"256E} |% \ltimes |%
\:temp{\mathchar"256F} |% \rtimes |%
\:temp{\mathchar"2572} |% \smallsetminus |%
\:temp{\mathchar"3408} |% \circlearrowright |%
\:temp{\mathchar"3409} |% \circlearrowleft |%
\:temp{\mathchar"340A} |% \rightleftharpoons |%
\:temp{\mathchar"340B} |% \leftrightharpoons |%
\:temp{\mathchar"340D} |% \Vdash |%
\:temp{\mathchar"340E} |% \Vvdash |%
\:temp{\mathchar"340F} |% \vDash |%
\:temp{\mathchar"3410} |% \twoheadrightarrow |%
\:temp{\mathchar"3411} |% \twoheadleftarrow |%
\:temp{\mathchar"3412} |% \leftleftarrows |%
\:temp{\mathchar"3413} |% \rightrightarrows |%
\:temp{\mathchar"3414} |% \upuparrows |%
\:temp{\mathchar"3415} |% \downdownarrows |%
\:temp{\mathchar"3416} |% \upharpoonright |%
\:temp{\mathchar"3417} |% \downharpoonright |%
\:temp{\mathchar"3418} |% \upharpoonleft |%
\:temp{\mathchar"3419} |% \downharpoonleft |%
\:temp{\mathchar"341A} |% \rightarrowtail |%
\:temp{\mathchar"341B} |% \leftarrowtail |%
\:temp{\mathchar"341C} |% \leftrightarrows |%
\:temp{\mathchar"341D} |% \rightleftarrows |%
\:temp{\mathchar"341E} |% \Lsh |%
\:temp{\mathchar"341F} |% \Rsh |%
\:temp{\mathchar"3420} |% \rightsquigarrow |%
\:temp{\mathchar"3421} |% \leftrightsquigarrow |%
\:temp{\mathchar"3422} |% \looparrowleft |%
\:temp{\mathchar"3423} |% \looparrowright |%
\:temp{\mathchar"3424} |% \circeq |%
\:temp{\mathchar"3425} |% \succsim |%
\:temp{\mathchar"3426} |% \gtrsim |%
\:temp{\mathchar"3427} |% \gtrapprox |%
\:temp{\mathchar"3428} |% \multimap |%
\:temp{\mathchar"3429} |% \therefore |%
\:temp{\mathchar"342A} |% \because |%
\:temp{\mathchar"342B} |% \doteqdot |%
\:temp{\mathchar"342C} |% \triangleq |%
\:temp{\mathchar"342D} |% \precsim |%
\:temp{\mathchar"342E} |% \lesssim |%
\:temp{\mathchar"342F} |% \lessapprox |%
\:temp{\mathchar"3430} |% \eqslantless |%
\:temp{\mathchar"3431} |% \eqslantgtr |%
\:temp{\mathchar"3432} |% \curlyeqprec |%
\:temp{\mathchar"3433} |% \curlyeqsucc |%
\:temp{\mathchar"3434} |% \preccurlyeq |%
\:temp{\mathchar"3435} |% \leqq |%
\:temp{\mathchar"3436} |% \leqslant |%
\:temp{\mathchar"3437} |% \lessgtr |%
\:temp{\mathchar"343A} |% \risingdotseq |%
\:temp{\mathchar"343B} |% \fallingdotseq |%
\:temp{\mathchar"343C} |% \succcurlyeq |%
\:temp{\mathchar"343D} |% \geqq |%
\:temp{\mathchar"343E} |% \geqslant |%
\:temp{\mathchar"343F} |% \gtrless |%
\:temp{\mathchar"3442} |% \vartriangleright |%
\:temp{\mathchar"3443} |% \vartriangleleft |%
\:temp{\mathchar"3444} |% \trianglerighteq |%
\:temp{\mathchar"3445} |% \trianglelefteq |%
\:temp{\mathchar"3447} |% \between |%
\:temp{\mathchar"3449} |% \blacktriangleright |%
\:temp{\mathchar"344A} |% \blacktriangleleft |%
\:temp{\mathchar"344D} |% \vartriangle |%
\:temp{\mathchar"3450} |% \eqcirc |%
\:temp{\mathchar"3451} |% \lesseqgtr |%
\:temp{\mathchar"3452} |% \gtreqless |%
\:temp{\mathchar"3453} |% \lesseqqgtr |%
\:temp{\mathchar"3454} |% \gtreqqless |%
\:temp{\mathchar"3456} |% \Rrightarrow |%
\:temp{\mathchar"3457} |% \Lleftarrow |%
\:temp{\mathchar"345F} |% \varpropto |%
\:temp{\mathchar"3460} |% \smallsmile |%
\:temp{\mathchar"3461} |% \smallfrown |%
\:temp{\mathchar"3462} |% \Subset |%
\:temp{\mathchar"3463} |% \Supset |%
\:temp{\mathchar"346A} |% \subseteqq |%
\:temp{\mathchar"346B} |% \supseteqq |%
\:temp{\mathchar"346C} |% \bumpeq |%
\:temp{\mathchar"346D} |% \Bumpeq |%
\:temp{\mathchar"346E} |% \lll |%
\:temp{\mathchar"346F} |% \ggg |%
\:temp{\mathchar"3474} |% \pitchfork |%
\:temp{\mathchar"3476} |% \backsim |%
\:temp{\mathchar"3477} |% \backsimeq |%
\:temp{\mathchar"3500} |% \lvertneqq |%
\:temp{\mathchar"3501} |% \gvertneqq |%
\:temp{\mathchar"3502} |% \nleq |%
\:temp{\mathchar"3503} |% \ngeq |%
\:temp{\mathchar"3504} |% \nless |%
\:temp{\mathchar"3505} |% \ngtr |%
\:temp{\mathchar"3506} |% \nprec |%
\:temp{\mathchar"3507} |% \nsucc |%
\:temp{\mathchar"3508} |% \lneqq |%
\:temp{\mathchar"3509} |% \gneqq |%
\:temp{\mathchar"350A} |% \nleqslant |%
\:temp{\mathchar"350B} |% \ngeqslant |%
\:temp{\mathchar"350C} |% \lneq |%
\:temp{\mathchar"350D} |% \gneq |%
\:temp{\mathchar"350E} |% \npreceq |%
\:temp{\mathchar"350F} |% \nsucceq |%
\:temp{\mathchar"3510} |% \precnsim |%
\:temp{\mathchar"3511} |% \succnsim |%
\:temp{\mathchar"3512} |% \lnsim |%
\:temp{\mathchar"3513} |% \gnsim |%
\:temp{\mathchar"3514} |% \nleqq |%
\:temp{\mathchar"3515} |% \ngeqq |%
\:temp{\mathchar"3516} |% \precneqq |%
\:temp{\mathchar"3517} |% \succneqq |%
\:temp{\mathchar"3518} |% \precnapprox |%
\:temp{\mathchar"3519} |% \succnapprox |%
\:temp{\mathchar"351A} |% \lnapprox |%
\:temp{\mathchar"351B} |% \gnapprox |%
\:temp{\mathchar"351C} |% \nsim |%
\:temp{\mathchar"351D} |% \ncong |%
\:temp{\mathchar"3520} |% \varsubsetneq |%
\:temp{\mathchar"3521} |% \varsupsetneq |%
\:temp{\mathchar"3522} |% \nsubseteqq |%
\:temp{\mathchar"3523} |% \nsupseteqq |%
\:temp{\mathchar"3524} |% \subsetneqq |%
\:temp{\mathchar"3525} |% \supsetneqq |%
\:temp{\mathchar"3526} |% \varsubsetneqq |%
\:temp{\mathchar"3527} |% \varsupsetneqq |%
\:temp{\mathchar"3528} |% \subsetneq |%
\:temp{\mathchar"3529} |% \supsetneq |%
\:temp{\mathchar"352A} |% \nsubseteq |%
\:temp{\mathchar"352B} |% \nsupseteq |%
\:temp{\mathchar"352C} |% \nparallel |%
\:temp{\mathchar"352D} |% \nmid |%
\:temp{\mathchar"352E} |% \nshortmid |%
\:temp{\mathchar"352F} |% \nshortparallel |%
\:temp{\mathchar"3530} |% \nvdash |%
\:temp{\mathchar"3531} |% \nVdash |%
\:temp{\mathchar"3532} |% \nvDash |%
\:temp{\mathchar"3533} |% \nVDash |%
\:temp{\mathchar"3534} |% \ntrianglerighteq |%
\:temp{\mathchar"3535} |% \ntrianglelefteq |%
\:temp{\mathchar"3536} |% \ntriangleleft |%
\:temp{\mathchar"3537} |% \ntriangleright |%
\:temp{\mathchar"3538} |% \nleftarrow |%
\:temp{\mathchar"3539} |% \nrightarrow |%
\:temp{\mathchar"353A} |% \nLeftarrow |%
\:temp{\mathchar"353B} |% \nRightarrow |%
\:temp{\mathchar"353C} |% \nLeftrightarrow |%
\:temp{\mathchar"353D} |% \nleftrightarrow |%
\:temp{\mathchar"3568} |% \eqsim |%
\:temp{\mathchar"3570} |% \shortmid |%
\:temp{\mathchar"3571} |% \shortparallel |%
\:temp{\mathchar"3573} |% \thicksim |%
\:temp{\mathchar"3574} |% \thickapprox |%
\:temp{\mathchar"3575} |% \approxeq |%
\:temp{\mathchar"3576} |% \succapprox |%
\:temp{\mathchar"3577} |% \precapprox |%
\:temp{\mathchar"3578} |% \curvearrowleft |%
\:temp{\mathchar"3579} |% \curvearrowright |%
\:temp{\mathchar"357F} |% \backepsilon |%
&gt;&gt;&gt;&gt;




%%%%%%%%%%%%%%%%%%
\chapter{Loose Ends}
%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%
\section{Right-to-Left Babel}
%%%%%%%%%%%%%%%%%%



\&lt;rlbabel everypar\&gt;&lt;&lt;&lt;
\expandafter\ifx \csname o@everypar\endcsname\relax \else
\expandafter\ifx \csname ht:everypar\endcsname\relax
  \let\ht:everypar\o@everypar
\fi\fi
&gt;&gt;&gt;






\&lt;dir ltr/rtl\&gt;&lt;&lt;&lt;
dir="\if@rl rtl\else ltr\fi"
&gt;&gt;&gt;


\&lt;configure html-mltx rlbabel\&gt;&lt;&lt;&lt;
\Configure{moreL}
  {\ifmathltx |&lt;ltr rlbabel mtext|&gt;%
   \else
      \ifvmode \let\end:moreRL=\empty
      \else\HCode{&lt;span dir="ltr" &gt;}%
        \def\end:moreRL{\HCode{&lt;/span&gt;}}%
      \fi
   \fi
  }
  {\end:moreRL}
\Configure{moreR}
  {\ifmathltx |&lt;rtl rlbabel mtext|&gt;%
   \else
      \ifvmode \let\end:moreRL=\empty 
      \else\HCode{&lt;span dir="rtl" &gt;}\def\end:moreRL{\HCode{&lt;/span&gt;}}\fi
   \fi
  }
  {\end:moreRL}
\Css{.rtl {direction: rtl}  
     .ltr {direction: ltr} }
&gt;&gt;&gt;



\&lt;ltr rlbabel mtext\&gt;&lt;&lt;&lt;
\ifmtext
    \leavevmode\special{t4ht@+&lt;/mtext&gt;&lt;mtext{32}\mml:class="ltr"&gt;}x%
    \def\end:moreRL{\HCode{&lt;/mtext&gt;&lt;mtext&gt;}}%
\else
   \let\end:moreRL=\empty
\fi
&gt;&gt;&gt;



\&lt;rtl rlbabel mtext\&gt;&lt;&lt;&lt;
\ifmtext
    \leavevmode\special{t4ht@+&lt;/mtext&gt;&lt;mtext{32}\mml:class="rtl"&gt;}x%
    \def\end:moreRL{\HCode{&lt;/mtext&gt;&lt;mtext&gt;}}%
\else
    \let\end:moreRL=\empty
\fi
&gt;&gt;&gt;


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{openmath}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  

\&lt;itemitem 0.0\&gt;&lt;&lt;&lt;
\Configure{itemitem}{}{}{\par\leavevmode}{}
&gt;&gt;&gt;

  


Used to have also a \verb'\special{t4ht@[}...\special{t4ht@]}',
where the specials asked to igore the enclosed
content. It is provided for getting `realistic' measurements in mathltx
applets. a candidadte for delition.









%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Shared}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
&gt;&gt;&gt;


\&lt;par del\&gt;&lt;&lt;&lt;
!*?: &gt;&gt;&gt;


\&lt;tag of Tag\&gt;&lt;&lt;&lt;
 cw:&gt;&gt;&gt;

\&lt;tail\&gt;&lt;&lt;&lt;
tail&gt;&gt;&gt;

\&lt;addr for Tag and Ref of Sec\&gt;&lt;&lt;&lt;
\xdef\:cursec{|&lt;section html addr|&gt;}%
&gt;&gt;&gt;


\&lt;save catcodes\&gt;&lt;&lt;&lt;
\expandafter\edef\csname :RestoreCatcodes\endcsname{%
   \expandafter\ifx \csname :RestoreCatcodes\endcsname\relax\else
      \csname :RestoreCatcodes\endcsname \fi
   \catcode`\noexpand :|=\the\catcode`:%
   \let\expandafter\noexpand\csname :RestoreCatcodes\endcsname|=
                                   \noexpand\UnDefcS}
\catcode`\:|=11 
&gt;&gt;&gt;






%%%%%%%%%%%%%%%%%%
\section{Boxed}
%%%%%%%%%%%%%%%%%%

\&lt;configure html-mltx amsmath\&gt;&lt;&lt;&lt;
\Configure{boxed}
   {\ifmathltx \HCode{\string\boxed\l:brace}%
    \else     \HCode{&lt;span class="boxed"&gt;}\IgnorePar\fi}
   {\ifmathltx \HCode{\r:brace}%
    \else \HCode{&lt;/span&gt;}\fi}
\Css{.boxed{border: 1px solid black; padding-left:2px;
                                     padding-right:2px;}}
&gt;&gt;&gt;

%%%%%%%%%%%%%%%%%%
\section{fontmath}
%%%%%%%%%%%%%%%%%%




\&lt;fontmath mathord symbols as ?\&gt;&lt;&lt;&lt;
\mathchar"3230 |%\prime|%  
\mathchar"3231 |%\infty|%  
\mathchar"323B |%\emptyset|%  
\mathchar"323C |%\Re|%  
\mathchar"323D |%\Im|%  
\mathchar"3240 |%\aleph|%  
&gt;&gt;&gt;

\&lt;fontmath mathord symbols as op\&gt;&lt;&lt;&lt;
\mathchar"3234 |%\triangle|%  
\mathchar"3238 |%\forall|%  
\mathchar"3239 |%\exists|%  
\mathchar"323A |%\neg|%  
\mathchar"323E |%\top|%  
\mathchar"323F |%\bot|%  
\mathchar"3272 |%\nabla|%  
\mathchar"3278 |%\mathsection|%  
\mathchar"327B |%\mathparagraph|%  
\mathchar"327C |%\clubsuit|%  
\mathchar"327D |%\diamondsuit|%  
\mathchar"327E |%\heartsuit|%  
\mathchar"327F |%\spadesuit|%  
&gt;&gt;&gt;



\subsection{1: Large Operators}

\begin{verbatim}
\mathchardef\coprod="1360
\mathchardef\bigvee="1357
\mathchardef\bigwedge="1356
\mathchardef\biguplus="1355
\mathchardef\bigcap="1354
\mathchardef\bigcup="1353
\mathchardef\intop="1352 \def\int{\intop\nolimits}
\mathchardef\prod="1351
\mathchardef\sum="1350
\mathchardef\bigotimes="134E
\mathchardef\bigoplus="134C
\mathchardef\bigodot="134A
\mathchardef\ointop="1348 \def\oint{\ointop\nolimits}
\mathchardef\bigsqcup="1346
\mathchardef\smallint="1273
\end{verbatim}

\&lt;plain,fontmath math classes\&gt;&lt;&lt;&lt;
\Configure{MathClass}{1}{}{}{}{
   \mathchar"1360
   \mathchar"1357
   \mathchar"1356
   \mathchar"1355
   \mathchar"1354
   \mathchar"1353
   \mathchar"1352
   \mathchar"1351
   \mathchar"1350
   \mathchar"134E
   \mathchar"134C
   \mathchar"134A
   \mathchar"1348
   \mathchar"1346
   \mathchar"1273
   |&lt;fontmath mathord symbols as op|&gt;%
}
&gt;&gt;&gt;

%    \mathchar"230          |%math prime|%

A prime is typically  placed on letters and digits.


\subsection{2: Binary Operations}

\begin{verbatim}
\mathchardef\triangleleft="212F
\mathchardef\triangleright="212E
\mathchardef\bigtriangleup="2234
\mathchardef\bigtriangledown="2235
\mathchardef\wedge="225E \let\land=\wedge
\mathchardef\vee="225F \let\lor=\vee
\mathchardef\cap="225C
\mathchardef\cup="225B
\mathchardef\ddagger="227A
\mathchardef\dagger="2279
\mathchardef\sqcap="2275
\mathchardef\sqcup="2274
\mathchardef\uplus="225D
\mathchardef\amalg="2271
\mathchardef\diamond="2205
\mathchardef\bullet="220F
\mathchardef\wr="226F
\mathchardef\div="2204
\mathchardef\odot="220C
\mathchardef\oslash="220B
\mathchardef\otimes="220A
\mathchardef\ominus="2209
\mathchardef\oplus="2208
\mathchardef\mp="2207
\mathchardef\pm="2206
\mathchardef\circ="220E
\mathchardef\bigcirc="220D
\mathchardef\setminus="226E % for set difference A\setminus B
\mathchardef\cdot="2201
\mathchardef\ast="2203
\mathchardef\times="2202
\mathchardef\star="213F
\mathcode`\*="2203 % \ast
\mathcode`\+="202B
\mathcode`\-="2200
\end{verbatim}

\&lt;plain,fontmath math classes\&gt;&lt;&lt;&lt;
\Configure{MathClass}{2}{}{}{}{
*-+/
\mathchar"212F
\mathchar"212E
\mathchar"2234
\mathchar"2235
\mathchar"225E 
\mathchar"225F 
\mathchar"225C
\mathchar"225B
\mathchar"227A
\mathchar"2279
\mathchar"2275
\mathchar"2274
\mathchar"225D
\mathchar"2271
\mathchar"2205
\mathchar"220F
\mathchar"226F
\mathchar"2204
\mathchar"220C
\mathchar"220B
\mathchar"220A
\mathchar"2209
\mathchar"2208
\mathchar"2207
\mathchar"2206
\mathchar"220E
\mathchar"220D
\mathchar"226E 
\mathchar"2201
\mathchar"2203
\mathchar"2202
\mathchar"213F
}
&gt;&gt;&gt;


\subsection{3: Relational Operations}

The catcode is needed because 303A is \verb':'.

\&lt;plain,fontmath math classes\&gt;&lt;&lt;&lt;
\Configure{MathClass}{3}{}{}{}{
   \mathchar"3128
   \mathchar"3129
   \mathchar"312A
   \mathchar"312B
   \mathchar"315E
   \mathchar"315F
   \mathchar"3210
   \mathchar"3211
   \mathchar"3212
   \mathchar"3213
   \mathchar"3214
   \mathchar"3215
   \mathchar"3216
   \mathchar"3217
   \mathchar"3218
   \mathchar"3219
   \mathchar"321A
   \mathchar"321B
   \mathchar"321C
   \mathchar"321D
   \mathchar"321E
   \mathchar"321F
   \mathchar"3220
   \mathchar"3221
   \mathchar"3224
   \mathchar"3227
   \mathchar"3232
   \mathchar"3233
   \mathchar"3236
   \mathchar"3237
   \mathchar"323F
   :=&gt;&lt;
   \mathchar"322F
   \mathchar"3276
   \mathchar"3277
   \mathchar"326B
   \mathchar"326A
   \mathchar"3261
   \mathchar"3260
   \mathchar"3225
   \mathchar"3226
   \mathchar"322D
   \mathchar"322E
   \mathchar"322C
   \mathchar"3228
   \mathchar"3229 
}
&gt;&gt;&gt;

%    \mathchar"327C  |%clubsuit|%
%    \mathchar"327D  |%diamondsuit|%
%    \mathchar"327E  |%heartsuit|%
%    \mathchar"327F  |%spadesuit|%



%   \mathchar"340A % rightleftharpoons
%   \mathchar"340B % leftrightharpoons
%

\begin{verbatim}
\mathcode`\&gt;="313E
\mathcode`\&lt;="313C
\mathcode`\=="303D
\mathcode`\:="303A
\mathchardef\leq="3214 \let\le=\leq
\mathchardef\geq="3215 \let\ge=\geq
\mathchardef\succ="321F
\mathchardef\prec="321E
\mathchardef\approx="3219
\mathchardef\succeq="3217
\mathchardef\preceq="3216
\mathchardef\supset="321B
\mathchardef\set="321A
\mathchardef\supseteq="3213
\mathchardef\seteq="3212
\mathchardef\in="3232
\mathchardef\ni="3233 \let\owns=\ni
\mathchardef\gg="321D
\mathchardef\ll="321C
\mathchardef\not="3236
\mathchardef\leftrightarrow="3224
\mathchardef\leftarrow="3220 \let\gets=\leftarrow
\mathchardef\rightarrow="3221 \let\to=\rightarrow
\mathchardef\mapstochar="3237 \def\mapsto{\mapstochar\rightarrow}
\mathchardef\sim="3218
\mathchardef\simeq="3227
\mathchardef\perp="323F
\mathchardef\equiv="3211
\mathchardef\asymp="3210
\mathchardef\smile="315E
\mathchardef\frown="315F
\mathchardef\leftharpoonup="3128
\mathchardef\leftharpoondown="3129
\mathchardef\rightharpoonup="312A
\mathchardef\rightharpoondown="312B
\mathchardef\propto="322F
\mathchardef\sqsubseteq="3276
\mathchardef\sqsupseteq="3277
\mathchardef\parallel="326B
\mathchardef\mid="326A
\mathchardef\dashv="3261
\mathchardef\vdash="3260
\mathchardef\nearrow="3225
\mathchardef\searrow="3226
\mathchardef\nwarrow="322D
\mathchardef\swarrow="322E
\mathchardef\Leftrightarrow="322C
\mathchardef\Leftarrow="3228
\mathchardef\Rightarrow="3229
\end{verbatim}


\subsection{4/5: Delimiters}

\begin{verbatim}
\mathcode`\(="4028
\mathcode`\)="5029
\mathcode`\[="405B
\mathcode`\]="505D
\mathcode`\{="4266
\mathcode`\}="5267
\delcode`\(="028300
\delcode`\)="029301
\delcode`\[="05B302
\delcode`\]="05D303
\def\lmoustache{\delimiter"437A340 } % top from (, bottom from )
\def\rmoustache{\delimiter"537B341 } % top from ), bottom from (
\def\lgroup{\delimiter"462833A } % extensible ( with sharper tips
\def\rgroup{\delimiter"562933B } % extensible ) with sharper tips
\def\backslash{\delimiter"26E30F } % for double coset G\backslash H
\def\rangle{\delimiter"526930B }
\def\langle{\delimiter"426830A }
\def\rbrace{\delimiter"5267309 } \let\}=\rbrace
\def\lbrace{\delimiter"4266308 } \let\{=\lbrace
\def\rceil{\delimiter"5265307 }
\def\lceil{\delimiter"4264306 }
\def\rfloor{\delimiter"5263305 }
\def\lfloor{\delimiter"4262304 }
\def\arrowvert{\delimiter"26A33C } % arrow without arrowheads
\def\Arrowvert{\delimiter"26B33D } % double arrow without arrowheads
\def\bracevert{\delimiter"77C33E } % the vertical bar that extends braces
\def\Vert{\delimiter"26B30D } \let\|=\Vert         How should these be treated?
\def\vert{\delimiter"26A30C }                       "   "       "    "   "
\def\uparrow{\delimiter"3222378 }
\def\downarrow{\delimiter"3223379 }
\def\updownarrow{\delimiter"326C33F }
\def\Uparrow{\delimiter"322A37E }
\def\Downarrow{\delimiter"322B37F }
\def\Updownarrow{\delimiter"326D377 }
\end{verbatim}

The comamnds \verb'\Configure{MathClass}{4}...'
and \verb'\Configure{MathClass}{5}...'
are for unmatched delimiters, and the comamnd
\verb'\Configure{MathDelimiters}{(}{)}' is for matched ones.


\&lt;plain,fontmath math classes\&gt;&lt;&lt;&lt;
\Configure{MathClass}{4}{}{}{}{}
\Configure{MathDelimiters}{(}{)}
\Configure{MathDelimiters}{[}{]}
\Configure{MathDelimiters}{\mathchar"4262}{\mathchar"5263}
\Configure{MathDelimiters}{\mathchar"4264}{\mathchar"5265}
\Configure{MathDelimiters}{\mathchar"4266}{\mathchar"5267}
\Configure{MathDelimiters}{\mathchar"4268}{\mathchar"5269}
\Configure{MathDelimiters}{\mathchar"4300}{\mathchar"5301}
\Configure{MathDelimiters}{\mathchar"4302}{\mathchar"5303}
\Configure{MathDelimiters}{\mathchar"4304}{\mathchar"5305}
\Configure{MathDelimiters}{\mathchar"4306}{\mathchar"5307}
\Configure{MathDelimiters}{\mathchar"4308}{\mathchar"5309} 
\Configure{MathDelimiters}{\mathchar"430A}{\mathchar"530B}
&gt;&gt;&gt;

\begin{verbatim}
\mathcode`\?="503F
\end{verbatim}


\subsection{6: Punctuation Marks}

\begin{verbatim}
\mathcode`\;="603B
\mathcode`\,="613B
\end{verbatim}

\&lt;plain,fontmath math classes\&gt;&lt;&lt;&lt;
\Configure{MathClass}{6}{}{}{}{
\mathchar"613A % ldot
\mathchar"6201 % cdot
\mathchar"603A % colon
?; ,
}
&gt;&gt;&gt;


\subsection{Questions}

\begin{verbatim}


\delcode`\&lt;="26830A
\delcode`\&gt;="26930B
\delcode`\|="26A30C
\delcode`\\="26E30F

% N.B. { and } should NOT get delcodes; otherwise parameter grouping fails!

\def\mathhexbox#1#2#3{\leavevmode
  \hbox{$\m@th \mathchar"#1#2#3$}}
\def\dag{\mathhexbox279}
\def\ddag{\mathhexbox27A}
\def\S{\mathhexbox278}
\def\P{\mathhexbox27B}
\end{verbatim}


\subsection{Type 4: Math Open}


latex.ltx, fontmath.ltx, plain.tex


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Notes}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{To Do}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{itemize}
\item Parametric commands as Superscripts or Subscripts:
    \verb+$E^\frac{1}{2}$+  (instead of \verb+$E^{\frac{1}{2}}$+).

\item
 Numbering is not right justified:

\begin{verbatim}
\documentclass{amsart}
 \begin{document}
 
 \begin{eqnarray} 
 A &amp;=&amp; B + C 
 \end{eqnarray} 
 
 \begin{align} 
 A &amp;= B + C \qquad &amp; N &amp;= G + F 
 \end{align} 
 
 \begin{alignat}{2} 
 A &amp;= B + C \qquad \qquad &amp; N &amp; = G + F 
 \end{alignat} 

\begin{gather}
A = B + C \tag{my equation} \\
B = \text{variable unknown} \notag \\
Y = \max X + \log 10
\end{gather}

\end{document}
\end{verbatim}


\item
\begin{verbatim}
\begin{align}
e &amp;= a + b \\
\intertext{this should be located on the left browser hand margin}
a &amp;= u
\end{align}

\end{verbatim}

\end{itemize}

\endinput
</pre></body></html>