What would be the best way to create a new box layout in Latex beamer that resembles this example that I put together.

I want to define a background image for the block that is scaled to the right size but clipped at the round edges.

Maybe somebody can point me in the right direction on how to restructure the block environment.

enter image description here


1 Answer 1


Got it working with the help of the linked question. I believe however that it is a slightly different case using overlays instead of watermarks.


\tcbset{imagebox/.style={enhanced, colframe=structure,fonttitle=\bfseries,beamer, overlay={ 
    \node[anchor=west,inner sep=0] at (frame.center) {\includegraphics[width=0.5\textwidth]{mushrooms}}; 


\frametitle{A color box with half a background image}
\begin{tcolorbox}[imagebox ,title={The title}]
    Test this box's content minipage if it scales properly


The result looks like this:

enter image description here

You must log in to answer this question.

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