## [Solved] Left none / right none shorthand

Discuss the formula editor

### [Solved] Left none / right none shorthand

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

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

acknak
Moderator

Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

### Re: left none / right none shorthand

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

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

acknak
Moderator

Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3