4

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.

Dexter
  • 147

1 Answers1

8
\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.