
У меня есть таблица с двумя цифрами в каждой ячейке.
\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}
Но я бы хотел дополнительные подписи, как показано ниже.
Какой самый простой способ это сделать? Я пробовал так, но результат неверный
\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}
решение1
Подгонка интервала между строками изображения будет либо удачной, либо неудачной, как и настройка положения внутри каждой строки. Изображения имеют свои базовые линии в самом низу, отсюда и табличные [b].
\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}