# Displaying listings in LaTeX beamer slides

If you are using LaTeX for presentations, you usually use the Beamer package. If you are serious about listing, you probably use the Listings package — but what if you want nice code listings in a presentation?

Actually, it’s quite easy, all you need is:

\begin{frame}[fragile]