I am trying to align a matrix equation so that the alignment it with the top of the column matrix A (not the centre as it is at the moment). Any help would be appreciated. Here is what I have at the moment:

\begin{pmatrix}  && A^T &&  \end{pmatrix}  \textbf{B} \begin{pmatrix} \\ A \\ \\ \end{pmatrix} \begin{pmatrix}  \\ C \\ \\ \end{pmatrix} =  \begin{pmatrix}  && A^T &&  \end{pmatrix} \textbf{B} \begin{pmatrix} \\ y \\ \\ \end{pmatrix
  • 2
    (1) welcome, (2) please post a full minimal example, there is no preamble in your example. Plus this is completely wrong \mathbf{\large{A$^\text{T}$}}, (a) \large does not take argumetns, (b) you are already in math mode so I do not understand the intension with the A$^\text{T}$. Please update your example. – daleif Jan 16 '15 at 19:02
  • cheers, was just a culmination of lots of changes I had made. sorry to make it unclear – Karim Jan 16 '15 at 19:10
  • 1
    Your code snippets are currently not compilable. – Mico Jan 16 '15 at 19:15
  • This isn't exactly what you ask, but perhaps related: tex.stackexchange.com/questions/168035/… – Steven B. Segletes Jan 16 '15 at 21:40

You can construct a stackable matrix to insert your A^T in the top row so it aligns vertically with the top row of B:

enter image description here


  \bm{A}^T \bm{B} =
      \quad \bm{A} \quad
    \end{array}) \\ \mathstrut \\ \mathstrut
    \mathstrut \\ \bm{B} \\ \mathstrut


The use of \mathstrut is not all that necessary here.

I prefer the regular notation, to the left of the equal sign.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.