1

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  
\end{matrix}\right.

1 Answer 1

2

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

\begin{equation*}
\text{when }
\begin{cases}
a(E)'=\infty, &\text{if $E=\bar{L}$} \\ 
a(E)'=0, &\text{if $E=0$}
\end{cases}
\end{equation*}

demo

You must log in to answer this question.

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