0

What is the common approach to include pictures/figures from pdf files or other sources? My approach is to save the graphic as a jpg. Afterwards I include it into a Power Point and safe it from PP to a png. This is my approach to keep all figures the same size and resolution. Unfortunately, these pictures have a bad resolution.

What is a more elegant and better way to do it?

closed as off topic by jub0bs, m0nhawk, Thorsten, egreg, Mensch May 4 '13 at 11:59

Questions on TeX - LaTeX Stack Exchange are expected to relate to TeX, LaTeX or related typesetting systems within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.

  • It seems to me that this question is off topic on this site. – jub0bs May 4 '13 at 9:47
  • Well, I just started to use LaTeX, so maybe it is a trivial question for you, but maybe a very useful for the newbies. – C.Colden May 4 '13 at 9:56
  • @Denis Well, it's no really clear what you want. Do you seek for a way to include graphics in LaTeX? Or to extract graphics from other sources? If second, it's offtopic and better for SuperUser.SE. – m0nhawk May 4 '13 at 10:10
  • I apologize for that. My goal is to find a general approach how to deal with graphics with different resolution so that every figure in my paper looks the same, no matter where it comes from... – C.Colden May 4 '13 at 10:12
2

You probably want the \includegraphics macro, which is part of the graphicx package. I suggest reading this article.

  • Using eps files instead png files is a good thing, but I can't get eps files from pdf files. I am using figures from papers, which are in pdf files. Using figures from different sources is giving me picures with different resolutions. How can I deal with that? Do I have to pre process the graphic or can I do it with a command. – C.Colden May 4 '13 at 10:10
  • @Denis If you compile your LaTeX with pdflatex, then includegraphics can include pdf, jpeg, png, ... – Alex May 4 '13 at 10:22
1

Based on your comments:

  • My goal is to find a general approach how to deal with graphics with different resolution so that every figure in my paper looks the same, no matter where it comes from.

  • Using EPS files instead PNG files is a good thing, but I can't get EPS files from PDF files. I am using figures from papers, which are in PDF files. Using figures from different sources is giving me pictures with different resolutions. How can I deal with that? Do I have to pre-process the graphic or can I do it with a command.

My solutions are as follows:

To make your imported graphics look the same (probably in size), you can use width or height option of \includegraphics macro from graphicx package. Put \usepackage{graphicx} in the preamble and invoke \includegraphics[width=10cm]{filename} or \includegraphics[width=.75\linewidth]{filename} or any other variants.

  • Is it also possible to change the resolution somehow? – C.Colden May 4 '13 at 12:21

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