0

I'm trying to create the following scheme in latex, where is given outcome is that some subfigures have both a caption on the bottom and on the left. Currently, the closest thing I've got was

\documentclass{article}
\usepackage{subfig}
\usepackage{graphicx}

\usepackage{lipsum} % for mock caption text

\begin{document}

\begin{figure} \begin{tabular}{@{}cc@{}} \subfloat[subfigure]{% \label{a}% \includegraphics[width=0.25\textwidth]{example-image}% }& \subfloat[subfigure]{% \label{b}% \includegraphics[width=0.25\textwidth]{example-image}% }\ \subfloat[subfigure]{% \label{c}% \includegraphics[width=0.25\textwidth]{example-image}% }& \subfloat[subfigure]{% \label{d}% \includegraphics[width=0.25\textwidth]{example-image}% }\ \subfloat[subfigure]{% \label{e}% \includegraphics[width=0.25\textwidth]{example-image}% }& \subfloat[subfigure]{% \label{f}% \includegraphics[width=0.25\textwidth]{example-image}% }\ \subfloat[subfigure]{% \label{g}% \includegraphics[width=0.25\textwidth]{example-image}% }& \subfloat[subfigure]{% \label{h}% \includegraphics[width=0.25\textwidth]{example-image}% }\ \subfloat[subfigure]{% \label{i}% \includegraphics[width=0.25\textwidth]{example-image}% }& \subfloat[subfigure]{% \label{j}% \includegraphics[width=0.25\textwidth]{example-image}% }\ \end{tabular}\hfill \begin{minipage}{0.4\textwidth} \caption{\lipsum[2]} \label{x} \end{minipage} \end{figure}

\end{document}

Thanks to this post, which results in one side figure for the whole figure.

This is an example of the desired outcome - enter image description here

DsCpp
  • 209
  • 1
    See if https://tex.stackexchange.com/questions/449556/ issue-with-positioning-of-text-in-tabular-environment/449559#449559 can help you. – Zarko Nov 18 '20 at 07:26

1 Answers1

0

Using @Zarko's help, I'm putting it here for future reference


\begin{center}
\begin{table}
    \begin{tabular}{cccc}
No $\mathcal{L}_{AG}$ &
\adjustimage{width=.25\textwidth,valign=c}{example-image-a}&
\adjustimage{width=.25\textwidth,valign=c}{example-image-b}&
\adjustimage{width=.25\textwidth,valign=c}{example-image-c}\\
With $\mathcal{L}_{AG}$ &
\adjustimage{width=.25\textwidth,valign=c}{example-image-a}&
\adjustimage{width=.25\textwidth,valign=c}{example-image-b}&
\adjustimage{width=.25\textwidth,valign=c}{example-image-c}\\
\noalign{\smallskip}
&NaiveNet&
Step 1&
Step 2\\

\end{tabular}
  \caption{This is my one big table} \label{tab:sometab}

\end{table} \end{center}

DsCpp
  • 209
  • Just after the first line of pictures (and before Whith ...) add this line: &&&\ to separate horizontally the two lines of pictures. – Raffaele Santoro Dec 19 '21 at 11:47