TeX - LaTeX Asked by rbaleksandar on December 11, 2020
I am experimenting with two-column layout for beamer slides. Currently I have the following slide:
begin{frame}{Comparison}
pause
begin{minipage}[t]{0.48linewidth}
Pros:
begin{itemize}[<+->]
pause
item 1
item 2
item 3
end{itemize}
end{minipage}
hfill
begin{minipage}[t]{0.48linewidth}
Cons:
begin{itemize}[<+->]
item 1
item 2
item 3
end{itemize}
end{minipage}
end{frame}
This gives me the following results:
This behaviour looks bad so I was hoping someone here can give me a hand to try different ways of organizing this slide:
Any idea how to do that?
If you want to have fine control, specify the frames explicitly instead of using pause
and <+->
(see version 3 below).
Version 1:
documentclass{beamer}
begin{document}
begin{frame}{Comparison}
pause
begin{minipage}[t]{0.48linewidth}
onslide<2->%
Pros:
pause
begin{itemize}[<+->]
item 1
item 2
item 3
end{itemize}
end{minipage}
hfill
begin{minipage}[t]{0.48linewidth}%
onslide<2->%
Cons:
begin{itemize}[<+->]
item 1
item 2
item 3
end{itemize}
end{minipage}
end{frame}
end{document}
Version 2:
documentclass{beamer}
begin{document}
begin{frame}{Comparison}
pause
begin{minipage}[t]{0.48linewidth}
Pros:
pause
begin{itemize}[<+->]
item 1
item 2
item 3
end{itemize}
end{minipage}
hfill
begin{minipage}[t]{0.48linewidth}%
onslide<6->%
Cons:
pause
begin{itemize}[<+->]
item 1
item 2
item 3
end{itemize}
end{minipage}
end{frame}
end{document}
Version 3:
documentclass{beamer}
begin{document}
begin{frame}{Comparison}
pause
begin{minipage}[t]{0.48linewidth}
Pros:
begin{itemize}
item<3-> 1
item<4-> 2
item<5-> 3
end{itemize}
end{minipage}
hfill
begin{minipage}[t]{0.48linewidth}%
Cons:
begin{itemize}
item<3-> 1
item<4-> 2
item<5-> 3
end{itemize}
end{minipage}
end{frame}
end{document}
Correct answer by gernot on December 11, 2020
See, if the following solution gives what you looking for:
documentclass{beamer}
begin{document}
begin{frame}{Comparison}
begin{columns}[t]
begin{column}{0.48linewidth}
Pros:
begin{itemize}
item<1-> 1
item<2-> 2
item<3-> 3
end{itemize}
end{column}
begin{column}{0.48linewidth}
Cons:
begin{itemize}
item<1-> 1
item<2-> 2
item<3-> 3
end{itemize}
end{column}
end{columns}
end{frame}
end{document}
Answered by Zarko on December 11, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP