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

Can't get ^ (power) to work properly...

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


Joined: 21 Feb 2005
Posts: 2
Location: Germany

PostPosted: Mon Feb 21, 2005 3:30 am    Post subject: Can't get ^ (power) to work properly... Reply with quote

Hi,

I tried the following formula in a presentation:

I_MCD = { { %sigma^+ - %sigma^- } over { %sigma^+ + %sigma^- } }

The output is OK, as long as I don't include the powers (^), then it gets all messy (a lot of question marks, the fraction is above the I_MCD...). I tried all kinds of bracketing ( {%sigma}^{+}, {%sigma^+}, etc.) but nothing seems to be correct. What am I doing wrong?

Any help appreciated!
Stephan.
Back to top
View user's profile Send private message
RGB
Super User
Super User


Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

PostPosted: Mon Feb 21, 2005 3:35 am    Post subject: Reply with quote

The plus symbol is a binary operator, so it waits an input before and after him. The solution is to use the quotation marks:
I_MCD = { { %sigma^"+" - %sigma^"-" } over { %sigma^"+" + %sigma^"-" } }
Back to top
View user's profile Send private message
richardf
OOo Enthusiast
OOo Enthusiast


Joined: 10 Oct 2004
Posts: 107

PostPosted: Mon Feb 21, 2005 3:43 am    Post subject: Reply with quote

After the - there is an expectation of a number of text. You can put a space behind it using " ":

I_MCD = { { %sigma^+ - %sigma^-" " } over { %sigma^+ + %sigma^-" " } }

Richard
Back to top
View user's profile Send private message
RGB
Super User
Super User


Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

PostPosted: Mon Feb 21, 2005 3:52 am    Post subject: Reply with quote

The space is not a good solution, because "spread" your equation with a bad visual effect.
I correct myself: Instead to the cuotation marks, maybe is better to use the %:
I_MCD = { { %sigma^{%+%} - %sigma^{%-%} } over { %sigma^{%+%} + %sigma^{%-%} } }
In this case, the minus sign appears with the right size.
Back to top
View user's profile Send private message
StephanJohn
Newbie
Newbie


Joined: 21 Feb 2005
Posts: 2
Location: Germany

PostPosted: Mon Feb 21, 2005 4:14 am    Post subject: Reply with quote

Ah!!
Great! Thanks a lot!
Stephan.
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