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.

I'm trying to place include a pdf figure in a beamer presentation. I'm using

\begin{frame}{foo}
\includegraphics[scale=0.6]{bar}
\end{frame}

the figure is always placed a bit too much to the right. how can I move the figure a bit to the right? A quick & dirty solution is acceptable here.

share|improve this question
1  
If the figure is placed too much on the right, are you sure it is not too big for your slide, given the margins on a frame? beamer should left align images as far as I know, so when it appears as placed too much to the right, it might just be sticking in the margin. –  Pieter Oct 22 '10 at 21:41
1  
Do you want to move the figure to the left or to the right? –  TH. Oct 23 '10 at 2:50
    
Thanks a lot!! Doing my final year engineering project! –  user6262 Jun 21 '11 at 11:31
    
@Randy: Please only post solutions to the question in the answer section. I converted your post to a comment. Note that you need to have 50rep to comment everywhere. In general it is better to show your gratitude by up-voting the question (you need some rep for this too). –  Martin Scharrer Jun 21 '11 at 11:35

2 Answers 2

As Pieter comments, it sounds like the figure is too large to fit in the measure of your document. In which case, centring on a single line might work so it overhangs to both sides:

\centerline{\includegraphics[scale=0.6]{bar}}

Note that \centerline is really only recommended for cases like this; it will only ever typeset its contents in a single line, so generally \centering is the preferred option.

share|improve this answer

Try \hspace{-0.5em} before the \includegraphics. You may need to put them in an \hbox.

share|improve this answer
    
For example, in my case, \hbox{\hspace{26ex}\includegraphics[width=\textwidth]{aPicture.pdf}} –  Kadir Jun 16 '13 at 11:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.