Browse Source

Fix lstlistings annoyance on exercise sheet 8

Signed-off-by: Daniel Borchmann <daniel@algebra20.de>
master
Daniel Borchmann 6 years ago
parent
commit
e15b17fae5
Signed by untrusted user who does not match committer: dbo
GPG Key ID: 455E361001FF778F
  1. 12
      exercises/uebung-8.tex

12
exercises/uebung-8.tex

@ -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…
Cancel
Save