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, 2014 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. Mar 24, 2014 at 16:15
  • Could tex.stackexchange.com/questions/34921 be of help? Mar 24, 2014 at 16:54

1 Answer 1

2

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .