|
Page Setting Formulas
From NeoWiki
Revision as of 18:40, 5 February 2007 (edit) Jgd (Talk | contribs) (translation of Fr page Mise en page des Formules (needs polish, thanks Lorinda)) ← Previous diff |
Current revision (00:51, 17 July 2007) (edit) (undo) Lorinda (Talk | contribs) (→Alignment of baselines - a little polish) |
||
(4 intermediate revisions not shown.) | |||
Line 2: | Line 2: | ||
===Spacing between the formula and the text=== | ===Spacing between the formula and the text=== | ||
- | * If you want to set | + | * If you want to set the spacing between a formula and the text, select the formula, then right click or Ctrl-click, and in the pop-up menu which appears, select {{prefName|Object}}, then click the {{section|Wrap}} tab in the dialogue. In the {{section|Spacing}} section modify the values as you want. Those modifications will apply only to the current formula. |
- | * If you want to modify those settings for all the new formulas, select the formula, choose the {{menu|Format}} menu then the {{menu|Styles and Formatting}} sub-menu or press the {{key|Ctrl+F11}} keys. In the floating window which opens, click the ''Frame Styles'' icon (the third from the left side), then right click or Ctrl-click the {{prefName|Formula}} item. Select {{prefName|Modify…}} in the pop-up menu which displays, then click the | + | * If you want to modify those settings for all the new formulas, select the formula, choose the {{menu|Format}} menu then the {{menu|Styles and Formatting}} sub-menu or press the {{key|Ctrl+F11}} keys. In the floating window which opens, click the ''Frame Styles'' icon (the third from the left side), then right click or Ctrl-click the {{prefName|Formula}} item. Select {{prefName|Modify…}} in the pop-up menu which displays, then click the {{section|Wrap}} tab. Modify the different values in the {{section|Spacing}} section as you want. |
===Alignment of baselines=== | ===Alignment of baselines=== | ||
- | One of the most tedious issues of page setting, and often mentioned on the forums of mathematicians, is | + | One of the most tedious issues of page setting, and often mentioned on the forums of mathematicians, is poor vertical alignment of formulas. This problem is not caused by NeoOffice; it was reported a long time ago on OpenOffice.org "Issuezilla" (Issue 972), but has not yet been fixed.<br/> |
You can use the following "manual" workaround: <br/> | You can use the following "manual" workaround: <br/> | ||
- | Select the formula whose alignment you want to set | + | Select the formula whose alignment you want to set. Then, pressing the {{key|Option}} key, use the up and down arrows on the keyboard, to move the formula to the top or to the bottom, depending on the situation, until the formula is correctly aligned with the surrounding text. |
===Numbering Formulas=== | ===Numbering Formulas=== | ||
Line 33: | Line 33: | ||
If you want that the formulas which are inserted in a text line, have a more compact format, you can use the "Text Mode". To do that, double-click on the formula, the command window will opens. Choose the {{menu|Format}} menu, then the {{menu|Text Mode }} sub-menu. This modification applies only to the formula you are writing. | If you want that the formulas which are inserted in a text line, have a more compact format, you can use the "Text Mode". To do that, double-click on the formula, the command window will opens. Choose the {{menu|Format}} menu, then the {{menu|Text Mode }} sub-menu. This modification applies only to the formula you are writing. | ||
- | {{botlangbarEN|[[Fr:Mise_en_Page_des_Formules|Français]] [[It:Impaginazione_delle_Formule|Italiano]]}} | + | {{botlangbarEN|[[Fr:Mise_en_Page_des_Formules|Français]] [[It:Impaginazione_delle_Formule|Italiano]] [[Es:Formato_de_f%c3%b3rmulas_en_una_p%c3%a1gina|Español]]}} |
- | [[Category:Tips and Hints]][[Category:Fixme]] | + | [[Category:NeoOffice]][[Category:Tips and Hints]][[Category:Fixme]] |
Current revision
Contents |
Spacing between the formula and the text
- If you want to set the spacing between a formula and the text, select the formula, then right click or Ctrl-click, and in the pop-up menu which appears, select Object, then click the Wrap tab in the dialogue. In the Spacing section modify the values as you want. Those modifications will apply only to the current formula.
- If you want to modify those settings for all the new formulas, select the formula, choose the Format menu then the Styles and Formatting sub-menu or press the Ctrl+F11 keys. In the floating window which opens, click the Frame Styles icon (the third from the left side), then right click or Ctrl-click the Formula item. Select Modify… in the pop-up menu which displays, then click the Wrap tab. Modify the different values in the Spacing section as you want.
Alignment of baselines
One of the most tedious issues of page setting, and often mentioned on the forums of mathematicians, is poor vertical alignment of formulas. This problem is not caused by NeoOffice; it was reported a long time ago on OpenOffice.org "Issuezilla" (Issue 972), but has not yet been fixed.
You can use the following "manual" workaround:
Select the formula whose alignment you want to set. Then, pressing the Option key, use the up and down arrows on the keyboard, to move the formula to the top or to the bottom, depending on the situation, until the formula is correctly aligned with the surrounding text.
Numbering Formulas
It's possible in NeoOffice Math to include numbered formulas with the help of a built-in AutoText. At the beginning of a paragraph, after a linebreak, type "fn" (without quotes) then press the F3 key (or fn+F3 on a laptop). That inserts a table with one line and two columns. The first column contains a formula, default is E=mc^2, centered in the page, the second one is right aligned and contains the number of the formula in the document. You have to double-click the formula to open the command window and edit the formula.
It's possible to number a group of formulas or an equation with several lines, using the same method.
Type, for example
matrix{ alignr x+y # {}={} # alignl 2 ## alignr x # {}={} # alignl 2-y}
or
left none stack{E=m c^2 #F=ma#E=1 over 2 mgh} right rbrace
and it's done!
References to a formula
You can insert references to the numbered formulas in your text.
- Place the cursor at the location where you want to insert the reference to the formula
- Choose in the Insert menu the Cross-reference… sub-menu
- In the dialogue, under the References tab, in the section Type select Text
- In the section Selection choose the number of the formula
- In the section Format select Reference
- Click the Insert button.
Text Mode
If you want that the formulas which are inserted in a text line, have a more compact format, you can use the "Text Mode". To do that, double-click on the formula, the command window will opens. Choose the Format menu, then the Text Mode sub-menu. This modification applies only to the formula you are writing.