[Tex/LaTex] Adjusting the width of the matrix

matriceswidth

I am typing a matrix in a document class but its size is too large to fit on the width the page. I have also used TeX code \tiny but it is making font of matrix entries too small. I am not able to fix this problem. Could anybody help me? I would be very much thankful to you. Here is the tex code that I am using .

\documentclass{article}
\usepackage{latexsym}
\usepackage{latexsym}
\usepackage{amsmath, times, amsfonts, mathrsfs, amssymb}
\usepackage{amsmath}
  \usepackage{amssymb}


\usepackage{graphicx}
       \usepackage{subfigure}
        \usepackage[labelsep=period]{caption}


\parindent 0.5 cm
\makeatletter \oddsidemargin .01in \evensidemargin .01in \textwidth
15cm \topmargin -1cm \textheight 20.5cm
\newcommand{\singlespacing}{\let\CS=\@currsize
\renewcommand{\baselinestretch}{1}\tiny\CS}
\newcommand{\doublespacing}{\let\CS=\@currsize
\renewcommand{\baselinestretch}{1.7}\tiny\CS}
\newcommand{\tab}{\hspace*{2em}}
\begin{document}
$X_1 = \left(
         \begin{array}{cccccc}
           1.059200000000000 & -1.059200000000000  & 0 & 0 & 0 & 0 \\
           -1.059200000000000 &  1.059200000000000  & 0 & 0 & 0 & 0 \\
           0 & 0 &  1.059200000000000 & -1.059200000000000 & 0 & 0 \\
           0 & 0 & -1.059200000000000 & 1.059200000000000 & 0 & 0 \\
           0 & 0& 0.364800000000000 & -1.364800000000000 &  0.694400000000000 & 0.305600000000000 \\
           0 & 0 &  -1.364800000000000 &  0.364800000000000 & 0.305600000000000 & 0.694400000000000 \\
         \end{array}
       \right)
$
\end{document}

Best Answer

I cannot see the sense of all those zeros. However, use:

\noindent
\resizebox{\linewidth}{!}{\arraycolsep=2pt%
$X_1 = \left(
  \begin{array}{@{}*6r}
  1.059200000000000 & -1.059200000000000  & 0 & 0 & 0 & 0 \\
 -1.059200000000000 &  1.059200000000000  & 0 & 0 & 0 & 0 \\
  0 & 0 &  1.059200000000000 & -1.059200000000000 & 0 & 0 \\
  0 & 0 & -1.059200000000000 & 1.059200000000000 & 0 & 0 \\
  0 & 0& 0.364800000000000 & -1.364800000000000 &  0.694400000000000 & 0.305600000000000 \\
  0 & 0 &  -1.364800000000000 &  0.364800000000000 & 0.305600000000000 & 0.694400000000000 \\
  \end{array}
\right)
$}
Related Question