# General techniques for using MathType with other applications and websites

If none of the applications listed on the previous page is what you're using, one of the techniques described below should help when using MathType with other applications and websites.

Many Windows applications support Object Linking and Embedding (OLE). Most of them have an Insert Object command (or an Object… command on its Insert menu or elsewhere). If your application doesn't have such a command, look up Object Linking and Embedding or OLE in the index of its user documentation. The Insert Object command brings up a dialog containing a list of all the kinds of objects that may be inserted. Choose "MathType 7.0 Equation" and MathType will open an equation editing window. Create your equation, close the window when you are done, and the new equation will appear in the document. Any time you want to edit the equation, just double-click it. If your favorite application does not support OLE, request it from the vendor. Most software vendors like to get feedback from their customers, just like we do.

At its core, a MathType equation is a graphical image (but a WMF or PICT/PDF vector image, rather than a bitmap image, such as GIF). If your application accepts graphics via the clipboard, you can run MathType from the Windows Start menu or Mac Applications folder, create an equation, and paste it into your application. Your application may also support drag and drop but that will generally give the same result. When using MathType this way, you don't have to restart it for each new equation. Just leave its editing window open for your entire session. When you need to create a new equation, bring the MathType window to the front, choose the Select All command on the Edit menu (Ctrl+A/+A), hit the Delete key to clear out the last equation, and create your new equation ready to paste. Later, if you need to edit an equation, you can usually use Cut or Copy, then Paste it back into a MathType editing window. After you make your edits, just copy and paste it over the old one.

### Cut and Copy Preferences dialog

This dialog allows you to specify what kind of information will be placed on the clipboard whenever you use the Cut or Copy commands on the Edit menu, or when you drag & drop an equation from the MathType editing window. (For the remainder of this topic, when we use the terms cut, copy, and/or paste, the same behavior applies to drag & drop, but we will not explicitly state such.) Normally, Cut or Copy will place a graphic image of the selected part of the equation onto the clipboard, ready to be pasted into a document. However, using the options in this dialog, you can have the selected equation or fragment translated into text in one of the computer languages or for one of the applications or websites for which a translator is available.

#### Equation object (Windows OLE graphic)

Click this option to place an equation object on the clipboard. This is the default and is normally used to transfer equation material between one MathType window and another, or between a MathType window and another application, such as a word processor. When you paste an equation into another application's window, how it is handled depends on that application. If the application is OLE-compatible, it will be treated as a new OLE object. If the application is not OLE-compatible, it will be treated as a graphic image.

#### MathML or TeX

MathType is supplied with several translators that allow equations to be translated into other computer languages, TeX and MathML. Click this option to cause MathType to translate the selected equation whenever you use the Cut or Copy command.

Use this listbox to choose from one of the translators currently available to MathType. The text of each list item describes the computer language (or variant) that the translator can translate equations into. In addition to the translators that are installed as part of MathType , there may be other translators available from third-party sources. It is also possible to create your own translator or modify an existing one. See Working with MathML and Working with TeX for information on the translators that are installed with MathType.

Include translator name in translation

This option instructs the translator software to place the name of the translator in the translation. This is used by MathType 's integration with Microsoft Word to allow its Convert Equations command to find the equations in the document. If you are using MathType with a TeX application instead of Word, you should leave this option unchecked. Some translators may ignore this option.

Include MathType data in translation

This option instructs the translator software to place MathType's equation representation in the translation. This allows the equation to be pasted back into MathType for later editing and should normally be checked. Some translators may ignore this option.

Note
It is possible to paste raw TeX into MathType , and normally MathType will understand it and produce the equation you want, but be aware that if you clear this option, you might not be able to completely edit the resulting text equation in MathType , or convert it back to a MathType equation object using Convert Equations in Word. Therefore, you should use care when clearing this option.

#### Equation for application or website

Many applications and websites accept TeX or MathML, but may mark it up in a special way, or with special delimiters. For example, instead of $\frac{1}{2}$, some applications want $\frac{1}{2}$. By selecting the appropriate application or website from this list and copying the equation from MathType , you don't have to worry about specific formats for your favorite applications & sites.

Some applications support a standard for using MathML as an exchange format for Copy and Paste (or drag and drop). The type of MathML used is controlled by choosing one of the MathML translators from the Cut and Copy Preferences dialog. There may already exist in MathType's list of translators one specifically tailored to your intended target. If not, by experimenting, you may be able to obtain better results with Copy and Paste.

### MathML translators

MathType provides output translators for MathML, a recommendation from the World Wide Web Consortium for encoding mathematics for the Web. MathML is a worldwide standard but its implementation is not standard, so there are differences in the support for MathML in other software. Therefore, MathType includes translators to generate MathML 2.0. These translators are packaged in slightly different ways for the various browsers, browser plug-ins, and software applications that support MathML.

The MathML translators provided with MathType are:

• MathML 2.0 (m namespace)
All MathML tags are prefixed with an m: namespace.
• MathML 2.0 (namespace attr)

#### MathJax

All browsers have a common contextual (right-click/ctrl+click) menu for MathJax equations:

MathJax equations may be in LaTeX format, or they may be in MathML format. Either way, by clicking Show Math As, you can copy the code and paste it into MathType to use the equation in your work. For MathML, choose the Original MathML option, not the MathML Code one.

#### Images

If you are using Chrome or Safari browsers, the contextual menu will be similar to that shown for Firefox.

 Firefox for Windows Internet Explorer

To use equations from the web, there are a couple of techniques to try:

• The image may have "alt text" that MathType can use. In fact, most of the usable equation images on the web fall into this category. To use these equations, click and drag it over to MathType , or select it and copy it, then paste it into MathType . (It's better to use the Ctrl+C/+C shortcut to copy, rather than to use the right-click menu at this point.)
• If that doesn't work and you're using Internet Explorer, right-click the equation and choose Copy from the menu. If you're using any other browser, choose Copy Image Location, Copy image URL, Copy Image Address, or similar command. Paste into MathType .

If these techniques don't work, the equation isn't usable by MathType. If this capability is important, it may be worthwhile to contact the editor of the website and mention how important it is to you that the equations be in one of the formats mentioned above.