<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% RCS: $Id: mathml.ltx,v 1.2 1999/08/12 11:59:08 rahtz Exp $
%% File: fotex.ltx Copyright 1999 Sebastian Rahtz
%%
%% This package may be distributed under the terms of the LaTeX Project Public
%% License, as described in lppl.txt in the base LaTeX distribution.
%% Either version 1.0 or, at your option, any later version.
%%
% MathML formatting objects
%
\let\mathfrak\undefined
\let\mathfrak\undefined
\let\vDash\undefined
\let\eth\undefined
\RequirePackage{amssymb}
\RequirePackage{amstext}
\def\w@t{}
\let\@@over\over
\newcount\@Pending
\newcount\@MoCount
\newcount\XML@subeqncnt
\XML@subeqncnt0
\@MoCount0
\@Pending1
\def\XML@PendingI{}
\def\XML@PendingII{}
\XMLdef&lt;fotex:inlinemath&gt;{$}
\XMLdef&lt;/fotex:inlinemath&gt;{$}
\XMLdef&lt;fotex:displaymath&gt;{\begin{displaymath}}
\XMLdef&lt;/fotex:displaymath&gt;{\end{displaymath}}
\XMLdef&lt;fotex:eqnarray&gt;{%
    \XMLattributes\XMLlabel{\XMLid}%
    \bgroup\global\XML@subeqncnt0\begin{eqnarray*}}
\XMLdef&lt;/fotex:eqnarray&gt;{\end{eqnarray*}\egroup}
\XMLdef&lt;fotex:equation&gt;{%
  \XMLattributes\XMLlabel{\XMLid}%
  \begin{equation}}
\XMLdef&lt;/fotex:equation&gt;{\end{equation}}
\XMLdef&lt;fotex:subeqn&gt;{%
   \XMLattributes\XMLlabel{\XMLid}%
   \global\advance\XML@subeqncnt by 1
   \ifnum\XML@subeqncnt=2\else\def\w@t{\\}%
   \fi
   \w@t
}
\XMLdef&lt;/fotex:subeqn&gt;{}
\XMLdef&lt;math&gt;{}
\XMLdef&lt;/math&gt;{}
\XMLdef&lt;mtable&gt;{\begin{array}{*{99}{c}}}
\XMLdef&lt;/mtable&gt;{\end{array}}
\XMLdef&lt;mfrac&gt;{\bgroup\@Pending1\def\XML@PendingII{\@@over}}
\XMLdef&lt;/mfrac&gt;{\egroup}
\XMLdef&lt;mi&gt;{\BGroup}
\XMLdef&lt;/mi&gt;{\egroup}
\XMLdef&lt;mn&gt;{\BGroup}
\XMLdef&lt;/mn&gt;{\egroup}
\XMLdef&lt;mo&gt;{\BGroup}
\XMLdef&lt;/mo&gt;{\egroup}
\XMLdefempty&lt;mrow/&gt;{}
\XMLdef&lt;mrow&gt;{\BGroup}
\XMLdef&lt;/mrow&gt;{\egroup}
\XMLdef&lt;msub&gt;{\bgroup\@Pending1\def\XML@PendingII{_}}
\XMLdef&lt;/msub&gt;{\egroup}
\XMLdef&lt;msubsup&gt;{\bgroup\@Pending0\def\XML@PendingI{_}\def\XML@PendingII{^}}
\XMLdef&lt;/msubsup&gt;{\egroup}
\XMLdef&lt;msup&gt;{\bgroup\@Pending1\def\XML@PendingII{^}}
\XMLdef&lt;/msup&gt;{\egroup}
\XMLdef&lt;mtd&gt;{}
\XMLdef&lt;/mtd&gt;{&amp;}
\XMLdefempty&lt;mtext/&gt;{}
\XMLdef&lt;mtext&gt;{\hbox\bgroup}
\XMLdef&lt;/mtext&gt;{\egroup}
\XMLdef&lt;mtr&gt;{}
\XMLdef&lt;/mtr&gt;{\\}
\XMLdef&lt;mover&gt;{}
\XMLdef&lt;/mover&gt;{}
\XMLdefempty&lt;mspace/&gt;{\XMLattributes\hspace{\XML@width}}
\XMLdef&lt;msqrt&gt;{\sqrt\bgroup}
\XMLdef&lt;/msqrt&gt;{\egroup}
\XMLdef&lt;munderover&gt;{}
\XMLdef&lt;/munderover&gt;{}
\XMLdef&lt;mfenced&gt;{\bgroup\XMLattributes\left\XML@fenceopen}
\XMLdef&lt;/mfenced&gt;{\right\XML@fenceclose\egroup}
\catcode`\{=12\catcode`\}=12\catcode`x=1\catcode`y=2
\def\XML@lbracex{y
\def\XML@rbracex}y
\catcode`\{=1\catcode`\}=2\catcode`x=11\catcode`y=11
\define@key{XML}{open}{%
 \def\@tempa{#1}\ifx\@tempa\XML@lbrace\def\XML@fenceopen{\{}\else
 \def\XML@fenceopen{#1}\fi
}
\define@key{XML}{close}{%
  \def\@tempa{#1}\ifx\@tempa\XML@rbrace\def\XML@fenceclose{\}}\else
  \def\XML@fenceclose{#1}\fi
}
\define@key{XML}{width}{\def\XML@width{#1}}
\def\XML@fenceopen{.}
\def\XML@fenceclose{.}
\def\BGroup{%
 \def\w@t{}%
 \ifcase\@Pending% 0
    \@Pending1
 \or%1
    \let\w@t\XML@PendingI\def\XML@PendingI{}%
    \@Pending2
 \or%2
    \let\w@t\XML@PendingII\def\XML@PendingII{}%
    \@Pending1
 \fi
 \w@t
 \bgroup
 \def\XML@PendingII{}%
}
\let\XML@textgreater\textgreater
\def\textgreater{%
 \ifmmode&gt;\else\XML@textgreater\fi
}
\let\XML@textless\textless
\def\textless{%
 \ifmmode&lt;\else\XML@textless\fi
}
\endinput
</pre></body></html>