TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to accomplish this in LaTeX.

    ⎡a  b  c⎤
    |d  e  f|
    ⎣h  i  j⎦

so that the "j" is aligned with the center of the matrix.

It seems like I can't use the \begin{align} in LaTeX while also using the \begin{matrix} environment, because any & inside the matrix environment will not apply to the align environment

share|improve this question

migrated from stackoverflow.com Mar 9 '12 at 12:31

This question came from our site for professional and enthusiast programmers.

up vote 4 down vote accepted

Another array around the matrix should do the trick:

  j \\
    a & b & c \\
    d & e & f \\
    h & i & j % you forgot g! ;)
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.