Text FormattingEnumeration over several frames [Beamer]

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
pooz
Posts: 65
Joined: Sat Apr 11, 2009 10:47 am

Enumeration over several frames [Beamer]

Post by pooz »

Hi there,

I have 3 questions concerning the enumaration in Beamerclass.

1.)
How can I continue the numbers in the enumerate-environment, when the next frame should continue with the next subitem, like 1.2 after 1 and 11

Code: Select all

Frame 1:
1.)
1.1)
Frame 2:
1.2)
2.)
As a possible workaround for Problem 1: How Can I make LaTeX to automatically add an additional frame, when the text/enumeration in a frame exceeds the space?

3.)
How can I skip a main number and go direct to a subnumber? See example:

Code: Select all

1.)
2.)
3.1)
3.2)
Thanks for your help!

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: Enumeration over several frames [Beamer]

Post by Stefan Kottwitz »

Hi pooz,

you could use the enumitem package. It provides a resume option for continuing from a previous enumerate environment and easier labelling.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Enumeration over several frames [Beamer]

Post by localghost »

Search the beamer user guide for the »allowframebreaks« option.


Thorsten
pooz
Posts: 65
Joined: Sat Apr 11, 2009 10:47 am

Enumeration over several frames [Beamer]

Post by pooz »

Thank you.

But unfortunately I encounter problems with enumitem-package. This is the error message.
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009
Processing: ./loeschmich.tex
Document Class: beamer 2007/03/11 cvs version 3.07 A class for typesetting presentations (rcs-revision 1.70)
Latex Error: ./loeschmich.tex:15 TeX capacity exceeded, sorry [grouping levels=255].
Latex Error: ./loeschmich.tex:15 ==> Fatal error occurred, no output PDF file produced!
Complete transcript is in loeschmich.log

Found 2 errors, and 0 warnings in 1 runs

/Applications/TextMate.app/Contents/SharedSupport/Bundles/LaTeX.tmbundle/Support/bin/latexmk.pl -pdf -f -r /tmp/latexmkrc "loeschmich.tex" exited with status 12
And here my MWE

Code: Select all

% !TEX encoding = IsoLatin
\documentclass{beamer}

\usepackage{enumitem}

\begin{document}
\begin{frame}
	Test-text begins here.
	\begin{enumerate}
		\item First item.
	\end{enumerate}
\end{frame}      
\end{document}
Would be very thankful for any help!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Enumeration over several frames [Beamer]

Post by Stefan Kottwitz »

There seems to be a collision regarding enumitem and beamer definitions. Perhaps just use the allowframebreaks option.

Stefan
LaTeX.org admin
pooz
Posts: 65
Joined: Sat Apr 11, 2009 10:47 am

Enumeration over several frames [Beamer]

Post by pooz »

When using allowframebreaks, is there still a possibility to force a framebreak at a specific position/line?

EDIT: But how to solve Problem 3.) of my initial post, when not using enumitem-package in beamerclass?

Thanks.
Last edited by pooz on Wed Jul 21, 2010 7:28 pm, edited 1 time in total.
pooz
Posts: 65
Joined: Sat Apr 11, 2009 10:47 am

Enumeration over several frames [Beamer]

Post by pooz »

I got problems when using some formulars in an enumerate-environment when allowframebreaks-option is activated.
The frame won´t become divided.

Code: Select all

\begin{frame}
  \frametitle[allowframebreaks,allowdisplaybreaks]{MyFrameTitle}
	\begin{enumerate}
		\item<+-> Should become Item 1.............................Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris ni
		\item<+-> Should become Item 2
			\begin{equation}
				\hat x(n)=...
			\end{equation}
			where blabla
			\begin{equation}
				e(n)
			\end{equation}
		\item <+-> Should become Item 3
			\begin{itemize}
				\item<+-> some text
				\begin{equation}
					e_\text{env}(n)
				\end{equation}
				with
				\begin{equation}
					\tilde e(n)
				\end{equation}
				\\
				where $\hat e(n)$ blabla
			\end{itemize}
		\item <+-> Should become Item 4
		\begin{itemize}
			\item<+-> write some more
			\begin{equation}
				Y(z)=
			\end{equation}
			with
			\begin{equation}
				H_\text{TP}(z)
			\end{equation}
			and
			\begin{equation}
				g =
			\end{equation}
			\\
			where $x(n) = 555$.
		\end{itemize}
	\end{enumerate}
\end{frame}      
Any Idea?
Thank you.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Enumeration over several frames [Beamer]

Post by localghost »

The only possible solution left might be to interrupt the enumerate environment and continue it on the next frame with the corresponding counter set to an appropriate value.

By the way, a topic can »bumped« by clicking the according link near the bottom of the page below »Who is online«. (Works only on topics that you initiated).
pooz
Posts: 65
Joined: Sat Apr 11, 2009 10:47 am

Re: Enumeration over several frames [Beamer]

Post by pooz »

Thanks,
this is what I am going to do. Unfortunately, when you add or remove a formular, you have to manually change the counter again, which in fact was one of the greatest feature of LaTeX, due to automatically changing formular numbers :-(

PS:
Unfortunately I dont find the bump-button. Here a screen shot of another thread I initiated.
Attachments
Bildschirmfoto 2010-07-28 um 12.13.57.png
Bildschirmfoto 2010-07-28 um 12.13.57.png (50.27 KiB) Viewed 17495 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Enumeration over several frames [Beamer]

Post by localghost »

pooz wrote:[...] Unfortunately I dont find the bump-button. Here a screen shot of another thread I initiated.
Very strange. I'm sure it works at least for one other user (seen in the forum logs) and for me. So I thought it would work for everyone.
pooz wrote:[...] Unfortunately, when you add or remove a formular, you have to manually change the counter again, which in fact was one of the greatest feature of LaTeX, due to automatically changing formular numbers. [...]
I didn't talk about the »equation« counter. This is kept untouched and should be incremented as usual. The concerned counter is called »labelenumi« (where the small »i« stands for theenumeration level in roman numbers, here the first).
Post Reply