I want to create a block in every frame like this
Because I don't like to use classical blocks like this
Could you please give me the necessary code ? Thank you
I want to create a block in every frame like this
Because I don't like to use classical blocks like this
Could you please give me the necessary code ? Thank you
You can make a similar box with the tcolorbox package.
\documentclass{beamer}
\usetheme{Madrid}
\usepackage[most]{tcolorbox}
\newtcolorbox[auto counter]{pabox}[1]{%
colback=white,
colframe=structure.fg,
colbacktitle=white!90!structure.fg,
coltitle=black,
fonttitle=\bfseries,
title=Definition~\thetcbcounter .,
enhanced,
attach boxed title to top left={yshift=-2mm, xshift=0.5cm}
}
\begin{document}
\begin{frame}
\begin{pabox}
This is my own box with a mandatory
numbered title and options.
\end{pabox}
\end{frame}
\end{document}
https://tex.stackexchange.com/questions/337331/how-to-create-a-rounded-beamer-block-with-the-title-starting-a-bit-forward-than?noredirect=1&lq=1 here i see that I can add a parameter in the options ' title=#2, ' but it erases the word theorem. How can I have theorem, the counter and the name of it into parenthesis?
– Marine Galantin Jan 25 '18 at 06:24