2

I would like to have a figure that overlays a transparent png on top of a pdf. What is the best way to composite images inside a LaTeX figure? I would like to avoid compositing these images using separate image editing software beforehand, if possible.

3
  • Would this help? tex.stackexchange.com/a/151124/34618 – Jesse Mar 24 '14 at 15:23
  • The stackengine package provides \stackinset{l,c,r}{h-offset}{t,c,b}{v-offset}{inset image}{base image} to allow relative placement of the inset to be configured. The l,c,r is either left, center or right alignment, while t,c,b is either top, center, or bottom alignment. The offsets move the inset relative to the alignment. – Steven B. Segletes Mar 24 '14 at 16:15
  • Could tex.stackexchange.com/questions/34921 be of help? – Torbjørn T. Mar 24 '14 at 16:54
2

According to Section 12 in Using Imported Graphics in Latex and pdfLatex by Keith Reckdahl, 2006:

\makebox[0pt][l]{\includegraphics{firstgraphic}}%
\includegraphics{secondgraphic}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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