Document Classesbeamer | Overlay Problems with Columns

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
heriberto
Posts: 1
Joined: Mon Feb 20, 2012 11:04 am

beamer | Overlay Problems with Columns

Post by heriberto »

Dear all,

I am having trouble with a simple overlay in beamer. I basically would like to have a typical incremental slide series in a frame, in which embedded objects in one slide are not shown in consecutive slides. In my example I would like to show the contents of the columns in slide <1> only, then in slides <2-> just show the numbered items ("First enumerated item", "Second enumerated item", and their corresponding info).

I have tried several combinations of \only and specified the slides manually to no avail. I would appreciate very much any help.

Texmaker 3.2.2 on Windows


Best wishes and thanks!

Code: Select all

\begin{frame}[fragile]
\begin{itemize}[<+->]
\item First Item
	\begin{enumerate}
	\item First enumerated item
	\begin{columns}[t]
		\begin{column}{0.45\textwidth}
		\underline{Left Column Title}
		\begin{itemize}[<+->]			
		\newenvironment{ballotenv}
		{\only{%
		\setbeamertemplate{itemize item}{code for showing a ballot}%
		\setbeamertemplate{itemize subitem}{code for showing a smaller ballot}%
		\setbeamertemplate{itemize subsubitem}{code for showing a smaller ballot}}}
		{}
		\setbeamertemplate{itemize item}{\ding {91}}
		\setbeamertemplate{itemize subitem}{\ding {91}}
		\setbeamertemplate{itemize subsubitem}{\ding {91}}
			\item <+-| alert@+> First item on the left column
			\item <+-| alert@+> Second item on the left column.\\
			\item  <+-| alert@+> Third item on the left column.\\
			\item <+-| alert@+> Fifth item on the left colum.
			\end{itemize} 
		\end{column}
		\begin{column}{0.50\textwidth}
		\underline {Right Column Title}
		\begin{itemize}[<+->]
		{\only{%
		\setbeamertemplate{itemize item}{code for showing a ballot}%
		\setbeamertemplate{itemize subitem}{code for showing a smaller ballot}%
		\setbeamertemplate{itemize subsubitem}{code for showing a smaller ballot}}}
		{}
		\setbeamertemplate{itemize item}{\ding {91}}
		\setbeamertemplate{itemize subitem}{\ding {91}}
		\setbeamertemplate{itemize subsubitem}{\ding {91}}
			\item <+-| alert@+> First item on the right column
			\item <+-| alert@+> Second item on the right column.\\
			\item  <+-| alert@+> Third item on the right column.\\
			\item <+-| alert@+> Fifth item on the right colum.
			\end{itemize} 
		\end{column}
		\end{columns}
		\end{enumerate} 
		
\item Second Item
\item Third Item
	\end{itemize}
\end{frame}
Last edited by localghost on Mon Feb 20, 2012 1:27 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

coachbennett1981
Posts: 274
Joined: Fri Feb 05, 2010 10:15 pm

beamer | Overlay Problems with Columns

Post by coachbennett1981 »

Please create a MWE I have created a file, but I can't run it because of some errors.. Specifically,
! Undefined control sequence.
\beamer@@tmpl@itemize subsubitem ->\ding
{91}
l.19 \item <+-| alert@+> S
econd item on the left col...
It does run and give a pdf file. Are you able to get that at least? Or does the output you get incorrect? Here is what I get, but with a few errors in the console..
beamer example.pdf
(134.13 KiB) Downloaded 359 times
Thank you

Nick
Post Reply