Equations


It is often useful to include formatted equations in web pages, but constructing these in a drawing program can be tedious. To help with this, Bridge includes a simple equation object that will create equations for you. For example:

emc

Steps:
  1. In the full editor, go to the site (folder) where you want to put the equation and choose "Add to..." from the "File" menu.
  2. Select "Objects" and then "Blank equation". Click "Create". A new object named "Untitled Equation" will appear in the site.
  3. Click on the object and select "Rename..." from the "File" menu. Give the equation a new name. In this example, I called the equation "emc".
  4. Double-click the equation object to open it.
  5. Enter the equation that you want to render in the text field at the top. In this example, I entered "e=mc^2". Note that:
    • As you type, the rendered equation will be updated in the "Preview" box.
    • You may need to use more parentheses than would normally be required. Eventually the equation editor will be smarter about this!
    • Examples of square roots, integrals, sums, and brackets are shown in the editor.
  6. Once the equation looks the way you want it to, open a page (in the full editor) on which you want the equation to appear and enter the name of the equation object enclosed in backslashes at the place where you want the equation on the page. In this example, I added "\emc\".

The equation editor can currently handle some fairly complex equations. For example, the equation "d = (((c) ^ 2) * S((x = 5), 15, (I(0, 5, x) + ([(2 ^ (z + 6)) / 5)]) ^ R(x^(y+5))))))" will be rendered as:

complex

There are, however, a few basic things that are not (yet) handled, such as parentheses, non-square roots, subscripts, and greater- or less-than.

In addition to simply adding equations to web pages, you can also add them to drawing objects to annotate them:

emc sketch

Steps:
  1. Create the equation that you want to annotate (see above).
  2. Create a new Drawing by selecting "Add to..." from the "File" menu, selecting "Objects", and then selecting "Blank Drawing".
  3. Rename the new drawing by selecting it and choosing "Rename" from the "File" menu. In this case I named the drawing "emc sketch".
  4. Open the drawing and choose the image tool -- the one with the picture in a frame on it.
  5. Click somewhere on the drawing. When the "Image Source" window opens, select "From this object: " and choose the equation from the popup list. In this case I selected the "emc" equation from the earlier example.
  6. Use the other drawing tools to add annotations.
  7. To add the annotated equation to a web page, put the name of the drawing enclosed in backslashes in the web page. For example, "\emc sketch\".


/public/support/FullEditorTutorial/Equation Editor/Home Login | Web Editor | Full Editor
Last modified 6/3/03 9:21 AM by dunlapd (history)
Site contents