Bilder » Historie » Version 2
Patrick Schulz, 25.02.2021 13:30
| 1 | 1 | Patrick Schulz | h1. Bilder |
|---|---|---|---|
| 2 | |||
| 3 | h2. Bilder im *transpect-tex Common Framework* ("transpect-floats.dtx":https://gitlab.le-tex.de/transpect-tex/transpect-tex/-/blob/master/src/transpect-floats.dtx) |
||
| 4 | |||
| 5 | h3. Einzelbilder |
||
| 6 | <pre><code class="text"> |
||
| 7 | \begin{tpFigure}[<floatpos>] |
||
| 8 | 2 | Patrick Schulz | \tpCaption{<caption>} |
| 9 | \tpSource{<Quelle>} |
||
| 10 | \tpLegend{<Legende>} |
||
| 11 | \tpNumber{<Nummer>} |
||
| 12 | \tpFig{\includegraphics[<optionen>]{<pfad>}} |
||
| 13 | 1 | Patrick Schulz | \end{tpFigure} |
| 14 | </code></pre> |
||
| 15 | * @<floatpos>@ Float-Position (optional): |
||
| 16 | ** fehlt das opt. Argument oder ist die Klammer leer, wird das Bild fix (d.h. nicht-gleitend) platziert. Ggf. wird dabei (viel) vertikaler Weißraum erzeugt. |
||
| 17 | ** t top |
||
| 18 | ** b bottom |
||
| 19 | ** h falls Bild noch auf Seite passt: nichtgleitend, sonst: top auf nächster Seite |
||
| 20 | ** p Bild allein auf nächster Seite. |
||
| 21 | 2 | Patrick Schulz | * @\tpCaption{}@ Bildunterschrift |
| 22 | * @\tpSource{}@ Quellenangabe |
||
| 23 | * @\tpLegend{}@ Legende |
||
| 24 | * @\tpNumber{}@ Abbildungszähler samt Präfix, z.B. "Abb. 10", "Fig. 1.2", "Abbildung 22", etc. |
||
| 25 | * @\tpFig{}@ Hiermit wird die Bilddatei eingebunden, beinhaltet i.d.R. @\includegraphics[<optionen>]{<pfad>}@ |
||
| 26 | 1 | Patrick Schulz | |
| 27 | h3. komplexe Abbildungen |
||
| 28 | |||
| 29 | h4. Mehrere Bilder unter einer Caption |
||
| 30 | |||
| 31 | <pre><code class="text"> |
||
| 32 | \begin{tpFigure} |
||
| 33 | 2 | Patrick Schulz | \tpCaption{<caption>} |
| 34 | \tpLegend{<Legende>} |
||
| 35 | \tpSource{<source>} |
||
| 36 | \tpNumber{<Counter>} |
||
| 37 | 1 | Patrick Schulz | \begin{tpSubFloat} |
| 38 | 2 | Patrick Schulz | \tpFig{\includegraphics[<optionen>]{<pfad>}} |
| 39 | 1 | Patrick Schulz | \end{tpSubFloat} |
| 40 | \begin{tpSubFloat} |
||
| 41 | 2 | Patrick Schulz | \tpFig{\includegraphics[<optionen>]{<pfad>}} |
| 42 | 1 | Patrick Schulz | \end{tpSubFloat} |
| 43 | \end{tpFigure} |
||
| 44 | </code></pre> |
||
| 45 | |||
| 46 | h4. Mehrere Bilder mit separaten Captions |
||
| 47 | |||
| 48 | <pre><code class="text"> |
||
| 49 | \begin{tpFigure} |
||
| 50 | \begin{tpSubFloat} |
||
| 51 | 2 | Patrick Schulz | \tpCaption{<caption>} |
| 52 | \tpLegend{<Legende>} |
||
| 53 | \tpSource{<source>} |
||
| 54 | \tpNumber{<Counter>} |
||
| 55 | \tpFig{\includegraphics[<optionen>]{<pfad>}} |
||
| 56 | 1 | Patrick Schulz | \end{tpSubFloat} |
| 57 | \begin{tpSubFloat} |
||
| 58 | 2 | Patrick Schulz | \tpCaption{<caption>} |
| 59 | \tpLegend{<Legende>} |
||
| 60 | \tpSource{<source>} |
||
| 61 | \tpNumber{<Counter>} |
||
| 62 | \tpFig{\includegraphics[<optionen>]{<pfad>}} |
||
| 63 | 1 | Patrick Schulz | \end{tpSubFloat} |
| 64 | \end{tpFigure} |
||
| 65 | </code></pre> |