\documentclass{article}

\title{Example}
\author{JC}

\usepackage{maple2e}
 \def\emptyline{\vspace{12pt}}
\DefineParaStyle{Maple Output}
\DefineCharStyle{2D Math}
\DefineCharStyle{2D Output}

\begin{document}

\maketitle

This is a test of merging Maple into \TeX.


\begin{maplegroup}
\begin{mapleinput}
\mapleinline{active}{1d}{100!;}{%
}
\end{mapleinput}

\mapleresult
\begin{maplelatex}
\mapleinline{inert}{2d}{933262154439441526816992388562667004907159682643816214685929638952175
9999322991560894146397615651828625369792082722375825118521091686400000
0000000000000000000;}{%
\maplemultiline{
93326215443944152681699238856266700490715968264381621468592963895
\backslash  \\
21759999322991560894146397615651828625369792082722375825118
\backslash  \\
5210916864000000000000000000000000 }
%
}
\end{maplelatex}

\end{maplegroup}
\begin{maplegroup}
\begin{mapleinput}
\end{mapleinput}

\end{maplegroup}



\end{document}

