7

Below is an example of the layout I am trying to make for a beamer presentation: just a simple rounded black frame in which I could insert some contents (e.g. text or images).

enter image description here

I have looked at everything (block environment, fancybox package, ...) and I just cannot find a way to do it. If anyone has a suggestion, it would be great and much appreciated!

Werner
  • 603,163
Mat D.
  • 323

1 Answers1

11

You can use the background template to add the frame using TikZ; a little example:

\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{calc}

\setbeamertemplate{background}{%
\begin{tikzpicture}[overlay,remember picture]
  \draw [line width=1mm,rounded corners]
    ($ (current page.north west) + (0.5cm,-0.5cm) $)
    rectangle
    ($ (current page.south east) + (-0.5cm,0.5cm) $);
\end{tikzpicture}%
}

\begin{document}

\begin{frame}
test
\end{frame}

\end{document}

enter image description here

Gonzalo Medina
  • 505,128