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.
Asked
Active
Viewed 1,108 times
2
1 Answers
2
According to Section 12 in Using Imported Graphics in Latex and pdfLatex by Keith Reckdahl, 2006:
\makebox[0pt][l]{\includegraphics{firstgraphic}}%
\includegraphics{secondgraphic}
Pierre Schroeder
- 300
stackenginepackage 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. Thel,c,ris either left, center or right alignment, whilet,c,bis either top, center, or bottom alignment. The offsets move the inset relative to the alignment. – Steven B. Segletes Mar 24 '14 at 16:15