Maple 代码的乳胶输出不正确

Maple 代码的乳胶输出不正确

我将 maple 代码导出为 Latex 文件并得到以下不良输出:

 \documentclass{article}
 \usepackage{maplestd2e}
 \def\emptyline{\vspace{12pt}}
 \begin{document}
 \pagestyle{empty}
 \DefineParaStyle{Maple Bullet Item}
 \DefineParaStyle{Maple Heading 1}
 \DefineParaStyle{Maple Warning}
 \DefineParaStyle{Maple Heading 4}
 \DefineParaStyle{Maple Heading 2}
 \DefineParaStyle{Maple Heading 3}
 \DefineParaStyle{Maple Dash Item}
 \DefineParaStyle{Maple Error}
 \DefineParaStyle{Maple Title}
 \DefineParaStyle{Maple Text Output}
 \DefineParaStyle{Maple Normal}
 \DefineCharStyle{Maple 2D Output}
 \DefineCharStyle{Maple 2D Input}
 \DefineCharStyle{Maple Maple Input}
 \DefineCharStyle{Maple 2D Math}
 \DefineCharStyle{Maple Hyperlink}
 \begin{Maple Normal}{
 \begin{Maple Normal}{
 \mapleinline{inert}{2d}{with(DifferentialGeometry); -1}{\[\displaystyle \]}
 }\end{Maple Normal}
 }\end{Maple Normal}
 \begin{Maple Normal}{
 \begin{Maple Normal}{
 \mapleinline{inert}{2d}{with(Tensor); -1}{\[\displaystyle \]}
 }\end{Maple Normal}
 }\end{Maple Normal}
 \begin{Maple Normal}{
 \begin{Maple Normal}{
 \mapleinline{inert}{2d}{DifferentialGeometry:-DGsetup([x, y, z], M)}{\                              [\displaystyle {\it DGsetup} \left( [x,y,z],M \right) \]}
 }\end{Maple Normal}
 }\end{Maple Normal}
 \begin{maplegroup}
 \begin{Maple Normal}{
 \mapleinline{inert}{2d}{DifferentialGeometry:-DGsetup([x, y, z], M)}{\     [\displaystyle {\it DGsetup} \left( [x,y,z],M \right) \]}
 }\end{Maple Normal}
 \mapleresult
 \begin{maplelatex}
 \mapleinline{inert}{2d}{`frame name: M`}{\[\displaystyle \mbox {{\tt `frame      name: M`}}\]}
 \end{maplelatex}
 \end{maplegroup}
 \begin{Maple Normal}{
 \begin{Maple Normal}{
 \mapleinline{inert}{2d}{a := DifferentialGeometry:-evalDG(D_x)}{\[\displaystyle a\, := \,{\it evalDG} \left( {\it D\_x} \right) \]}
 }\end{Maple Normal}
 }\end{Maple Normal}
 \begin{maplegroup}
 \begin{Maple Normal}{
 \mapleinline{inert}{2d}{a := DifferentialGeometry:-evalDG(D_x)}{\     [\displaystyle a\, := \,{\it evalDG} \left( {\it D\_x} \right) \]}
 }\end{Maple Normal}
 \mapleresult
 \begin{maplelatex}
 \mapleinline{inert}{2d}{_DG([["vector", M, []], [[[1], 1]]])}{\[\displaystyle \, DifferentialGeometry:-TeXVectorList[M][1]\]}
 \end{maplelatex}
 \end{maplegroup}
 \end{document}

在此处输入图片描述

有人知道哪里出了问题吗?值得注意的是,Latex 文件编译时没有任何错误。

相关内容