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 would like to draw a matrix with top left, top right, bottom left and bottom right blocks. The top left should be a 3x3 matrix with numerical entries, the top right is 0, the bottom left is 0 and the bottom right is just a "single" entry uJ. Here is my attempt.

0 & 0 & 2\mathrm tr(MM^{*}) \\
0 & 0 & -ua \\
u & -ua & 0 \end{array}]     &  0\\ \hline
0 & uJ 

I would like to emphasize that the non-top-left entries are not just single entries, but blocks, so I do not want to just make a 4 by 4 matrix with vlines and hlines and additional 0's.

share|improve this question
Welcome to TeX.SE. While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. – Peter Grill Apr 3 '12 at 17:51
up vote 20 down vote accepted

Something like this ?



         a_{11} & a_{12} \\
         a_{21} & a_{22} \\
  \end{array}\right] & \mathbf{0} & \mathbf{0} \\
  \mathbf{0} & \left[\begin{array}{ccc}
                       b_{11} & b_{12} & b_{13}\\ 
                       b_{21} & b_{22} & b_{23}\\
                       b_{31} & b_{32} & b_{33}\\
                      \end{array}\right] & \mathbf{0}\\
\mathbf{0} & \mathbf{0} & \left[ \begin{array}{cc}
                                   c_{11} & c_{12} \\
                                   c_{21} & c_{22} \\
                                  \end{array}\right] \\

enter image description here

share|improve this answer
Perfect! thank you! – Karlr Apr 3 '12 at 18:28

Your Answer


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

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