[Tex/LaTex] Beamer image not centered

beamergraphics

The following code:

\frame[plain]
{
  \frametitle{}
  \includegraphics[scale=0.75]{1.jpg}
}

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?

Best Answer

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.

\documentclass{beamer}
\usepackage{graphicx,multido}
\begin{document}
\multido{\n=0.1+0.1}{15}{%
\begin{frame}{scale=\n}
    \begin{center}
        \includegraphics[scale=\n]{example-image-a}
    \end{center}
\end{frame}}
\end{document}

enter image description here

Related Question