Difference between revisions of "Documentation/FAQ/Formula/How do I number my equations?"
From Apache OpenOffice Wiki
< Documentation | FAQ | Formula
m |
|||
(5 intermediate revisions by 3 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 | + | *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 |
− | #Doubleclick one of the equation numbers. | + | :#Doubleclick one of the equation numbers. |
− | #In the listbox '''Level''' choose the chapter level you want to number by. | + | :#In the listbox '''Level''' choose the chapter level you want to number by. |
− | #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 | + | *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: | ||
+ | :#in the first column you will insert the math object (your equation) and center it; | ||
+ | :#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 ({{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> | ||
+ | :you will get both a numbered equation and the reference to it: | ||
+ | :''in the following Lotka's equation (1)'': | ||
+ | <center><math> 1= \int_0^\infty \exp(-\rho x) f(x) _{x}p_0 dx \qquad\qquad(1)</math></center> | ||
<section end=answer/> | <section end=answer/> | ||
[[Category:Documentation/FAQ/Formula]] | [[Category:Documentation/FAQ/Formula]] |
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
- Doubleclick one of the equation numbers.
- In the listbox Level choose the chapter level you want to number by.
- 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:
- in the first column you will insert the math object (your equation) and center it;
- 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):
![](/w/images/math/6/e/f/6ef1991ad0988a2d397d5bed403221ad.png)