Fix lstlistings annoyance on exercise sheet 8
Signed-off-by: Daniel Borchmann <daniel@algebra20.de>
This commit is contained in:
parent
b92e185cfb
commit
e15b17fae5
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue