# LaTeX help - multiple answers using set bracket / cases [closed]

I'm brand new to LaTeX and am writing up a dissertation. I have read through several LaTeX guides but have not been able to find the answer there. Does anybody know how to use this { to show several possible answers? For example when defining the Kronecker delta:

Edit - is it impolite to ask that whoever rated my question down could explain why? I am fairly new to this forum and would like to be able to improve my questions based on the standards and etiquette here, but am not sure what is wrong with my question until someone tells me.

-

## closed as off topic by Arthur Fischer♦, lhf, Asaf Karagila, Cameron Buie, ThomasNov 14 '12 at 13:21

Questions on Mathematics Stack Exchange are expected to relate to math within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Is not it better that you ask these kind of questions in tex.stackexchange –  Vafa Nov 14 '12 at 12:14
@Vafa: You are absolutely right and I suggest this to the OP, too. However we could argue that the OP wants to know about MathJaX ;) –  Christian Ivicevic Nov 14 '12 at 12:20
See this answer to the meta question MathJax basic tutorial and quick reference. –  Américo Tavares Nov 14 '12 at 12:35

\delta_{ij} =
\begin{cases}
1, &         \text{if } i=j,\\
0, &         \text{if } i\neq j.
\end{cases}


is what you are looking for.

Use & to split columns and use \\ for new rows (=cases). Best way to learn what you want is via trial and error, it should be very easy to understand the exact syntax. Alternatively search for the cases environment.

Edit: Just as a personal preference, I suggest ending every column with a , - like I did with the cases - and the last line/case with a ..

Edit 2: You can look up the cases environment here.

-
Thank you very much! –  Dexter Nov 14 '12 at 12:11
@Dexter: You're welcome. I have added a link to a good example in my answer. Please have a look. –  Christian Ivicevic Nov 14 '12 at 12:15
Very nice, considerated and thorough answer. +1 –  DonAntonio Nov 14 '12 at 12:26