Tuesday, June 25, 2013

Inserting pdf into a latex file

Hi all,
If you have a pdf file and you need to insert it into another pdf file/other files that you created using latex, then you can do two things:

1. Either use the
                \usepackage{pdfpages}
  and then use the
                 \includepdf[scale=0.82]{filename.pdf}
  to insert your pdf

2. You can also use the \includegraphics environment to insert the pdf.


\begin{figure}
 \centering
 \includegraphics[scale=0.8]{filename.pdf}
\end{figure}

The second method was found to be more user friendly and the pdf was automatically aligned to the center, while the first one didnt.

Hope this helped.
Ciao

No comments:

Post a Comment

Put in your valuable comments here!

Note: Only a member of this blog may post a comment.