graphics - Colored frame in includegraphics environment - TeX - LaTeX Stack Exchange - latex figure border

Category

image - Remove border/frame around png in latex? - Stack Overflow latex figure border


You can add a frame around it by placing it inside a \fbox{ } command. I've found that \frame{\includegraphics{image}} command works for my case.

Often, figures have a white background which makes the figure border invisible on white paper. If a figure has several disconnected elements.

In short, you're putting the figure in a minipage and placing a border around that page. The minipage needs to be given a width, and will adjust.