add caption information

This commit is contained in:
Fradtschuk 2023-04-21 11:22:05 +02:00
parent 63e7f42658
commit 381d1845d0
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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.