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 am trying to insert a image which is in .eps format from my computer into latex file. But I always get an error if I add the scale part but works fine without scale. Here is my code below.

Works fine:

    \begin{figure}
    \centering
    \includegraphics{Plot1}
    \caption{Sales vs Assets}
    \end{figure}  

Doesn't work fine:

\begin{figure}
        \centering
        \includegraphics[scale=.8]{Plot1}
        \caption{Sales vs Assets}
        \end{figure}  
share|improve this question
    
What's the error? –  egreg Sep 3 '12 at 23:58
    
Overfull \hbox.. –  Vutukuri Sep 4 '12 at 0:13
1  
Try to use \fbox{\includegraphics{}} to see the size of the bounding box of you picture. By the way, \overfull is not an error, but only a warning. –  Sigur Sep 4 '12 at 0:18
    
But the problem is my image is not coming completely in the pdf.How do I scale it? –  Vutukuri Sep 4 '12 at 0:29
    
Run away argument is one more err –  Vutukuri Sep 4 '12 at 0:31

1 Answer 1

up vote 5 down vote accepted

You are using:

\usepackage{graphics}

But you need:

\usepackage{graphicx}

that extends package graphics and changes the syntax of \includegraphics to support key value options in the optional argument.

share|improve this answer

Your Answer

 
discard

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

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