From 7ecc90b22d028139e963aa8d548e4bae79ebee3b Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sat, 23 Nov 2024 18:23:57 +0100 Subject: [PATCH] Move caption below image --- exercises/references/references.code.done.tex | 2 +- exercises/references/references.raw.tex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/references/references.code.done.tex b/exercises/references/references.code.done.tex index e3aa3b9..5b15226 100644 --- a/exercises/references/references.code.done.tex +++ b/exercises/references/references.code.done.tex @@ -1,10 +1,10 @@ C\# is an object-oriented programming language that was developed by Microsoft in 2011. In \cref{fig:csharp} we can see the logo of the programming language. \begin{figure}[H] - \caption{The logo of C\#} \label{fig:csharp} \centering \includegraphics[width=2cm]{exercises/references/csharp.png} + \caption{The logo of C\#} \end{figure} \cref{lst:csharphelloworld} 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. diff --git a/exercises/references/references.raw.tex b/exercises/references/references.raw.tex index 7110b51..62bf9c5 100644 --- a/exercises/references/references.raw.tex +++ b/exercises/references/references.raw.tex @@ -3,9 +3,9 @@ C\# is an object-oriented programming language that was developed by Microsoft in 2011. In the figure we can see the logo of the programming language. \begin{figure}[H] - \caption{The logo of C\#} \centering \includegraphics[width=2cm]{exercises/references/csharp.png} + \caption{The logo of C\#} \end{figure} 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.