|
On Mon, Aug 29, 2011 at 20:38, Alexander Gladysh <agladysh@gmail.com> wrote:Everyone who made suggestions, thank you!
> Does anyone know how to teach LaTeX to highlight Lua code?
> The listings package does not seem to support it...
After some extensive googling I've settled on Minted package — as it
does not require any additional motions for code to be highlighted...
It is a bit slow and has some bugs in highlighting, but is quite
bearable. (I blame the fact that it's backend is implemented in Python
:-P)
Alexander.
\documentclass{beamer}
\usepackage{minted}
\begin{document}
\begin{frame}[fragile]
\frametitle{Foo}
\begin{minted}{lua}
print("Hallo, world!")
\end{minted}
\end{frame}
\end{document}