Difference between revisions of "Documentation/FAQ/Formula/When I enter 3xy the number 3 comes out in italics"
From Apache OpenOffice Wiki
< Documentation | FAQ | Formula
(Created page with "{{DISPLAYTITLE: When I enter <font color="brown">'''3xy'''</font> the number 3 comes out in italics. Is this a bug?}} <section begin=question/> When I enter <font color="brow...") |
m |
||
Line 2: | Line 2: | ||
<section begin=question/> | <section begin=question/> | ||
− | When I enter <font color="brown">'''3xy'''</font> the number 3 comes out in italics. Is this a bug? | + | '''When I enter <font color="brown">'''3xy'''</font> the number 3 comes out in italics. Is this a bug?''' |
<section end=question/> | <section end=question/> | ||
<section begin=answer/> | <section begin=answer/> | ||
− | Not really. What happens here is, that Math uses multi-letter | + | Not really. What happens here is, that Math uses multi-letter variables, which are common in some disciplines, like economics. The |
− | variables, which are common in some disciplines, like economics. The | + | rule is that a variable consists of a sequence of letters, numbers and dots (the first character can not be a dot). |
− | rule is that a variable consists of a sequence of letters, numbers | + | |
− | and dots (the first character can not be a dot). | + | |
− | So when you enter 3xy this is considered a variable - and | + | So when you enter 3xy this is considered a variable - and variables are typeset in italics. The only odd thing here is, that a |
− | variables are typeset in italics. The only odd thing here is, that a | + | |
variable can start with a number. | variable can start with a number. | ||
− | The correct way to enter the expression if you mean 3 times x | + | The correct way to enter the expression if you mean 3 times x times y is<font color="brown">''' 3 x y '''</font>(with spaces between the characters). |
− | times y is<font color="brown">''' 3 x y '''</font>(with spaces between the characters). | + | |
<section end=answer/> | <section end=answer/> |
Latest revision as of 14:59, 25 July 2022
When I enter 3xy the number 3 comes out in italics. Is this a bug?
Not really. What happens here is, that Math uses multi-letter variables, which are common in some disciplines, like economics. The
rule is that a variable consists of a sequence of letters, numbers and dots (the first character can not be a dot).
So when you enter 3xy this is considered a variable - and variables are typeset in italics. The only odd thing here is, that a variable can start with a number.
The correct way to enter the expression if you mean 3 times x times y is 3 x y (with spaces between the characters).