I have an image in the document the problem is that when I insert it I have 5cm on the left and 0 on the right (the border is 5cm) I would like to center it.
I tried
\begin{figure}[h]
\centering
\includegraphics{image.jpg}
\end{figure}
and I even tried
\hfill\includegraphics[width=200mm]{image.jpg}\hspace*{\fill}
and even \begin{center}
but the picture is still not symmetric and I have a lot of space on the left but none on the right. I even tries \centerline{\includegraphics{foo}} but it gives me an error.
In other words I would like the image to ignore the margin.
Could you help me?
adjustboxversion? Or the second or third answer to that question? Or\hspace*{-1.5cm}right before your\includegraphics, for a bad solution. – Torbjørn T. Jan 03 '17 at 15:26\makeboxchanged the behaviour of the positioning). See http://tex.stackexchange.com/questions/279, or http://tex.stackexchange.com/questions/2275 or http://tex.stackexchange.com/questions/8625 for suggestions on enforcing float placement. – Torbjørn T. Jan 04 '17 at 21:34