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!

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

  • Thank you Gonzalo, tickz was obviously missing in the list of things I had tried ! – Mat D. Mar 16 '12 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.