Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Typesetting a tricky matrix in LaTeX

  1. May 30, 2010 #1
    I am trying to typeset the attached partitioned 8x8 matrix in LaTeX. I have drawn it without the parentheses with the columns and rows numbered. Submatrices I, 0, A, B, C, and D are 2X2 matrices while T is a 4X4 matrix. The main trouble I have is getting T to span the rows and columns. Is there any elegant way to do this in LaTeX?? Thank you!
     

    Attached Files:

    Last edited: May 30, 2010
  2. jcsd
  3. May 30, 2010 #2

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    [tex]
    \begin{bmatrix}
    \begin{array}{cc}
    I_{2\times2} & 0_{2\times2} \\ 0_{2\times2} & I_{2\times2}\end{array} &
    \begin{array}{cc}
    A_{2\times2} & 0_{2\times2} \\ 0_{2\times2} & B_{2\times2}\end{array} \\
    T_{4\times4} &
    \begin{array}{cc}
    C_{2\times2} & 0_{2\times2} \\ 0_{2\times2} & D_{2\times2}\end{array}
    \end{bmatrix}
    [/tex]
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook