Difference between revisions of "Documentation/How Tos/Doing Formulas in Writer Calc and Impress"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Formatting the Formula)
Line 2: Line 2:
  
 
How do you do that in OpenOffice?  
 
How do you do that in OpenOffice?  
 +
 +
  
 
==Using the Special Characters Window==
 
==Using the Special Characters Window==
 +
 
# If you just want a Special Character, pi or lambda or something, choose '''Insert > Special Character'''.
 
# If you just want a Special Character, pi or lambda or something, choose '''Insert > Special Character'''.
 
# Find the special character you want. If you select several you will see them all displayed at the bottom of the window and they will all be inserted.
 
# Find the special character you want. If you select several you will see them all displayed at the bottom of the window and they will all be inserted.
Line 9: Line 12:
  
 
{{Documentation/Tip |If you have to insert the same formula several times you can make an AutoText entry for it.}}
 
{{Documentation/Tip |If you have to insert the same formula several times you can make an AutoText entry for it.}}
 +
 +
  
 
==Using the Formulas Features==
 
==Using the Formulas Features==
Line 28: Line 33:
 
[[Image:Doc_howto_b_over_pi.png|thumb|none|500px|Enter a + b over %pi in the editing window]]
 
[[Image:Doc_howto_b_over_pi.png|thumb|none|500px|Enter a + b over %pi in the editing window]]
 
[[Image:Doc_howto_a_and_b_over_pi.png|thumb|none|500px|Enter (a + b) over %pi in the editing window]]
 
[[Image:Doc_howto_a_and_b_over_pi.png|thumb|none|500px|Enter (a + b) over %pi in the editing window]]
 +
 +
  
 
==If You do not Know How to Write out Special Characters like π==
 
==If You do not Know How to Write out Special Characters like π==
Line 37: Line 44:
 
# Click in the document to stop editing the formula.
 
# Click in the document to stop editing the formula.
 
# If you want to get back into the formula to change it, double-click the box the formula is in.
 
# If you want to get back into the formula to change it, double-click the box the formula is in.
 +
 +
  
 
==Formatting the Formula==
 
==Formatting the Formula==
 +
 
You have got a great formula. But it is really small. Or you would like a different font.  
 
You have got a great formula. But it is really small. Or you would like a different font.  
  

Revision as of 10:12, 10 June 2008

Sooner or later, no matter who you are, you are going to have to talk about pi. Or you are going to need to talk about squaring lambda. Or you will need to have a+b+c divided by 2.

How do you do that in OpenOffice?


Using the Special Characters Window

  1. If you just want a Special Character, pi or lambda or something, choose Insert > Special Character.
  2. Find the special character you want. If you select several you will see them all displayed at the bottom of the window and they will all be inserted.
  3. Then just click Ok. The character will show up.

Template:Documentation/Tip


Using the Formulas Features

  1. If you need something more complex, then instead, choose Insert > Object > Formula.
    You get an editing window at the bottom, a box for the equation in the document, and a little Selection window floating off to the side.
  2. Now, in the Selection window click an item above the line, then click an item below the line. That inserts some placeholder stuff for you in the editing window.


But just writing the formulas in the editing window is reasonably easy once you memorize a few tips.

  • Use the Formula Reference Tables online help list to see how to enter formulas. Basically, do it how you think it would work. Use the OpenOffice.org Math Examples online help list to see examples. These are really good. Just press F1 while you are in the editing window and type examples into the Index window.
  • Use ^ for exponents, as in 3^2 which would be three, squared.
  • Use sqrt for square root
  • Use % in front of the written version of a symbol, as in %pi


So here are a few formulas. They are pretty easy to figure out.

Enter a + b / %pi in the editing window
Enter a + b over %pi in the editing window
Enter (a + b) over %pi in the editing window


If You do not Know How to Write out Special Characters like π

  1. Click the Catalog icon in the tools bar at the top to add a special character.
  2. Scroll through the Symbols dialog, select something from the list, and click insert.
  3. If you do not see what you need, click Edit.
  4. Find what you want, by scrolling and manipulating all the dropdowns. Then name it, and click Add. The new symbol will show up in the symbol list.
  5. Click in the document to stop editing the formula.
  6. If you want to get back into the formula to change it, double-click the box the formula is in.


Formatting the Formula

You have got a great formula. But it is really small. Or you would like a different font.

  1. Select the formula in the editing window and choose Format > Fonts. You get to choose the font by the type: variables, etc.
  2. Click and hold down on the Modify button to change any font.
  3. Select the font in this window, then click OK all the way back out of the windows.
  4. To change the font size, select Format > Font Size.


This How To comes from Solveig Haugland's Blog

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools