[Solved] Scalable left curly bracket

Discuss the formula editor
Post Reply
firsttimelinux
Posts: 3
Joined: Thu Nov 20, 2008 8:51 pm

[Solved] Scalable left curly bracket

Post by firsttimelinux »

Well that's twice now. I was half-way through asking the question how to do something, and then eventually managed to solve it anyway. But I'll post it here now cos I've started and I'm not sure whether it's obvious or not.
I wanted to write equations like the ones here: http://en.wikipedia.org/wiki/Delta_function where you have an open curly bracket spanning lines and the conditions on the right. But no closing bracket!

The eventual solution I found, which may not be the best, is this:
f(x) = left lbrace matrix {1 # for lline x rline < 2 ## 0 # otherwise } right none

Maybe someone else might find this useful. I was bumping my head against left { and "{" and \{{ for a while there.
Last edited by firsttimelinux on Thu Nov 20, 2008 10:34 pm, edited 1 time in total.
OOo 2.4.X on Mandriva
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Scaleable right curly bracket

Post by acknak »

Looks reasonable to me; thanks for posting your solution.

Is there a reason here to use lline x rline instead of abs x?
AOO4/LO5 • Linux • Fedora 23
firsttimelinux
Posts: 3
Joined: Thu Nov 20, 2008 8:51 pm

Re: Scaleable left curly bracket

Post by firsttimelinux »

Oops, no, good catch!
Just that I saw the lline rline in the "brackets" section and assumed that was what I wanted. Didn't see the abs under "functions"!
OOo 2.4.X on Mandriva
Post Reply