2.8 Underline and Overline

<..configure html-mltx latex..>+
 \Configure{overline}
    {\bgroup\ifmathltx <.mathltx overline.>\else
          \HCode{<span class="overline">}\fi}
    {\ifmathltx <.end mathltx overline.>\else \HCode{</span>}\fi\egroup}
 \Configure{underline}
    {\bgroup
     \ifmathltx <.mathltx underline.>%
     \else <.nomath underline.>\HCode{<span class="underline">}\fi}
    {\ifmathltx <.end mathltx underline.>\else \HCode{</span>}\fi \egroup}
-_-_-

<..mathltx latex..>+
 <.und/ov-erline.>
-_-_-

<..mathltx plain..>+
 <.und/ov-erline.>
-_-_-

<..und/ov-erline..>
 \Configure{overline}
    {\bgroup <.mathltx overline.>}
    {<.end mathltx overline.>\egroup}
 \Configure{underline}
    {\bgroup \ifmmode <.mathltx underline.>\else
      <.nomath underline.>\fi}
    {<.end mathltx underline.>\egroup}
-_-_-

<..nomath underline..>
 \expandafter\everymath
 \expandafter{\expandafter\everymath
              \expandafter{\the\everymath}}%
 \let\o::@underline:\o:@@underline:
 \def\o:@@underline:{\let\o:@@underline:\o::@underline:}%
-_-_-

<..mathltx overline..>
 \HCode{\string\overline\l:brace}%
-_-_-

<..end mathltx overline..>
 \HCode{\r:brace}%
-_-_-

<..mathltx underline..>
 \HCode{\string\underline\l:brace}%
-_-_-

<..end mathltx underline..>
 \HCode{\r:brace}%
-_-_-

&#x0332; is the code of &UnderBar;

<..mathltx plain..>+
 <.arr: amsmath, amstex1.>
-_-_-