Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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:

Kronecker

I need to be able to split off several times within one equation. Please help!

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.

share|improve this question

closed as off topic by Arthur Fischer, lhf, Asaf Karagila, Cameron Buie, Thomas Nov 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.

5  
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
add comment

1 Answer 1

up vote 5 down vote accepted
\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.

share|improve this answer
    
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
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.