This question is a slight variation of Compiling a BIG matrix, but I need to write a matrix in a A4 or letter size paper; it is a block 48x48 matrix but I can put lot of $0_2$ and $0_4$'s in order to keep a small number of entries, which, however, exceed the usual dimensions. How could I make the font smaller or the spaces between the entries (most of them 0) narrower in order for this matrix to fit in the page? For instance, the first rows are
\documentclass[a4paper,10pt]{article}
\usepackage{amsmath}
\begin{document}
\[
\begin{pmatrix}
0 & 0 & B & 0 & 0 & 0& 0& 0 & A & 0& 0& 0 & 0 & 0& 0& 0 \\
0 & 0 & 0 & C & 0 & 0& 0& 0 & 0 & 0& 0& 0 & 0 & 0& 0& 0 \\
D & 0 & 0 & 0 & 0 & 0& 0& 0 & 0 & 0& 0& 0 & 0 & 0& 0& 0 \\
0 & E & 0 & 0 & 0 & 0& 0& 0 & 0 & 0& 0& 0 & 0 & 0& 0& 0
\end{pmatrix}
\]
\end{document}
