| View previous topic :: View next topic |
| Author |
Message |
StephanP Newbie

Joined: 21 Mar 2006 Posts: 3 Location: Amsterdam
|
Posted: Mon Jun 22, 2009 10:16 am Post subject: underline extends too far |
|
|
Hi,
In the following MATH code, the underline - which is intended for the %chi only - extends beyond the consecutive characters.
Is it a (minor) bug or is there something I should have done differently?
| Code: | E(underline{%chi}^{2}=1)
Var(underline{%chi}^{2}_{[v]})=2v |
In case you're wondering, the formulas belong to Chi-square-tests in the field of mathematical statistics.
Stephan |
|
| Back to top |
|
 |
keme Moderator


Joined: 30 Aug 2004 Posts: 2732 Location: Egersund, Norway
|
Posted: Mon Jun 22, 2009 3:10 pm Post subject: |
|
|
Use grouping to specify explicitly that the underline is for the chi only, without the "attached" super-/subscripts, like so:
| Code: | E({underline %chi}^{2}=1)
Var({underline %chi}^{2}_{[v]})=2v |
Note that you can also omit the curly brackets around single elements:
| Code: | E({underline %chi}^2=1)
Var({underline %chi}^2_[v])=2v |
The curly brackets are for grouping multiple elements, and are sometimes useful for specifying an empty group: "{}". Normally, grouping a single element is not very useful. |
|
| Back to top |
|
 |
StephanP Newbie

Joined: 21 Mar 2006 Posts: 3 Location: Amsterdam
|
Posted: Mon Jun 22, 2009 9:25 pm Post subject: |
|
|
Aha,
I was looking at underline{ } as a function(), be it with curly brackets.
New insights in the MATH syntax .
Thanks. |
|
| Back to top |
|
 |
|