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 pdf file which contain text, image and text as :

text ....
My image
text ...

how can i do to print just the image on latex ?

share|improve this question
    
Sorry I do not understand the question. Do you have the tex-file? And do not want to compile the test parts? Then just remove the text in the tex-file. Or just comment it out. –  Jana Jan 21 '13 at 15:10
1  
If all you have is the pdf document you can cut the image from the pdf and save it as a jpg or png to include in your LaTeX source with \includegraphics. –  Ethan Bolker Jan 21 '13 at 15:14
4  
You may try pdfpages insert the page and clip the page just to have the image. –  Harish Kumar Jan 21 '13 at 15:18
1  
You would only need pdfpages if the final image exceeds the usual text width/height. If not, a simple \includegraphics[trim='left'cm 'bottom'cm 'right'cm 'top'cm,clip]{myfigure.pdf} will do the trick. Any dimension is allowed, but this is a bit tricky, to get right. I suggest an \fbox{} around the figure, if there is white around it in the input file. –  user24276 Jan 21 '13 at 15:39
1  
You can use \includegraphics with trim and clip options. –  Paul Gaborit Jan 21 '13 at 15:39
show 4 more comments

closed as too localized by Martin Schröder, Kurt, percusse, lockstep, Joseph Wright Feb 2 '13 at 21:53

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.