Replace the codeblock command
This commit is contained in:
parent
a26138023c
commit
0a9086eb92
@ -12,6 +12,6 @@ C\# is an object-oriented programming language that was developed by Microsoft i
|
|||||||
\begin{listing}[H]
|
\begin{listing}[H]
|
||||||
\caption{A simple C\# program}
|
\caption{A simple C\# program}
|
||||||
\label{lst:csharphelloworld}
|
\label{lst:csharphelloworld}
|
||||||
\inputminted[breaklines,
|
\lstset{language=csharp}
|
||||||
linenos=true]{csharp}{exercises/references/HelloLateXFriends.cs}
|
\lstinputlisting{exercises/references/HelloLateXFriends.cs}
|
||||||
\end{listing}
|
\end{listing}
|
||||||
@ -8,8 +8,5 @@ C\# is an object-oriented programming language that was developed by Microsoft i
|
|||||||
|
|
||||||
The following source code listing shows a program that prints the text \enquote{Hello LaTeX friends!} to the console. Like Java, C\# makes use of classes and main methods to build executable applications.
|
The following source code listing shows a program that prints the text \enquote{Hello LaTeX friends!} to the console. Like Java, C\# makes use of classes and main methods to build executable applications.
|
||||||
|
|
||||||
\codeblock{csharp}{exercises/references/HelloLateXFriends.cs}
|
\lstset{language=csharp}
|
||||||
|
\lstinputlisting{exercises/references/HelloLateXFriends.cs}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user