Fix lstlistings annoyance on exercise sheet 8

Signed-off-by: Daniel Borchmann <daniel@algebra20.de>
This commit is contained in:
Daniel - 2016-12-27 21:47:03 +01:00
parent b92e185cfb
commit e15b17fae5
Signed by: dbo
GPG Key ID: 455E361001FF778F
1 changed files with 6 additions and 6 deletions

View File

@ -61,12 +61,12 @@ und \lstinline|only| zu verstehen.
\item Lade das Paket \texttt{listings} und füge folgendes \lstinline|frame| hinzu:
\begin{lstlisting}
\begin{frame}[fragile]
\begin{lstlisting}[language=C]
#include <stdio.h>
main(){
printf("Hello World");
}
\end{lstlisting}
\begin{lstlisting}[language=C]
#include <stdio.h>
main(){
printf("Hello World");
}
\end{lstlisting }
\end{frame}
\end{lstlisting}
Man kann also leicht Quellcode darstellen.