nikunj . wrote:
> How do we insert c code in lyx beamer presentation?
> I am trying to use package listings.

You need to use a "fragile" frame, which is not natively supported by LyX.

* Instead of the "BeginFrame", insert and "EndFrame"
* Then, below, in ERT
  \begin{frame}[fragile]
  \frametitle{Title of the Slide}
* Then the listing
* Finally, again in ERT
  \end{frame}

HTH,
Jürgen

Reply via email to