0

I would like to include a centered “(a)” above an image \includegraphics{test.png} both inside a multirow cell.

I have tried a \break command:

\multirow{2}{*}{(a)\break\includegraphics{test.png}}

it didn't worked. I tried to include a tabularenvironment

\multirow{2}{*}{\begin{tabular}{c}(a)\\\includegraphics{test.png}\end{tabular}}

it broke my compilation.

Here is the result I want to obtain:

enter image description here

I'm using the following format for the tabular environment :

@{}p{.144\textwidth}p{.049\textwidth}p{.617\textwidth}p{.09\textwidth}@{}

What I need is to place the "(a)" and "(e)" above the images…

How can I do that?

1
  • Could you please add some background information on the intended use for this? Are you actually interested in adding a subcaption to an image? What else is in your tabular, apart from the \multirow command?
    – leandriis
    Commented Nov 27, 2020 at 19:38

1 Answer 1

1

I suggest the following that could serve as a starting point:

enter image description here

\documentclass{article}
\usepackage{graphicx}
\usepackage[export]{adjustbox}
\usepackage{lipsum} % for dummy text. Do not use in real document.

\begin{document}
\noindent
\begin{minipage}{\textwidth}
\begin{tabular}{cc}
(a)  \\
\includegraphics[width=2cm]{example-image}
\end{tabular}
\begin{tabular}{lp{5.5cm}}
(b) & \lipsum[1][1]\\
(c) & \lipsum[1][3]\\
(d) & \includegraphics[width=1cm,valign=t]{example-image}
\end{tabular}
\begin{tabular}{cc}
(e)  \\
\includegraphics[width=2cm]{example-image}
\end{tabular}
\end{minipage}
\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .