Possible Duplicate:
How to scale a tikzpicture to \textwidth
Shrink figure only when necessary?
As you can see the third rectangle is out of the right margin...how can I fix this issue?
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\begin{scope}
\draw (0,0) rectangle (5.5,4.5);
\end{scope}
\begin{scope}[xshift=70mm]
\draw (0,0) rectangle (5.5,4.5);
\end{scope}
\begin{scope}[xshift=140mm]
\draw (0,0) rectangle (5.5,4.5);
\end{scope}
\end{tikzpicture}
\end{document}

