OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

underline extends too far

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Math
View previous topic :: View next topic  
Author Message
StephanP
Newbie
Newbie


Joined: 21 Mar 2006
Posts: 3
Location: Amsterdam

PostPosted: Mon Jun 22, 2009 10:16 am    Post subject: underline extends too far Reply with quote

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
View user's profile Send private message
keme
Moderator
Moderator


Joined: 30 Aug 2004
Posts: 2910
Location: Egersund, Norway

PostPosted: Mon Jun 22, 2009 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
StephanP
Newbie
Newbie


Joined: 21 Mar 2006
Posts: 3
Location: Amsterdam

PostPosted: Mon Jun 22, 2009 9:25 pm    Post subject: Reply with quote

Aha,
I was looking at underline{ } as a function(), be it with curly brackets.
New insights in the MATH syntax .
Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Math All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group