Difference between revisions of "Equations in Word"

From Sutherland_wiki
Jump to: navigation, search
m (Formatting an Equation)
(Numbering and Cross-Referencing Equations)
Line 18: Line 18:
  
 
== Numbering and Cross-Referencing Equations ==
 
== Numbering and Cross-Referencing Equations ==
 +
Occasionally, you need to make an equation appear on its own line.  Most commonly, the equation is centered on a line, and if it is numbered the number appears right-justified.  The following steps represent a general procedure to accomplish this, and will allow for automatic numbering and cross-referencing of equations in MS Word.
  
This procedure is based on a [http://support.microsoft.com/kb/212381/EN-US/#appliesto Microsoft article].
 
 
# On a new line, insert a '''tab''', then insert the '''equation''', then insert another '''tab'''.
 
# On a new line, insert a '''tab''', then insert the '''equation''', then insert another '''tab'''.
 
# Choose '''Insert→Caption''', and select '''Equation''' as the label type.
 
# Choose '''Insert→Caption''', and select '''Equation''' as the label type.
Line 29: Line 29:
 
# Right-click on the cell containing the formula and choose '''Cell Alignment→Align Center'''.
 
# Right-click on the cell containing the formula and choose '''Cell Alignment→Align Center'''.
 
# Right-click on the cell containing the label and choose '''Cell Alignment→Align Center Right'''.
 
# Right-click on the cell containing the label and choose '''Cell Alignment→Align Center Right'''.
 +
 +
This procedure is based on a [http://support.microsoft.com/kb/212381/EN-US/#appliesto Microsoft article].
 +
 +
Note that step 3 only needs to be done once per document.  After it has been done once
 +
 +
If we apply this procedure to the previous example, we obtain something that looks like:
 +
[[image:MSEqnExample2.png|center|frame]]
 +
 +
=== Creating Cross References ===
 +
Using the procedure outlined above, we have created labels (numbering) for our equation.  Now we can insert a cross-reference.  This is very useful when editing a document that has several equations, and is particularly useful when a new equation is inserted that may change the numbering.  Using cross-references will automatically renumber your equations.
 +
 +
Choose '''Insert→Cross-Reference''' and select the equation from the dialogue box that you want to reference.  Then select '''Insert''' to complete the cross reference.
 +
 +
=== Exercise ===
 +
Insert another equation as shown below before the methane combustion equation we had previously.  Add cross-references as shown.  Note that the <var>CH<sub>4</sub>+2O<sub>2</sub></var> equation is automatically renumbered.  Cross-references will be similarly renumbered.
 +
 +
[[image:MSEqnExample3.png|frame|center]]

Revision as of 15:39, 25 August 2008

Warn.jpg
This page is a stub and needs to be expanded.
If you can provide information or finish this page you're welcome to do so and then remove this message afterwards.


Using the Equation Editor

Within MS Word, select Insert→Object and then select Microsoft Equation. This launches the MS Equation Editor:

Error creating thumbnail: Unable to save thumbnail to destination


From here you can create an equation. Click the items in the menu to format your equation. For example, the
Error creating thumbnail: Unable to save thumbnail to destination
button allows you to create superscripts and subscripts. Once you are done entering your equation, quit the equation editor. The equation will now appear in your Word document at the cursor location.

Formatting an Equation

MS Word is not good at formatting equations to fit the size and style of your text. Therefore, once you enter an equation, you may need to resize it to look consistent with the text. Tip: when resizing an equation, drag the corner of the equation box to scale the equation. If you drag the side or top/bottom of the box it will stretch the equation.

Exercise

Try to duplicate the following using MS Word. If necessary, rescale the equation to the appropriate size.

Error creating thumbnail: Unable to save thumbnail to destination


Numbering and Cross-Referencing Equations

Occasionally, you need to make an equation appear on its own line. Most commonly, the equation is centered on a line, and if it is numbered the number appears right-justified. The following steps represent a general procedure to accomplish this, and will allow for automatic numbering and cross-referencing of equations in MS Word.

  1. On a new line, insert a tab, then insert the equation, then insert another tab.
  2. Choose Insert→Caption, and select Equation as the label type.
  3. Click the New Label button and enter a ( and click OK.
  4. Enter a ) after the caption and push enter.
  5. Select the entire line of text & choose Table→Convert→Convert Text to Table.
  6. Choose 3 columns & click OK.
  7. Choose Format→Borders and Shading and click the none box.
  8. Right-click on the cell containing the formula and choose Cell Alignment→Align Center.
  9. Right-click on the cell containing the label and choose Cell Alignment→Align Center Right.

This procedure is based on a Microsoft article.

Note that step 3 only needs to be done once per document. After it has been done once

If we apply this procedure to the previous example, we obtain something that looks like:

Error creating thumbnail: Unable to save thumbnail to destination

Creating Cross References

Using the procedure outlined above, we have created labels (numbering) for our equation. Now we can insert a cross-reference. This is very useful when editing a document that has several equations, and is particularly useful when a new equation is inserted that may change the numbering. Using cross-references will automatically renumber your equations.

Choose Insert→Cross-Reference and select the equation from the dialogue box that you want to reference. Then select Insert to complete the cross reference.

Exercise

Insert another equation as shown below before the methane combustion equation we had previously. Add cross-references as shown. Note that the CH4+2O2 equation is automatically renumbered. Cross-references will be similarly renumbered.

Error creating thumbnail: Unable to save thumbnail to destination