code-listing

Code listing in LaTeX beamer presentation frames

Hi, everyone, I'm trying to create a LaTeX beamer presentation that has several Java code listings. However, I encountered a very bizarre problem - my listing snippet causes a compilation failure when in the presentation, but works just fine in some other document. \begin{frame}[Fragile] \frametitle{Test} \begin{lstlisting} publ...