Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question already has an answer here:

So my latex document looks like this:

enter image description here

So as you can see, the picture is aligning vertically with the text, however I need it centered, in other words I need the image moved to the left more so the left and right spaces match. I tried to wrap this image with a \begin{center}...\end{center} but that functionally did nothing.

Any ideas on how I can get it centered better?

share|improve this question
add comment

marked as duplicate by egreg, Speravir, Gonzalo Medina, Kurt, David Carlisle Mar 30 '13 at 1:06

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

If the image is wider than \textwidth then centering will do nothing, all excess width of the over-full box will go into the right margin. It appears that you do not want to scale the image but rather let it stick into the margins. In that case you need to hide its width, for example this puts it in a 0-sized box and then centers the result.

{\centering\par
\makebox[0pt]{\includegraphics{...}}
\par}
share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.