Skip to main content
\\
Source Link
David Carlisle
  • 829.1k
  • 74
  • 1.7k
  • 2.6k

this is really the same as david's answer, but is prettied up a bit:

output of example code

\documentclass{article} \usepackage{mathtools} \begin{document} \[ D = \begin{pmatrix} \;D_1 & 0 & 0 & & & \\[-.5ex] 0 & \clap{$\ddots$} & & & \raisebox{-1ex}{\huge 0} & \strut\enspace \\[4pt] 0 & 0 & D_n & & & \\ \multicolumn{3}{c}{$\upbracefill$}&\ &\\ \multicolumn{3}{c}{\scriptstyle n}&\\ & & & & \\ & \textrm{\huge 0} & & & \textrm{\huge 0} & \\ \multicolumn{6}{c}{$\upbracefill$}\\ \multicolumn{6}{c}{\scriptstyle N}\\ \noalign{\vspace{-2\normalbaselineskip}} \end{pmatrix} \vspace{2\normalbaselineskip} \] \end{document} 

this is really the same as david's answer, but is prettied up a bit:

output of example code

\documentclass{article} \usepackage{mathtools} \begin{document} \[ D = \begin{pmatrix} \;D_1 & 0 & 0 & & & \\[-.5ex] 0 & \clap{$\ddots$} & & & \raisebox{-1ex}{\huge 0} & \strut\enspace \\[4pt] 0 & 0 & D_n & & & \\ \multicolumn{3}{c}{$\upbracefill$}&\ \multicolumn{3}{c}{\scriptstyle n}&\\ & & & & \\ & \textrm{\huge 0} & & & \textrm{\huge 0} & \\ \multicolumn{6}{c}{$\upbracefill$}\\ \multicolumn{6}{c}{\scriptstyle N}\\ \noalign{\vspace{-2\normalbaselineskip}} \end{pmatrix} \vspace{2\normalbaselineskip} \] \end{document} 

this is really the same as david's answer, but is prettied up a bit:

output of example code

\documentclass{article} \usepackage{mathtools} \begin{document} \[ D = \begin{pmatrix} \;D_1 & 0 & 0 & & & \\[-.5ex] 0 & \clap{$\ddots$} & & & \raisebox{-1ex}{\huge 0} & \strut\enspace \\[4pt] 0 & 0 & D_n & & & \\ \multicolumn{3}{c}{$\upbracefill$}&\\ \multicolumn{3}{c}{\scriptstyle n}&\\ & & & & \\ & \textrm{\huge 0} & & & \textrm{\huge 0} & \\ \multicolumn{6}{c}{$\upbracefill$}\\ \multicolumn{6}{c}{\scriptstyle N}\\ \noalign{\vspace{-2\normalbaselineskip}} \end{pmatrix} \vspace{2\normalbaselineskip} \] \end{document} 
\\ site bug
Source Link
David Carlisle
  • 829.1k
  • 74
  • 1.7k
  • 2.6k

this is really the same as david's answer, but is prettied up a bit:

output of example code

\documentclass{article} \usepackage{mathtools} \begin{document} \[ D = \begin{pmatrix} \;D_1 & 0 & 0 & & & \\[-.5ex] 0 & \clap{$\ddots$} & & & \raisebox{-1ex}{\huge 0} & \strut\enspace \\[4pt] 0 & 0 & D_n & & & \ \\ \multicolumn{3}{c}{$\upbracefill$}&\ \multicolumn{3}{c}{\scriptstyle n}&\ &\\  & & & &  \  \\  & \textrm{\huge 0} & & & \textrm{\huge 0} & \ \\ \multicolumn{6}{c}{$\upbracefill$}\ \\ \multicolumn{6}{c}{\scriptstyle N}\ \\ \noalign{\vspace{-2\normalbaselineskip}} \end{pmatrix} \vspace{2\normalbaselineskip} \] \end{document} 

this is really the same as david's answer, but is prettied up a bit:

output of example code

\documentclass{article} \usepackage{mathtools} \begin{document} \[ D = \begin{pmatrix} \;D_1 & 0 & 0 & & & \\[-.5ex] 0 & \clap{$\ddots$} & & & \raisebox{-1ex}{\huge 0} & \strut\enspace \\[4pt] 0 & 0 & D_n & & & \ \multicolumn{3}{c}{$\upbracefill$}&\ \multicolumn{3}{c}{\scriptstyle n}&\  & & & &  \  & \textrm{\huge 0} & & & \textrm{\huge 0} & \ \multicolumn{6}{c}{$\upbracefill$}\ \multicolumn{6}{c}{\scriptstyle N}\ \noalign{\vspace{-2\normalbaselineskip}} \end{pmatrix} \vspace{2\normalbaselineskip} \] \end{document} 

this is really the same as david's answer, but is prettied up a bit:

output of example code

\documentclass{article} \usepackage{mathtools} \begin{document} \[ D = \begin{pmatrix} \;D_1 & 0 & 0 & & & \\[-.5ex] 0 & \clap{$\ddots$} & & & \raisebox{-1ex}{\huge 0} & \strut\enspace \\[4pt] 0 & 0 & D_n & & & \\ \multicolumn{3}{c}{$\upbracefill$}&\ \multicolumn{3}{c}{\scriptstyle n}&\\  & & & & \\  & \textrm{\huge 0} & & & \textrm{\huge 0} & \\ \multicolumn{6}{c}{$\upbracefill$}\\ \multicolumn{6}{c}{\scriptstyle N}\\ \noalign{\vspace{-2\normalbaselineskip}} \end{pmatrix} \vspace{2\normalbaselineskip} \] \end{document} 
Source Link
barbara beeton
  • 91.1k
  • 19
  • 246
  • 563

this is really the same as david's answer, but is prettied up a bit:

output of example code

\documentclass{article} \usepackage{mathtools} \begin{document} \[ D = \begin{pmatrix} \;D_1 & 0 & 0 & & & \\[-.5ex] 0 & \clap{$\ddots$} & & & \raisebox{-1ex}{\huge 0} & \strut\enspace \\[4pt] 0 & 0 & D_n & & & \ \multicolumn{3}{c}{$\upbracefill$}&\ \multicolumn{3}{c}{\scriptstyle n}&\ & & & & \ & \textrm{\huge 0} & & & \textrm{\huge 0} & \ \multicolumn{6}{c}{$\upbracefill$}\ \multicolumn{6}{c}{\scriptstyle N}\ \noalign{\vspace{-2\normalbaselineskip}} \end{pmatrix} \vspace{2\normalbaselineskip} \] \end{document}