Hi,
Yes, that is exactly what I was looking for actually - thanks! For some reason, I thought that the cases environment, by default, automatically puts an equals to the left of the brace. Obviously that is not the case though!
Thank you again,
Ed.
Search found 2 matches
- Mon Feb 11, 2013 6:06 am
- Forum: Math & Science
- Topic: Cases and Braces
- Replies: 2
- Views: 7899
- Sun Feb 10, 2013 4:25 am
- Forum: Math & Science
- Topic: Cases and Braces
- Replies: 2
- Views: 7899
Cases and Braces
Hello,
I want to write an equation with two cases, to represent something like "x = 1 if y > 0, otherwise x = -1". I know that this can be done using the cases environment:
\begin{cases}
1, & \text{if } y > 0 \\
0, & \text{otherwise}
\end{cases}
This works fine. However, what I actually want ...
I want to write an equation with two cases, to represent something like "x = 1 if y > 0, otherwise x = -1". I know that this can be done using the cases environment:
\begin{cases}
1, & \text{if } y > 0 \\
0, & \text{otherwise}
\end{cases}
This works fine. However, what I actually want ...