Add slides for images
This commit is contained in:
parent
00bcc5924f
commit
dfce58beac
@ -1,16 +1,77 @@
|
|||||||
<div class="layout-content-only">
|
<div class="layout-content-only">
|
||||||
<div class="layout-content">
|
<div class="layout-content">
|
||||||
<h1>Grafiken</h1>
|
<h1><span class="emoji">🖼️</span><br/>Grafiken</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
TODO: Grafiken (mit Positionierung)
|
<div class="layout-content-only">
|
||||||
|
<div class="layout-content">
|
||||||
|
<h2>Grafiken einbinden</h2>
|
||||||
|
<p>Um Grafiken einzubinden, muss das Paket <code>graphicx</code> eingebunden werden.</p>
|
||||||
|
<pre class="hljs lang-tex"><code>\begin{figure}
|
||||||
|
\includegraphics{datei.jpg}
|
||||||
|
\caption[Kurztitel]{Bildunterschrift}
|
||||||
|
\end{figure}</code></pre>
|
||||||
|
<p>Bildgröße angeben:</p>
|
||||||
|
<pre class="hljs lang-tex"><code>\includegraphics[width=\textwidth,
|
||||||
|
height=5cm]{datei.jpg}</code></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="layout-only">
|
<div class="layout-content-only">
|
||||||
|
<div class="layout-content">
|
||||||
|
<h2>Positionierung auf der Seite</h2>
|
||||||
|
<pre class="hljs lang-tex"><code>\begin{figure}[position]</code></pre>
|
||||||
|
<p>LaTeX positioniert Grafiken für uns automatisch. Durch Kürzel können wir unsere Präferenzen angeben.</p>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Kürzel</th>
|
||||||
|
<th>Position</th>
|
||||||
|
</tr>
|
||||||
|
<tr class="fragment">
|
||||||
|
<td>t</td>
|
||||||
|
<td>oberer Seitenrand</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="fragment">
|
||||||
|
<td>b</td>
|
||||||
|
<td>unterer Seitenrand</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="fragment">
|
||||||
|
<td>p</td>
|
||||||
|
<td>auf einer eigenen Seite</td>
|
||||||
|
</tr>
|
||||||
|
<tr class="fragment">
|
||||||
|
<td>H</td>
|
||||||
|
<td>definitiv und unbedingt ohne Widerspruch genau an dieser Stelle und nirgendwo sonst (benötigt Paket <code>float</code>)</td>
|
||||||
|
</tr>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<div class="layout-content-only">
|
||||||
|
<div class="layout-content">
|
||||||
|
<h2>Zentrierte Anordnung</h2>
|
||||||
|
<pre class="hljs lang-tex"><code>\begin{figure}[p]
|
||||||
|
\begin{center}
|
||||||
|
\includegraphics{datei.jpg}
|
||||||
|
\end{center}
|
||||||
|
\end{figure}</code></pre>
|
||||||
|
<p>Alternativ:</p>
|
||||||
|
<pre class="hljs lang-tex"><code>\begin{figure}[p]
|
||||||
|
\centering
|
||||||
|
\includegraphics{datei.jpg}
|
||||||
|
\end{figure}</code></pre>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<div class="layout-content-only">
|
||||||
<div class="layout-content">
|
<div class="layout-content">
|
||||||
<h2 data-category="Aufgabe">6. Grafiken einfügen</h2>
|
<h2 data-category="Aufgabe">6. Grafiken einfügen</h2>
|
||||||
<ul>
|
<ul>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user