Importing Equations written in LaTeX or MS Word

Elham Esfehani

The example equation that is going to be transformed has the form

a = b \cdot c_{d}     (1)

Importing an Equation from a \LaTeX document 

Transforming the \LaTeX code To make \LaTeX code usable in MOSAICmodeling

  • Select the Equation Editor in the Editor Bar on the left hand side.
  • ˆClick at the arrow of the combo box to the left of the [Import] button and select LaTeX 2.09 from the list.
  • ˆClick [Import] to open the transform dialog.
  • ˆCopy the equation out of the \LaTeX document and paste it into the text field. Alternatively, you can use the following code
     a=b\times c_d
  • Click [Submit] to transform the equation into MosaicLatex and to close the transform dialog. The transformed equation appears in the field MosaicLaTeX. The equation is now transformed into MosaicLaTeX. Continue to import the equation in the usual way described in tutorials.

Importing an Equation from MathType
MathType is a software that allows to improved editing of mathematic content in Microsoft Word. It also provides an export functionality to Latex 2.09, which can be used to export equations written in Word to MOSAICmodeling

Preparing MathType Before mathematic expressions can be copied to MOSAICmodeling the following steps have to be done in MathType.

  • Start MathType
  • ˆClick [Preferences] in the menu bar
  • ˆClick [Translators] in the drop down menu
  • Select Translation to other language (text). Select TeX - \LaTeX
    2.09 and later
    as translator.

Equations in the MathType window are now translated to \LaTeX 2.09 when
they are copied.

Creating and Using an equation

  • Create or open a Word equation in MathType
  • ˆFollow the instructions from the first section with the following difference:
  • ˆInstead of copying a Latex expression, select and copy the whole symbolic expression within MathType.
  • ˆHint: There will be additional code pasted along with the equation which will be shown in the text field of the transform dialog. This code will be removed automatically during the export.

Importing an Equation from Word 2007
First create a Word document with equation(1) by yourself.
Transforming the Word code into MosaicLatex

  • ˆSelect the Equation Editor in the Editor Bar on the left hand side.
  • ˆClick at the arrow of the combo box to the left of the [Import] button and select Word 2007 from the list.
  • ˆClick Import to open the transform dialog.
  • ˆCopy the equation out of the Word document and paste it into the text field.
  • ˆClick [Submit] to transform the equation into MosaicLatex and to close the transform dialog. The transformed equation appears in the field MosaicLatex.