Bilder » Historie » Revision 2
Revision 1 (Patrick Schulz, 09.02.2021 09:28) → Revision 2/17 (Patrick Schulz, 25.02.2021 13:30)
h1. Bilder
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)
h3. Einzelbilder
<pre><code class="text">
\begin{tpFigure}[<floatpos>]
\tpCaption{<caption>} \caption{<caption>}
\tpSource{<Quelle>} \source{<Quelle>}
\tpLegend{<Legende>} \legend{<Legende>}
\tpNumber{<Nummer>} \number{<Nummer>}
\tpFig{\includegraphics[<optionen>]{<pfad>}} \fig{\includegraphics[<optionen>]{<pfad>}}
\end{tpFigure}
</code></pre>
* @<floatpos>@ Float-Position (optional):
** 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.
** t top
** b bottom
** h falls Bild noch auf Seite passt: nichtgleitend, sonst: top auf nächster Seite
** p Bild allein auf nächster Seite.
* @\tpCaption{}@ @\caption{}@ Bildunterschrift
* @\tpSource{}@ @\source{}@ Quellenangabe
* @\tpLegend{}@ @\legend{}@ Legende
* @\tpNumber{}@ @\number{}@ Abbildungszähler samt Präfix, z.B. "Abb. 10", "Fig. 1.2", "Abbildung 22", etc.
* @\tpFig{}@ @\fig{}@ Hiermit wird die Bilddatei eingebunden, beinhaltet i.d.R. @\includegraphics[<optionen>]{<pfad>}@
h3. komplexe Abbildungen
h4. Mehrere Bilder unter einer Caption
<pre><code class="text">
\begin{tpFigure}
\tpCaption{<caption>} \caption{<caption>}
\tpLegend{<Legende>} \legend{<Legende>}
\tpSource{<source>} \source{<source>}
\tpNumber{<Counter>} \label{<Counter>}
\begin{tpSubFloat}
\tpFig{\includegraphics[<optionen>]{<pfad>}} \fig{\includegraphics[<optionen>]{<pfad>}}
\end{tpSubFloat}
\begin{tpSubFloat}
\tpFig{\includegraphics[<optionen>]{<pfad>}} \fig{\includegraphics[<optionen>]{<pfad>}}
\end{tpSubFloat}
\end{tpFigure}
</code></pre>
h4. Mehrere Bilder mit separaten Captions
<pre><code class="text">
\begin{tpFigure}
\begin{tpSubFloat}
\tpCaption{<caption>} \caption{<caption>}
\tpLegend{<Legende>} \legend{<Legende>}
\tpSource{<source>} \source{<source>}
\tpNumber{<Counter>} \label{<Counter>}
\tpFig{\includegraphics[<optionen>]{<pfad>}} \fig{\includegraphics[<optionen>]{<pfad>}}
\end{tpSubFloat}
\begin{tpSubFloat}
\tpCaption{<caption>} \caption{<caption>}
\tpLegend{<Legende>} \legend{<Legende>}
\tpSource{<source>} \source{<source>}
\tpNumber{<Counter>} \label{<Counter>}
\tpFig{\includegraphics[<optionen>]{<pfad>}} \fig{\includegraphics[<optionen>]{<pfad>}}
\end{tpSubFloat}
\end{tpFigure}
</code></pre>