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 have a eps file with a very high resolution. Now when I am trying to import it in my tex file using include graphics I am only able to see part of it, i.e. its cropped. I already played with width, height, keepaspectratio which didn't help.

Here is my simplified tex file:

\documentclass [11pt,a4paper] {article}
\usepackage{graphicx}
\begin{document}
\begin{figure}[!htb]
\centering
%   \advance\leftskip-3cm
%   \advance\rightskip-3cm
    \includegraphics[width=500pt]{Uniform.eps}
        \label{fig:Uniform}
\end{figure}
\end{document}

And here is the output: enter image description here

share|improve this question
1  
eps files are vectorial images, they don't have resolution like bmp files. I believe that the problem is with the bounding box. Try \fbox{} to insert the image inside, to see the box. –  Sigur May 5 '13 at 23:51
    
Well the underlying graph is not a vectorized graph but a picture...that is the reason that resolution matters –  Naji May 5 '13 at 23:53
    
@Sigur how can I set sizes of an fbox? I couldn't find it. –  Naji May 5 '13 at 23:56
    
Just use \fbox{\includegraphics[width=500pt]{Uniform.eps}} to see the box used by the image. Then you can try to fix your problem. –  Sigur May 5 '13 at 23:58
1  
11pt article class \textwidth is 360pt and you are specifying 500pt width so it is not going to fit. –  David Carlisle May 6 '13 at 0:08
show 4 more comments

1 Answer

up vote 2 down vote accepted

11pt article class \textwidth is 360pt and you are specifying 500pt width so it is not going to fit.

You can use [width=\textwidth] to get a full width figure rather than specify a size in points.

share|improve this answer
    
in my simplified everything is working but in original one, its still cropped!! –  Naji May 6 '13 at 0:19
    
you never said but cropped vertically or horizontally? if it is too high you need [width=\textwidth,height=\textheight,keepapectratio] –  David Carlisle May 6 '13 at 0:24
    
Still not working –  Naji May 6 '13 at 0:26
    
@Naji you'll need to make another minimal example that does show the problem and ask a new question. –  David Carlisle May 6 '13 at 0:27
1  
Try pdftex. If not, so I have no idea. –  Sigur May 6 '13 at 0:54
show 15 more comments

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.