translate graphics chapter and exercise material
This commit is contained in:
parent
f5a754fb0d
commit
4ec34c575b
@ -10,15 +10,15 @@ In order to be able to reference graphics, the package \texttt{graphicx} has to
|
|||||||
|
|
||||||
\begin{minted}[tabsize=4]{latex}
|
\begin{minted}[tabsize=4]{latex}
|
||||||
\begin{figure}
|
\begin{figure}
|
||||||
\includegraphics{<dateipfad>}
|
\includegraphics{<file path>}
|
||||||
\caption[<kurztitel>]{<bildunterschrift>}
|
\caption[<short title>]{<caption>}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
\end{minted}
|
\end{minted}
|
||||||
|
|
||||||
\noindent The command \texttt{includegraphics} can be used to change the image size. The desired height and width of the figure can be indicated separately, like illustrated by the following example:
|
\noindent The command \mintinline{latex}{includegraphics} can be used to change the image size. The desired height and width of the figure can be indicated separately, like illustrated by the following example:
|
||||||
|
|
||||||
\begin{minted}{latex}
|
\begin{minted}{latex}
|
||||||
\includegraphics[width=0.5\textwidth,height=5cm]{<dateipfad>}
|
\includegraphics[width=0.5\textwidth,height=5cm]{<file path>}
|
||||||
\end{minted}
|
\end{minted}
|
||||||
|
|
||||||
\section{Positioning}
|
\section{Positioning}
|
||||||
@ -31,16 +31,16 @@ In order to reference a picture, that possibly is placed on another page, we can
|
|||||||
On top of that, we can limit the positioning of our image more or less rigorously by adding optional parameters to the \texttt{figure} environment. The available positioning shortcuts can be found in \cref{tbl:placement-abbreviations}.
|
On top of that, we can limit the positioning of our image more or less rigorously by adding optional parameters to the \texttt{figure} environment. The available positioning shortcuts can be found in \cref{tbl:placement-abbreviations}.
|
||||||
|
|
||||||
\begin{table}[h!]
|
\begin{table}[h!]
|
||||||
\center
|
\centering
|
||||||
\begin{tabular}{cl}
|
\begin{tabular}{cl}
|
||||||
\toprule
|
\toprule
|
||||||
Kürzel & Position \\
|
Shortcut & Position \\
|
||||||
\midrule
|
\midrule
|
||||||
h & möglichst hier, wenn es gefällt \\
|
h & here, if possible \\
|
||||||
t & oberer Seitenrand \emph{(top)} \\
|
t & on top of the page \emph{(top)} \\
|
||||||
b & unterer Seitenrand \emph{(bottom)} \\
|
b & at the bottom of the bage \emph{(bottom)} \\
|
||||||
p & auf einer eigenen Seite \emph{(page)} \\
|
p & on its own apge\emph{(page)} \\
|
||||||
H & Definitiv an dieser Stelle! (benötigt Paket \texttt{float}) \\
|
H & Definitely here! (requires package \texttt{float}) \\
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
\caption{Shortcuts for Positioning Graphics}
|
\caption{Shortcuts for Positioning Graphics}
|
||||||
@ -48,9 +48,9 @@ On top of that, we can limit the positioning of our image more or less rigorousl
|
|||||||
\end{table}
|
\end{table}
|
||||||
|
|
||||||
\begin{minted}[tabsize=4]{latex}
|
\begin{minted}[tabsize=4]{latex}
|
||||||
\begin{figure}[<positionskürzel>]
|
\begin{figure}[<position shortcut>]
|
||||||
\centering
|
\centering
|
||||||
\includegraphics{<dateipfad>}
|
\includegraphics{<file path>}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
\end{minted}
|
\end{minted}
|
||||||
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Bitte hier das Bild einfügen.
|
Please insert the image here.
|
||||||
@ -1,3 +1,4 @@
|
|||||||
Bei den Übungsaufgaben findet ihr im Ordner \mintinline{latex}{graphics} eine Bilddatei namens \mintinline{latex}{latex-logo.png}. Fügt das Bild in die Datei \mintinline{bash}{exercises/graphics/graphics.tex} ein. Sorgt dafür, dass das Bild genau unter diesem Text erscheint. Das Bild soll außerdem zentriert eingebunden werden und über eine Bildunterschrift verfügen. Passt die Größe außerdem an die Breite der Seite (\mintinline{latex}{\textwidth}) an.
|
In the \texttt{exercises/graphics} directory you can find an image file named \texttt{latex-logo.png}. Insert the image into the \texttt{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 (\mintinline{latex}{\textwidth}).
|
||||||
|
|
||||||
|
|
||||||
\exercisematerial{exercises/graphics/graphics}
|
\exercisematerial{exercises/graphics/graphics}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user