[Solved] Left none / right none shorthand

Discuss the formula editor

[Solved] Left none / right none shorthand

Postby beserk1 » Thu Jan 24, 2008 9:23 pm

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
Last edited by Hagar Delest on Tue Jun 10, 2008 1:55 pm, edited 2 times in total.
Reason: tagged the thread as Solved.
beserk1
 
Posts: 2
Joined: Thu Jan 24, 2008 8:33 pm

Re: left none / right none shorthand

Postby acknak » Thu Jan 24, 2008 10:36 pm

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?
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: left none / right none shorthand

Postby beserk1 » Fri Jan 25, 2008 4:08 pm

Code: Select all   Expand viewCollapse view
left none n-r right none over left none r+1 right none

Code: Select all   Expand viewCollapse view
(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??
beserk1
 
Posts: 2
Joined: Thu Jan 24, 2008 8:33 pm

Re: left none / right none shorthand

Postby acknak » Fri Jan 25, 2008 4:43 pm

Sorry, I misunderstood what you were after.

Just use curly braces {} to mark sub-expressions in a formula:
Code: Select all   Expand viewCollapse view
{ 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
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3


Return to Math

Who is online

Users browsing this forum: No registered users and 2 guests