TeX - LaTeX Asked by Modulato on December 11, 2020
I downloaded a pdf produced with the beamer
class and I found these slides:
I was wondering what command/environment/package was used to create the stacked rounded boxes. I searched the beamer
manual but I found the beamerboxesrounded
environment, which doesn’t seem to be what I am looking for.
The following based on tcolorbox
and tikz
might serve as a point to start from:
documentclass{beamer}
usepackage{tcolorbox}
usepackage{tikz}
begin{document}
begin{frame}
frametitle{nested tcolorboxes}
begin{tcolorbox}[width=6cm]
some contents in the larger surrounding box
begin{tcolorbox}[hbox]
smaller box
end{tcolorbox}
end{tcolorbox}
end{frame}
begin{frame}
frametitle{overlapping tcolorboxes}
begin{tikzpicture}
node (lowest)
{begin{tcolorbox}[width=4cm]
some contents in the lowest box
end{tcolorbox}};
node[anchor=north west] (middle) at (lowest.east) [xshift=-1cm]
{begin{tcolorbox}[width=3cm]
some contents in the middle box
end{tcolorbox}};
node (upper) at (middle.south west) [yshift=-0.1cm]
{begin{tcolorbox}[width=8cm]
some contents in the upper box
end{tcolorbox}};
end{tikzpicture}
end{frame}
end{document}
Correct answer by leandriis on December 11, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP