[Tex/LaTex] How to include PDF image in Latex

graphicspdf

I want to use a PDF image embedded as a figure. I am using the following code. The result is a blank page followed by a page without any figure at all. Just the text appears on the second page.

\documentclass{article}
\usepackage{pdfpages}

\begin{document}
   \includepdf[width=0.4\textwidth, angle = 0]{image1.pdf}
   Here goes the text
\end{document}

Best Answer

Assuming you are using pdfTeX (which is included with MiKTeX), just use the graphicx package, and \includegraphics:

\documentclass{article}
\usepackage{graphicx}

\begin{document}
   \includegraphics[width=0.4\textwidth, angle=0]{image1.pdf}
   Here goes the text
\end{document}

Looking into the comments, the question appears to ask how to clip part of a PDF image. This can be done with trim={<left> <lower> <right> <upper>} and clip options:

\includegraphics[width=0.4\textwidth, trim={0.5cm 0.5cm 0.5cm 11.3cm}, clip]{image1.pdf}
Related Question