Using MathType with Corel WordPerfect 7.0
The information in this document applies to:
MathType 3.1 (Win)
MathType 3.5 (Win)
MathType 4.0 (Win)
|
Corel WordPerfect 7.0 (Win)
|
Issue
I'd like to be able to access MathType from Corel WordPerfect's toolbar, or
by making a keyboard shortcut. Also, how can I make sure that the
equations line up properly with the text in the document?
Solution
Within WordPerfect 7.0, it is possible to create a macro to launch MathType which you
can later call from a toolbar button or keyboard shortcut. This will be discussed later in
this notice. To build the macro file, do the following:
- Launch WordPerfect.
- Select Macro Bar from the Macro menu item located under WordPerfect's Tools menu.
- In a new document, type the following:
Application (WordPerfect; "WordPerfect"; Default; "US")
OLEInsertObject (ObjectType: "Equation"; DisplayMode: DisplayNormal!)
- Click the Options button located on the macro toolbar.
- Select Save As Macro.
- In the Name field, type
MATHTYPE EQUATION.WCM.
- Press Save.
- Select Close from WordPerfect's File menu.
Creating a Toolbar Button to Launch MathType
With WordPerfect 7.0, it is possible to run macros via a user-defined toolbar
button. If you have not yet made the macro file to launch MathType, please read Creating a Macro to Launch
MathType above.
In order to launch MathType via a toolbar button, do the following:
- Launch WordPerfect.
- Right mouse click on the toolbar on which that you want the new button to appear.
- Select Edit... from the pop-up menu; this will produce a dialog with four tabs.
- Select the Macro tab.
- Click Add Macro.
- From the list of macro files, highlight the
MATHTYPE
EQUATION.WCM file by single clicking on it.
- Click Select.
- When prompted to 'Save macro with full path', select Yes.
- Click OK.
You will now see a button located at the end of the row of visible buttons on the
toolbar you selected that looks like a tape cassette. When you move your mouse over the
button, the tooltip window will display "MathType Equation". This button will
now run the macro that launches MathType. For more information concerning the assignment
of macros to a toolbar button, please consult your WordPerfect manual or help file.
Creating a Keyboard Shortcut to Launch MathType
With WordPerfect 7.0, it is possible to run macros via a user-defined keyboard
shortcut. If you have not yet made the macro file to launch MathType, please read the
section above Creating a Macro to Launch
MathType.
To create a keyboard shortcut, do the following:
- Launch WordPerfect.
- Select Preferences from WordPerfect's Edit menu.
- Double-click on the Keyboard icon.
At this point you have the option of either editing one of your existing keyboard
shortcut files or creating a new one. If you do not have a keyboard shortcut file created:
- Click Create.
- In the New keyboard name text field, type
MathType.
- Click OK and proceed to step 4 below
If you wish to edit an existing keyboard shortcut file:
- Select the keyboard shortcut file that you wish to edit.
- Click Edit and proceed to step 4 below.
- From the list of keyboard shortcuts, select the one you wish to use (i.e. E-CTRL)
- On the macro tab, press Assign Macro to Key.
- From the list of macro files, highlight the
MATHTYPE
EQUATION.WCM file by single clicking on it.
- Click Select.
- When prompted to 'Save macro with full path', select Yes.
- Click OK; this will place you back on the Keyboard Preferences dialog.
- Select the new keyboard shortcut file from the list if it is not already
highlighted.
- Click Select to Return to the main Preferences dialog.
- Click Close.
Whenever you use your select keyboard shortcut, it will run the macro that launches
MathType. For more information concerning the assignment of macros to a keyboard shortcut,
please consult your WordPerfect manual or help file.
Automatic Vertical Placement of Equation Objects
WordPerfect now places MathType objects in-line and attempts to automatically adjust
the vertical position of the expression on the line. This feature only works when
following the methods listed above or when inserting a MathType expression via the Insert
Object dialog.
Using a manual paste procedure to insert MathType objects into WordPerfect produces a
slightly different result:
- All objects will, by default, be page anchored, meaning that they will not be in-line
and will not flow with the rest of your text but rather your text will flow around the
object. You will need to change the anchoring to Character before the equation will sit
in-line at all.
- WordPerfect will not attempt to automatically baseline the equation objects but rather
will align them at the top of object. These objects will need to be adjusted manually
through WordPerfect's Custom Positioning option. The procedure needed to do this is
described in the section below.
Fine tuning equation alignment
If you find that your equations are not aligning with the text of the document
correctly, it can be manually adjusted by doing the following:
- Using the right-side button on your mouse, click on the equation object; this will
produce a pop-up menu.
- Select Position to display the Box Position dialog.
- If it is not already selected, select Custom to enable the numeric field
located to the right of the option.
- Change the value in the numeric field. A value of 1.0 will align the object at the
extreme bottom while a value of 0.0 will align the object at the extreme top. Changes will
not display until you press OK so you may need to do this process more than once to get it
perfectly aligned.
|