Difference between revisions of "Documentation/FAQ/Formula/How do I number my equations?"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (minor)
m
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
 
documents can be numbered using a predefined AutoText:
 
documents can be numbered using a predefined AutoText:
  
*Type <font color="brown">'''fn'''</Font> at the beginning of a paragraph and press '''F3'''. This will insert an AutoText containing a dummy formula and a sequence number. Now doubleclick the formula to edit it.
+
*Type <font color="brown">'''fn'''</Font> at the beginning of a paragraph and press {{key|F3}}. This will insert an AutoText containing a dummy formula and a sequence number. Now double click the formula to edit it.
 
:If you want to number the equations by chapter you should
 
:If you want to number the equations by chapter you should
  
Line 16: Line 16:
 
:#In the textbox '''Separator''' type a character to separate the chapter number from the formula number.
 
:#In the textbox '''Separator''' type a character to separate the chapter number from the formula number.
  
*If you want to modify the AutoText you should use the dialogue '''Edit-AutoText'''. You will find this AutoText in the group "Standard".
+
*If you want to modify the AutoText you should use the dialog from {{menu|Edit|AutoText}}. You will find this AutoText in the group "Standard".
  
 
*You can also mimic the AutoText and number your equation manually by creating a table containing one row and two columns:
 
*You can also mimic the AutoText and number your equation manually by creating a table containing one row and two columns:
Line 23: Line 23:
  
 
:*You can refer to this equation by inserting a field corresponding to the equation of the table.  
 
:*You can refer to this equation by inserting a field corresponding to the equation of the table.  
:* In addition, if you select both, the reference and the table,  you can make the selection an AutoText with the name ''Equation'' and abbreviation EQ (Ctrl_F3 AutoText New). Thus, if you type "''in the following Lotka's equation EQ''", click on F3, enter the following formula into the emptied math object:
+
:* In addition, if you select both, the reference and the table,  you can make the selection an AutoText with the name ''Equation'' and abbreviation EQ ({{key|Ctrl|F3}} AutoText New). Thus, if you type "''in the following Lotka's equation EQ''", click on {{key|F3}}, enter the following formula into the emptied math object:
 
<pre>            1= int_{0}^{infty} exp(-%rho x) f(x) p lsub{x}rsub{0} dx</pre>
 
<pre>            1= int_{0}^{infty} exp(-%rho x) f(x) p lsub{x}rsub{0} dx</pre>
 
:you will get both a numbered equation and the reference to it:
 
:you will get both a numbered equation and the reference to it:

Latest revision as of 13:12, 7 October 2021


How do I number my equations?


Displayed equations in Writer documents can be numbered using a predefined AutoText:

  • Type fn at the beginning of a paragraph and press  F3 . This will insert an AutoText containing a dummy formula and a sequence number. Now double click the formula to edit it.
If you want to number the equations by chapter you should
  1. Doubleclick one of the equation numbers.
  2. In the listbox Level choose the chapter level you want to number by.
  3. In the textbox Separator type a character to separate the chapter number from the formula number.
  • If you want to modify the AutoText you should use the dialog from Edit → AutoText. You will find this AutoText in the group "Standard".
  • You can also mimic the AutoText and number your equation manually by creating a table containing one row and two columns:
  1. in the first column you will insert the math object (your equation) and center it;
  2. in the right column, which will be reduced and right centered, you will place the equation number between two parentheses () by inserting a variable of type Text with the formula Text+1.
  • You can refer to this equation by inserting a field corresponding to the equation of the table.
  • In addition, if you select both, the reference and the table, you can make the selection an AutoText with the name Equation and abbreviation EQ ( Ctrl  +  F3  AutoText New). Thus, if you type "in the following Lotka's equation EQ", click on  F3 , enter the following formula into the emptied math object:
            1= int_{0}^{infty} exp(-%rho x) f(x) p lsub{x}rsub{0} dx
you will get both a numbered equation and the reference to it:
in the following Lotka's equation (1):
Personal tools