Remove the blank space caused by images in beamer - TeX - LaTeX Stack Exchange
i making beamer presentation in need remove figure , replace items in itemize list. however, when remove image completely, there blank space between first , third point (second point after removal of item 2, contains figures). how can rid of space? below frame.
\begin{frame} \frametitle{title} \begin{block}{block 1} \begin{overlayarea}{\textwidth}{0.85\textheight} \begin{itemize} \item<1-> item 1. \item<2-4> item 2. \begin{figure} \includegraphics<2> [width=6.5cm, height=2.5cm]{image 1} \includegraphics<3> [width=6.5cm, height=2.5cm]{image 2} \includegraphics<4> [width=6.5cm, height=2.5cm]{image 3} \end{figure} \item<5> item 3 \only<5> abcd \item<5> item 4 \end{itemize} \end{overlayarea} \end{block} \end{frame} i tried placing figure environment in only<2-4> . doesn't either.
you can place second item (and associated content) inside \only<2-4>:

\documentclass{beamer} \begin{document} \begin{frame} \frametitle{title} \begin{block}{block 1} \begin{overlayarea}{\textwidth}{0.85\textheight} \begin{itemize} \item<1-> item 1. \only<2-4>{\item item 2. \bigskip\centering \includegraphics<2> [width=6.5cm, height=2.5cm]{example-image-a} \includegraphics<3> [width=6.5cm, height=2.5cm]{example-image-b} \includegraphics<4> [width=6.5cm, height=2.5cm]{example-image-c} } \item<5> item 3 \only<5> abcd \item<5> item 4 \end{itemize} \end{overlayarea} \end{block} \end{frame} \end{document}
Comments
Post a Comment