4.15 Underline and Overline

<..configure docbook latex..>+
 \Configure{underline}
    {\HCode{<emphasis role="underline">}\:gobble}
    {\HCode{</emphasis>}}
 \Configure{overline}
    {\HCode{<emphasis role="overline">}}
    {\HCode{</emphasis>}}
-_-_-

<..configure docbook plain..>+
 \Configure{underline}
    {\HCode{<emphasis role="underline">}\hbox\bgroup \:gobble}
    {\egroup \HCode{</emphasis>}}
 \Configure{overline}
    {\HCode{<emphasis role="overline">}}
    {\HCode{</emphasis>}}
-_-_-

<..configure docbook-mml latex..>+
 \Configure{overline}
    {\bgroup\ifmathml <.mathml overline.>\else
          \HCode{<emphasis role="overline">}\fi}
    {\ifmathml <.end mathml overline.>\else \HCode{</emphasis>}\fi\egroup}
 \Configure{underline}
    {\bgroup
     \ifmathml <.mathml underline.>%
     \else <.nomath underline.>\HCode{<emphasis role="underline">}\fi}
    {\ifmathml <.end mathml underline.>\else \HCode{</emphasis>}\fi \egroup}
-_-_-

<..mathml latex..>
 <.und/ov-erline.>
-_-_-

<..mathml plain..>
 <.und/ov-erline.>
-_-_-

<..und/ov-erline..>
 \Configure{overline}
    {\bgroup <.mathml overline.>}
    {<.end mathml overline.>\egroup}
 \Configure{underline}
    {\bgroup \ifmmode <.mathml underline.>\else
      <.nomath underline.>\fi}
    {<.end mathml 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:}%
-_-_-

<..mathml overline..>
 \HCode{<\a:mathml mover  accent="false"\Hnewline
 \mml:class="mml-overline"><\a:mathml mrow>}%
-_-_-

<..end mathml overline..>
 \HCode{</\a:mathml mrow><\a:mathml mo\Hnewline
  accent="true">&\#x00AF;</\a:mathml mo>%
 </\a:mathml mover>}%
-_-_-

&#x00AF; is the code of &OverBar;

<..mathml underline..>
 \HCode{<\a:mathml munder \a:mathml accentunder="false"\Hnewline
 \mml:class="mml-underline"><\a:mathml mrow>}%
-_-_-

<..end mathml underline..>
 \HCode{</\a:mathml mrow><\a:mathml mo\Hnewline
 accent="true">&\#x0332;</\a:mathml mo></\a:mathml munder>}%
-_-_-

&#x0332; is the code of &UnderBar;