# Make figure stick out past the margin

I want to use wrapfig to insert a figure which sticks out into the margin. This does not work, it causes the figure to appear at the end of the text:

\begin{wrapfigure}{r}{0.5\textwidth}
\begin{center}
\includegraphics[width=0.48\textwidth]{funcimmet1.pdf}
\end{center}
\caption{Graph of $2{{\sin }^{2}}x-1$}
\end{wrapfigure}
}

This makes the picture bigger but it doesn't stick out, it eats up more space to the left:

\begin{wrapfigure}{r}{0.5\textwidth}
\begin{center}
\includegraphics[width=0.48\textwidth]{funcimmet1.pdf}
\end{center}
\caption{Graph of $2{{\sin }^{2}}x-1$}
\end{wrapfigure}

How can I do this?

-
You probably don't want to use \begin{center} ... \end{center}. That adds extra vertical spacing. Inside figures and tables, you want \centering. –  TH. Sep 18 '10 at 1:06

The wrapfigure has an optional parameter for this. Use the full definition

[number of narrow lines] {placement} [overhang] {width of figure}

Placement is one of   r, l, i, o, R, L, I, O,  for right, left,

The figure sticks into the margin by `overhang', if given.
-