2

I cannot find an answer for this seemingly easy question. In LyX, I build bullet points over several slides, but the slide number continues to increase. Is there a way to designate a set of frames as part of one overarching frame?

\documentclass{beamer} 
\usetheme{Madrid}

\begin{document}
\begin{frame}
\begin{itemize}
\item Item 1
\end{itemize}
\end{frame}

\begin{frame}
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{frame}

\begin{frame}
\begin{itemize}
\item Item 1
\item Item 2
\item Item 3
\end{itemize}
\end{frame}

\end{document}

In this MWE I will have 3 slides added to the slide count, but it is the same slide and I am just transitioning in bullets. I do this with graphs too and want to nest frames as one slide count (i.e., the above would add one slide to the total).

5
  • Are you using the [allowframebreaks] option? A screenshot illustrating the problem would probably help here.
    – Herr K.
    Nov 13, 2013 at 1:27
  • @KevinC Added in a MWE, sorry for being lazy
    – Chris J
    Nov 13, 2013 at 1:36
  • Have you looked at the beamer examples? Go to File > Open, then click on "Examples" (I know this button exists on Ubuntu, I forget what to do for Macs). Then open the files that say "beamer". In LyX 2.1 you will be able to go to Help > Specific Manuals > Beamer Presentations. You should see examples that do what you want
    – scottkosty
    Nov 13, 2013 at 1:38
  • Looks like you can just use the overlay specifications of Beamer instead of creating a new frame each time you introduce a new item. For instance \begin{frame}\begin{itemize}\item<1-> Item 1 \item<2-> Item 2 \item<3-> Item 3 \end{itemize}\end{frame}. This would introduce items one by one while the page count stays the same
    – Herr K.
    Nov 13, 2013 at 1:39
  • @KevinC This does work for items but how about graphs that are not itemized or if I want to bring in Item 1-3 in one slides and Items 1-5 on another? Also, how is this done in LyX?
    – Chris J
    Nov 13, 2013 at 1:41

1 Answer 1

1

You can use the ERT box (Insert->TeX code, or simply click the TeX button) to pass overlay specifications. In fact, the ERT box allows you to enter any TeX/LaTeX codes you'd like.

Step 1. Enter frame contents

enter image description here

Step 2. Add overlay specifications

  • First bring cursor to the beginning of an item
  • Open an ERT box by clicking the TeX box (or use Ctrl+L in Windows)

enter image description here

  • In the ERT box enter the overlay specifications (do this for all items)

  • For texts/graphs not in an itemize environment, use the ERT box to enter overlay commands like \only, \visible, \onslide, or \alt

enter image description here

Output

enter image description here

Once you're more familiar with how this works, you can just use Ctrl+L to enter overlay specifications as you type out the contents without having to follow the above steps rigidly.

11
  • This is not working, does any special package need to be loaded?
    – Chris J
    Nov 13, 2013 at 1:54
  • SKevinC Windows
    – Chris J
    Nov 13, 2013 at 2:02
  • @CJ12: See updated answer
    – Herr K.
    Nov 13, 2013 at 2:13
  • @CJ12: BTW, don't forget about insert an EndFrame at the end of the document.
    – Herr K.
    Nov 13, 2013 at 2:21
  • 1
    +1 Nice answer Kevin. Note that the "pause" layout might also be useful here.
    – scottkosty
    Nov 13, 2013 at 2:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .