
Ich habe eine Tabelle mit 2 Abbildungen in jeder Zelle.
\begin{figure}
\begin{center}
\begin{tabular}{cc}
\includegraphics[width=0.45\textwidth]{mnist/1.png}& \includegraphics[width=0.45\textwidth]{mnist/2.png}\\
\end{tabular}
\caption{Results on the moving mnist dataset}
\label{fig:qualitativemnist}
\end{center}
\end{figure}
Aber ich hätte gerne zusätzliche Bildunterschriften wie unten
Wie geht das am einfachsten? Ich habe es auf diese Weise versucht, aber die Ausgabe ist nicht korrekt
\begin{figure}
\begin{center}
\begin{tabular}{ccc}
asd\\asd\\asd\\asd\\asd\\asd&
\includegraphics[width=0.45\textwidth]{mnist/1.png}& \includegraphics[width=0.45\textwidth]{mnist/2.png}\\
\end{tabular}
\caption{Prediction examples on the moving mnist dataset}
\label{fig:qualitativemnist}
\end{center}
\end{figure}
Antwort1
Das Anpassen des Zeilenabstands eines Bildes ist reine Glückssache, ebenso wie das Anpassen der Position innerhalb jeder Zeile. Bilder haben ihre Grundlinien ganz unten, daher die [b]-Tabellen.
\documentclass[11pt]{article}
\usepackage[draft]{graphicx}
\begin{document}
\begin{figure}[t]
\centering
\def\arraystretch{1.2}% controls row spacing
\raisebox{1ex}{\begin{tabular}[b]{@{}c@{}}% contols row centering
asd\\asd\\asd\\asd\\asd\\asd
\end{tabular}}
\includegraphics[width=0.4\textwidth]{mnist/1.png}\hfil
\raisebox{1ex}{\begin{tabular}[b]{@{}c@{}}
asd\\asd\\asd\\asd\\asd\\asd
\end{tabular}}
\includegraphics[width=0.4\textwidth]{mnist/2.png}
\caption{Prediction examples on the moving mnist dataset}% automatic \par
\label{fig:qualitativemnist}
\end{figure}
\end{document}