Cool! Thanks. I did not ask the question, but I am sure I will have occasion
to use stuff like this... Is there any documentation that goes over all the
mysterious math stuff (like "\cases")?
---Kayvan
On Wed, Apr 20, 2005 at 09:49:13AM +0100, Angus Leeming wrote:
> Kayvan A. Sylvan wrote:
>
> > On Tue, Apr 19, 2005 at 08:37:14PM -0400, Myriam Abramson wrote:
> >>
> >> Hi!
> >>
> >> How do you write a case equation in LyX? I mean an equation like
> >>
> >> B = { 1 if x > 0;
> >> 0 if x = 0
> >>
> >> so that the brace covers multiple lines?
> >
> > I think that you can use the math panel and then click on the button that
> > looks like a blue box surrounded by brackets. Then you can change the
> > left bracket to your braces and change the right one to blank.
> >
> > In the inner blue square, insert a math matrix and fill in the parts.
>
> Actually, it's even easier:
>
> Create a math inset: Insert->Math->Display formula
> Type:
> B=\cases<space>1<right arrow>\textrm<space>if <Insert->Math->Inline
> formula>x>0<right arrow><right arrow><cntl-enter><down arrow><left
> arrow>0<right arrow>\textrm<space>if <Insert->Math->Inline formula>x=0<Esc>
>
> Looks horrible, but really it isn't!
>
> --
> Angus
--
Kayvan A. Sylvan | Proud husband of | Father to my kids:
Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)