8

I would like to place a superscript to a pmatrix, but the superscript is not correctly positioned.

\begin{pmatrix} 
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{pmatrix}^{T}

Any suggestions?

2
  • looks OK to me but you can shift it to the left with some negative space {\!\!T}
    – percusse
    May 15 '13 at 7:50
  • 1
    Welcome to TeX.SX! Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you.
    – Holene
    May 15 '13 at 7:52
7

One of the reasons why I always use (square) brackets for delimiting matrices is that the larger the matrices are, the fatter the parentheses become.

Compare the two results, one with pmatrix, the other with bmatrix:

enter image description here

The parentheses don't add to clarity, only to the required space.

One might argue that the "T" is too far also in the second case, but I don't think so. The following shows the result with

^{\!\!T}

after the pmatrix and

^{\!T}

after the bmatrix (which I believe is overkerning):

enter image description here

A problem with pmatrix is that the backup depends on the size of the matrix: \!\! would probably be too much for a 2-by-2 matrix.

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.