diff --git a/content/graphics.tex b/content/graphics.tex index dfc22a6..0e0290d 100644 --- a/content/graphics.tex +++ b/content/graphics.tex @@ -14,6 +14,8 @@ In order to be able to reference graphics, the package \texttt{graphicx} has to \codeblock{latex}{listings/graphics/image-size.tex} +With the \mono{caption} command you can also add a caption to the image. Note that you can provide an alternative caption in square brackets, if you want. + \section{Positioning} \label{sec:graphics-placement} One interesting aspect of the what-you-get-is-what-you-mean paradigm is the way how graphics can be positioned. diff --git a/exercises/graphics/task.tex b/exercises/graphics/task.tex index 88ff04a..ba43ef0 100644 --- a/exercises/graphics/task.tex +++ b/exercises/graphics/task.tex @@ -5,4 +5,4 @@ In the \file{exercises/graphics} directory you can find an image file \file{exercises/graphics/graphics.tex} file. Make sure that the image is placed exactly where you have specified it. On top of that, the picture shall be centered, and a caption shall be added. Adapt the image width to the text width -(\code{latex}{\textbackslash textwidth}). +(\code{latex}{\textbackslash textwidth}). On top of that, add a caption to the image.