Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

beamer not compatible with "comment"? Is possible any "comment" environment with beamer?

845 views
Skip to first unread message

stanislav.fomin

unread,
Jul 22, 2008, 8:51:21 AM7/22/08
to
Is beamer not compatible with "comments" package?

Consider minimal sample:

----------------------------------------------------
\documentclass{beamer}
\usepackage{comment}

\begin{document}
\begin{frame}
\frametitle{111111111}

\begin{comment}
2222222222
\end{comment}

\end{frame}
\end{document}

----------------------------------------------------

I get:


! Paragraph ended before \xComment was complete.
<to be read again>
\par

----------------------------------------------------

Is there ANY way to make "block comment" environment (like
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=conditional) in beamer?

Sincerely, Stas Fomin

Lars Madsen

unread,
Jul 22, 2008, 8:54:11 AM7/22/08
to
stanislav.fomin wrote:
> Is beamer not compatible with "comments" package?
>

the comment environment might be fragile, just like e.g. listings, try

\begin{frame}[fragile]

untested


--

/daleif (remove RTFSIGNATURE from email address)

LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html

0 new messages