# Crop in Standalone class [duplicate]

Possible Duplicate:
Standalone package creates a page with a fixed width

How do I get the class standalone crop the image just as you would preview the package? I must get over the side that is because the package tkz-euclide.

\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{arrows}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usepackage[pdfpagelayout=SinglePage]{hyperref}

\begin{document}

\begin{tikzpicture}
\tkzInit
\tkzDefPoint(0,0){A}
\tkzDefPoint(4,0){B}
\tkzDefTriangle[equilateral](A,B)
\tkzGetPoint{C}
%angulos
\tkzMarkAngle[fill=green!50,size=5mm](B,A,C) %\apha
\tkzMarkAngle[fill=green!50,size=5mm](A,C,B) %\beta
\tkzMarkAngle[fill=green!50,size=5mm](C,B,A) %\gamma
%rotulos
\tkzLabelPoints[below](A,B)
\tkzLabelPoints[above](C)
\tkzLabelAngle[pos=.7](B,A,C){$\alpha$}
\tkzLabelAngle[pos=.7](C,B,A){$\beta$}
\tkzLabelAngle[pos=.7](A,C,B){$\gamma$}
\tkzLabelSegment[above right](B,C){$a$}
\tkzLabelSegment[above left](C,A){$b$}
\tkzLabelSegment[below](A,B){$c$}
%triangulo equilatero
\tkzDrawPolygon(A,B,C)
%pontos
\tkzDrawPoints[fill=blue](A,B,C)
\end{tikzpicture}

\end{document}


Does not show here, but the image was not cut from the right side.

-

## marked as duplicate by Gonzalo Medina, Caramdir, Peter Grill, Martin Scharrer♦Nov 18 '11 at 8:03

The next version of standalone will avoid this problem. But it isn't actual that easy to do automatically. – Martin Scharrer Nov 18 '11 at 8:04
Or a % on that line if you prefer to keep it for clarity. – qubyte Nov 18 '11 at 2:59
Ours, because it works with % ? Thank you. – Regis da Silva Nov 18 '11 at 3:24