mathsoftware

A course about LaTeX and SageMath
git clone https://git.tronto.net/mathsoftware
Download | Log | Files | Refs | README | LICENSE

5-Beamer.vrb (441B)


      1 \frametitle{Custom blocks}
      2 
      3   {
      4     \setbeamercolor{block title}{fg=blue,bg=green}
      5     \setbeamercolor{block body}{fg=black,bg=pink!50}
      6     \begin{block}{A custom block, with ugly colors}
      7       \begin{verbatim}
      8 {
      9     \setbeamercolor{block title}{fg=blue,bg=green}
     10     \setbeamercolor{block body}{fg=black,bg=pink!50}
     11 
     12     \begin{block}{A custom block, with ugly colors}
     13         ...
     14     \end{block}
     15 }
     16       \end{verbatim}
     17     \end{block}
     18   }