The following code:


is resulting in an image which is offset to the right. The left margin is larger than the right margin. Wrapping the \includegraphics in a figure or center environment does not solve the problem.

How can I center the image in beamer?

  • 1
    Presumably the image is too wide. Check the log file (*.log) for corresponding warnings. Scale the image to text width if necessary. – Thorsten Donig Oct 30 '13 at 19:48
  • Is the image wider than the text width? try [width=.75\textwidth] instead of using scale – David Carlisle Oct 30 '13 at 19:50
  • @ThorstenDonig: The image is appearing on the page with space all around it. It's just that the space on the left is too large so it's not centered. – SabreWolfy Oct 30 '13 at 19:50
  • @DavidCarlisle: That resulted in a right margin, which was too wide. Using [width=1\textwidth] solved this for many images. Others were solved by placing them in a centering environment and specifying the height. – SabreWolfy Oct 30 '13 at 20:23

If you insist on using scale key, then find the best value for it. Varying the value in a closed interval (as shown in the following animation) can help you find the best value for the scale key.


enter image description here

  • I don't insist on using scale. I just thought it was the best way. I tried a few different scale sizes and a left margin was still present in all cases. – SabreWolfy Oct 30 '13 at 19:58
  • Note: Adjust the increment value (2 decimal places should be more than enough, for example \n=0.01+0.01) to get more precise scale. – kiss my armpit Oct 30 '13 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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