James Brusey wrote:
>
> I'm trying to format a formula of the form:
>
> { y if y > 0
> x = {
> { z + y otherwise
>
> (see bottom p. 47 of Leslie Lamport's Latex book (2nd ed).)
>
> Although I can manage to insert an \mbox in math mode, I can't
> put any (normal) spaces in it. I have tried other sorts of spaces,
> however the only ones that I managed to get to work where \, and these
> were too large.
ctrl-space for a protected space
> I have resorted, for the moment, to inserting the entire formula in
> tex mode. I believe also that a macro defined in the preamble would
> also work. However, both of these solutions are not very nice (I
> currently prefer the former).
>
> Is there a way to do this with the math editor that I'm just not seeing?
insert lyx-mathbox and write x= , than insert a via math-panel
(edit->math symbols) a pair of "parenthesis" the left and
the dummy right. now insert a matrix with two columns (both
liftsided!) and two rows and type the rest.
another solution is to use the case-structure. look at
http://www.educat.hu-berlin.de/~voss/lyx/matharray/case.phtml
Herbert
--
http://www.educat.hu-berlin.de/~voss/lyx/