I'm working with beamer and I would like to create a fly-shaped colored text box like in the cover of the tcolorbox manual.

The first page of the manual actually features the code for that cover page but I don't seem to be able to get it to work.

I would like to have a slide fully occupied by the insect-shaped 4-boxes figure, in which boxes I would like to be able to write.

Bonus I would like the 4 text boxes to have this color settings


and the body and antennas to be colored of the same myred color


  • can you provide your code? What error(s) are you getting?
    – LonLon
    Commented Nov 21, 2018 at 16:23
  • It's an error with the beamer environment, I guess. It stops and the \end{frame} command. Even if I write a MWE with just a plain slide and that code in it (that basically is want I want) it won't compile. Commented Nov 21, 2018 at 16:24
  • Probabily it's necessary to strip all the part about the background etc. but I just can't understand how... Commented Nov 21, 2018 at 16:26
  • can you provide the MWE?
    – LonLon
    Commented Nov 21, 2018 at 16:27

1 Answer 1






\begin{tikzpicture}[overlay, remember picture, transform canvas={scale=0.6, xshift=6cm,yshift=-1cm}]
\coordinate (A) at (0,0); \coordinate (B) at (current page.center);
\path[use as bounding box] (A) rectangle coordinate (C) (B);
\node at (C) {%
  \begin{tcbitemize}[title=tcolorbox xx,fonttitle=\small\bfseries,
    enhanced jigsaw,opacityback=0.5,opacitybacktitle=0.75,
    raster width=16cm,raster column skip=8mm,raster halign=center,
    raster force size=false,
    raster row 1/.style={height=6cm},
    raster row 2/.style={width=6cm,height=4cm},
    raster column 1/.style={flushright title,
      frame style={left color=yellow!50!black,right color=green!50!black},
      title style={left color=yellow!50!blue,right color=blue!50!green!50!black},
      interior style={left color=yellow!70,right color=green!70},
      underlay={\draw[line width=6mm,line cap=round,black!60]
        ([shift={(0.4,-0.15)}]frame.north east)
        --([shift={(0.4,0.15)}]frame.south east); }},
    raster column 2/.style={
      frame style={left color=green!50!black,right color=yellow!50!black},
      title style={left color=blue!50!green!50!black,right color=yellow!50!blue},
      interior style={left color=green!70,right color=yellow!70}}]
  \tcbitem[fontupper=\Huge\bfseries,sharp corners=east,
    underlay={\draw[line width=6mm,line cap=round,black!60]
      ([shift={(0.4,0.30)}]frame.north east)-- coordinate(A) +(0,0.2);
      \draw[line width=1mm,line cap=round,black!60](A) -- +(30:1.5cm);
      \draw[line width=1mm,line cap=round,black!60](A) -- +(150:1.5cm);}]
  \tcbitem[fontupper=\large\bfseries,sharp corners=west]
    Manual for\\ version\\ xx\\(xx)
  \tcbitem[sharp corners=northeast]
  \tcbitem[sharp corners=northwest] Thomas F.~Sturm



enter image description here

  • Fantastic! Thank you very much :) Any chance that can be edited to be in "myred" palette? Commented Nov 21, 2018 at 16:35
  • 1
    @luciadefinetti search for yellow and green in the code and change them Commented Nov 21, 2018 at 16:36

You must log in to answer this question.

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