I'm completely new to latex and I'm working on a presentation. In this presentation, I'd like to insert a short C-code snipplet:
Code: Select all
\frame{ \frametitle {Title}
\begin{columns}
\begin{column}{5cm}
\begin{block}{acquire}
\begin{lstlisting}
some C code here
\end{lstlisting}
\end{block}
\end{column}
\end{columns}
}
So a rather simple Code. But when I try to compile this, I get this error:
l. 135 is the very last line in my code posted above (i.e. the final } )../vortrag.tex:135: Argument of \lst@next has an extra }.
<inserted text>
\par
Runaway argument?
./vortrag.tex:135: Paragraph ended before \lst@next was complete.
<to be read again>
\par
l.135 }
Can anyone help me with this? I read that the error output usually tells me about a missing bracket, but there is no bracket missing?!=?!