User:Jgd/Translations

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:14, 4 February 2007 (edit)
Jgd (Talk | contribs)

← Previous diff
Revision as of 17:04, 5 February 2007 (edit) (undo)
Jgd (Talk | contribs)

Next diff →
Line 1: Line 1:
{{fixme}} {{fixme}}
-===Using colors in formulas===+Page_Setting_Formulas
-You can use characters of different colors in a same formula.+
-* Go to the {{menu| Insert}} menu, choose the {{menu| Object}} sub-menu, then the {{menu| Formula}} item. The command window appears in the bottom of your document.+
-*You have five colors to choose from: <tt>blue, green, yellow, red, cyan, white</tt>. Those commands have to come just before the characters they apply to: e.g. to get a squared matrix of order two whose four elements are of different color, type<br/> <tt>M = left( matrix{color red a # color green b ## color blue c # color cyan d} right)</tt> +
-**The chosen color applies to all the linked characters that follow the command, and only to them: e.g. <tt>color red abc de</tt> displays ''abc'' in red followed by ''de'' in black. To get ''abc de'' in red, you have to type <tt> color red {abc de}</tt>.+
-===Highlighting of formulas===+===Spacing between the formula and the text===
-To highlight a formula, you have two possibilities: +* If you want to set up 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 tab {{section|Wrap}} in the dialogue. In the section {{section|Spacing}} modify the values as you want. Those modifications will apply only to the current formula.
-* Select the formula, then right click or Ctrl–Click. In the contextual menu which appears, choose {{prefName|Object}} then click the tab {{section|Highlighting}}. Choose the highlight color.<br/>+* 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 floatting 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 tab {{section|Wrap}}. Modify the different values in the section {{section|Spacing}} as you want.
-or+
-* Select the formula, then click the icon ''Frame Properties'' in the toolbar '''OLE-Object''' (that bar should display as soon as the formula has been selected, otherwise, choose in the {{menu| View}} menu the {{menu| Toolbars}} sub-menu, then the {{menu| OLE-Object}} item. Click the tab {{section|Background}}. Choose the highlight color.+
-===Bordering of formulas===+===Alignment of baselines===
-To border a formula, you have two possibilities: +One of the most tedious issues of page setting, and often mentioned on the forums of mathematicians, is the bad vertical alignment of the formulas. This problem is not caused by NeoOffice, it has been reported for a long time on OpenOffice.org "Issuezilla" (Issue 972), but it's not fixed by now.<br/>
-* Select the formula, then right click or Ctrl–Click. In the contextual menu which appears, choose {{prefName|Object}} then click the tab {{section|Borders}}. Choose the arrangement, the syle of the lines, and the spacing to contents.<br/>+You can use the following "manual" workaround: <br/>
-or+Select the formula whose alignment you want to set up. 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 cases, until the formula is correctly aligned with the surrounding text.
-* Select the formula, then click the icon ''Borders'' in the toolbar '''OLE-Object''' (that bar should display as soon as the formula has been selected, otherwise, choose in the {{menu| View}} menu the {{menu| Toolbars}} sub-menu, then the {{menu| OLE-Object'}} item. Click the icon ''Borders'', choose the line arrangement, then click the icon ''Line Style'' and finally the icon ''Line color (of the border)''.+
-===Spacing between the formula and the border===+===Numbering Formulas===
-To set up the spacing between the formula and the border, you have to: +It's possible in NeoOffice Math to include numbered formulas with the help of a bult-in ''AutoText''. At the beginning of a paragraph, after a linebreak, type "fn" (without quotes) then press the {{key| F3}} key (or {{key| 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.
-* Double-click the formula in order to open the command window. Then go to the {{menu|Format}} menu and choose the {{menu|Spacing…}} sub-menu+
-* In the dialog window that appears, click the {{button|Category}} button and select the {{section|Borders}}. Set up the spacing as you want. If you click the {{button|Default}} button, your changes will apply for all new formulas, otherwise only the formula you are writing will be concerned by the modification.+
 +It's possible to number a group of formulas or an equation with several lines, using the same method.
 +Type, for example <br><br>
 +<tt>matrix{ alignr x+y # {}={} # alignl 2 ## alignr x # {}={} # alignl 2-y}</tt> <br>
 +or <br>
 +<tt>left none stack{E=m c^2 #F=ma#E=1 over 2 mgh} right rbrace</tt> <br>
 +and it's done!<br/>
 +[[Image:Formules_numérotées.png|Illustration de la numérotation de formules sur plusieurs lignes]]
-{{botlangbarEN|[[Fr:Définir_les_Polices_des_Formules_dans_NeoOffice_Math|Français]] [[It:Formattazione_delle_Formule_in_NeoOffice_Math|Italiano]]}}+===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 {{menu|Insert}} menu the {{menu|Cross-reference…}} sub-menu
 +* In the dialogue, under the {{section|References}} tab, in the section {{section|Type }} select {{prefName|Text}}
 +* In the section {{section|Selection}} choose the number of the formula
 +* In the section {{section|Format}} select {{prefName|Reference}}
 +* Click the {{button|Insert}} button.
-[[Category:Tips and Hints]] [[Category:Fixme]]+===Text Mode ===
 +If you want that the formulas, 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]]}}
 + 
 +[[Category:Tips and Hints]]

Revision as of 17:04, 5 February 2007

This article is not up to date, or it needs structural or stylistic changes to conform with the rest of this wiki.


Page_Setting_Formulas

Contents

Spacing between the formula and the text

  • If you want to set up 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 tab Wrap in the dialogue. In the section Spacing 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 floatting 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 tab Wrap. Modify the different values in the section Spacing as you want.

Alignment of baselines

One of the most tedious issues of page setting, and often mentioned on the forums of mathematicians, is the bad vertical alignment of the formulas. This problem is not caused by NeoOffice, it has been reported for a long time on OpenOffice.org "Issuezilla" (Issue 972), but it's not fixed by now.
You can use the following "manual" workaround:
Select the formula whose alignment you want to set up. 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 cases, 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 bult-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!
Illustration de la numérotation de formules sur plusieurs lignes

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, 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.


This article in other languages: Français Italiano
Personal tools