3

How can I make a box of the tcolorbox-package appear in a beamer presentation? For exemple I want the box to appear together with point 3...

\documentclass[10pt,xcolor={usenames,dvipsnames},graphics]{beamer}
\usetheme{Frankfurt}
\usecolortheme{seahorse}

\setbeamercovered{transparent}
\usepackage{tcolorbox}
\usepackage{xcolor}

\begin{document}
 \begin{frame}{A slide}
 \begin{itemize}
 \item<1-> Point 1
 \item<2-> Point 2
 \item<3-> Point 3
 \begin{tcolorbox}
  A box with text               
 \end{tcolorbox}
 \begin{itemize}
 \item<4-> Point 4
 \end{itemize}
 \end{frame}

\end{document}
  • Either you've missed an \end{itemize}... or the first \begin{itemize} was unintended. – user31729 Jun 22 '15 at 18:29
5

You have a spurious \begin{itemize}. Removing that allows the code to compile and the box appears with the third point, as desired.

\documentclass[10pt,xcolor={usenames,dvipsnames},graphics]{beamer}
\usetheme{Frankfurt}
\usecolortheme{seahorse}

\setbeamercovered{transparent}
\usepackage{tcolorbox}
\usepackage{xcolor}

\begin{document}
 \begin{frame}{A slide}
 \begin{itemize}
 \item<1-> Point 1
 \item<2-> Point 2
 \item<3-> Point 3
 \begin{tcolorbox}
  A box with text
 \end{tcolorbox}
 \item<4-> Point 4
 \end{itemize}
 \end{frame}

\end{document}

box in point 3

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.