maandag 23 december 2013

#19 | Include images in Latex

Let's say you have an image that you would like to incorperate into another image. If you convert both images to PDF, you can use latex for this. Code below will include small.pdf into a3.pdf (using a3paper). Adjust hspace, vspace and width to move your image around.

\documentclass{article}
\usepackage{pdfpages}
\usepackage[a3paper]{geometry}
\begin{document}
\pagestyle{empty}
\includepdf[ pagecommand={ \begin{figure} \hspace*{+0.8in} \vspace*{-1.1in} \includegraphics[width=500pt]{small.pdf} \end{figure} } ]{a3.pdf}
\end{document}