Define equation with
LaTeX markup
.
<Tab>
or
<Ctrl+ arrows keys>
to jump between brackets and matrix elements.