Graphics, Figures & TablesColored Box with rounded Corners around Figure

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
onako
Posts: 1
Joined: Thu Oct 13, 2011 4:09 pm

Colored Box with rounded Corners around Figure

Post by onako »

For my work, I'supposed to present some figures which need to be surrounded with a _thin_colored_box with rounded corners_.
I read there are ways to achieve this with text, but I wonder how to achieve this with a figure. Simple

Code: Select all

\usepackage{float}
\floatstyle{boxed} 
\restylefloat{figure}
would put a black box around figures. Any suggestions?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply