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 currently writing a document in which I need to create a matrix that looks like the picture below. What is the shortest and easiest way to do so?

enter image description here

share|improve this question

Here I created the base image called \basefig. It is a box that has been manually centered with a \raisebox so that it will work smoothly in math mode. Then I inset two images relative to the left-top corner. The insets were scaled down versions of the original. Finally the third inset was the LL in the upper left corner.

EDITED to insert upper left element

\stackinset{l}{3pt}{t}{3.25pt}{\scalerel*{$\sffamily LL$}{\rule{.2pt}{0.3ex}}}{%

enter image description here

share|improve this answer
+1 I like the simplicity of this approach using your packages! – Gonzalo Medina Jan 30 '14 at 15:32

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.