Page 1 of 1

[Solved] Left none / right none shorthand

Posted: Thu Jan 24, 2008 9:23 pm
by beserk1
is there a shorthand for left none and right none?

I use it as a group, a sort of invisible bracket, instead of (), to make the formula look much cleaner

Is there another way of doing that? or do I have to stick with left none and right none?

thanks

Re: left none / right none shorthand

Posted: Thu Jan 24, 2008 10:36 pm
by acknak
I've never seen that before, so I'm guessing there is no shorthand for it.

Could you give an example where this is useful?

Re: left none / right none shorthand

Posted: Fri Jan 25, 2008 4:08 pm
by beserk1

Code: Select all

left none n-r right none over left none r+1 right none 

Code: Select all

 (n-r ) over ( r+1 ) 
basically is for making the formula looks much cleaner, since the n-r over r+1 will provide a completely different result, and if you use () to group it, it just clutter up the formula.

they both display the same formula, but the first one will group the n-r and r+1 with out (), while the 2nd one will group it with a traditional ().

if there is no shorthand for it, is there some sort of user-define macro or auto-correct-as-you-type feature in openoffice??

Re: left none / right none shorthand

Posted: Fri Jan 25, 2008 4:43 pm
by acknak
Sorry, I misunderstood what you were after.

Just use curly braces {} to mark sub-expressions in a formula:

Code: Select all

 { n-r } over { r+1 }
You can use them to separate tokens, group tokens together, or to provide an empty token:
{x}{y}

{} times 2