Skip to content
Snippets Groups Projects
Commit 1be64476 authored by Michael Grinberg's avatar Michael Grinberg
Browse files

Korrektur in der Anleitung: Java-Listing als solches gekennzeichnet (statt fälschlicherweise C++)

parent af233b3e
No related branches found
No related tags found
No related merge requests found
......@@ -43,13 +43,13 @@ public class HelloWorld {
%
Dieses Listing bewirkt das folgende Ergebnis:
%
\begin{C++}[caption={Ein Hello-World Beispiel in Java},label={lst:hello-world}]
\begin{java}[caption={Ein Hello-World Beispiel in Java},label={lst:hello-world}]
public class HelloWorld {
public static void main( String[] args ) {
System.out.println( "HelloWorld" );
}
}
\end{C++}
\end{java}
Man beachte, dass anders als bei Abbildungen und Tabellen
die Bezeichnung (\texttt{caption}) und die Referenzmarke (\texttt{label})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment