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]
|
||||
\caption{A simple C\# program}
|
||||
\label{lst:csharphelloworld}
|
||||
\inputminted[breaklines,
|
||||
linenos=true]{csharp}{exercises/references/HelloLateXFriends.cs}
|
||||
\lstset{language=csharp}
|
||||
\lstinputlisting{exercises/references/HelloLateXFriends.cs}
|
||||
\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.
|
||||
|
||||
\codeblock{csharp}{exercises/references/HelloLateXFriends.cs}
|
||||
|
||||
|
||||
|
||||
|
||||
\lstset{language=csharp}
|
||||
\lstinputlisting{exercises/references/HelloLateXFriends.cs}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user