The following code generates:

enter image description here

You can see that the first and the second line are centered on the right side of the left brace.

How can I stick to the current code implementing "\begin{matrix}" and achieve:

  1. aligning "a(E)" in both lines to the left

  2. aligning "if" to the left

so that two "a"s and "i"s can be aligned together.

enter image description here

\text{when} \left\{\begin{matrix}
a(E)'=\infty, &\text{if }E=\bar{L} \\ 
a(E)'=0, &\text{if }E=0  

1 Answer 1


You're using the wrong tool: matrix centers each cell.

\text{when }
a(E)'=\infty, &\text{if $E=\bar{L}$} \\ 
a(E)'=0, &\text{if $E=0$}


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .