# Vertical icons between subfloats

Hi what I'm trying to do is having icons e.g. arrows between a subfloat images that displays some kind of a "process" between the images.

This is my code so far:

\documentclass{report}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subfig}

\begin{document}

\begin{figure} [h]
\subfloat[text 1]{
\includegraphics[width=0.28\textwidth]
{example-image-a}}
\hfil
\subfloat[text 2]{
\includegraphics[width=0.28\textwidth]
{example-image-b}}
\hfil
\subfloat[text 3]{
\includegraphics[width=0.28\textwidth]
{example-image-c}}

\subfloat[text 4]{
\includegraphics[width=0.28\textwidth]
{example-image}}
\hfil
\subfloat[text 5]{
\includegraphics[width=0.28\textwidth]
{example-image}}
\hfil
\subfloat[text 6]{
\includegraphics[width=0.28\textwidth]
{example-image}}

\captionof{figure}[]{long text}
\label{fig:merge}
\end{figure}

\end{document}


Which gives me this:

What I want to have:

Is there a way of doing it?

Like this?

\documentclass{report}
\usepackage{pifont}
\usepackage[svgnames, x11names]{xcolor}
\usepackage{graphicx
}
\usepackage{caption}
\usepackage{subfig}
\usepackage{tabularx}
\newcommand\bigdownArrow{\color{Tomato2}\rotatebox[origin=c]{-90}{\scalebox{2.4}[3.6]{\ding{225}}}}
\newcommand\bigupArrow{\color{Tomato2}\rotatebox[origin=c]{90}{\scalebox{2.4}[3.6]{\ding{225}}}}
\begin{document}

\begin{figure} [h]
\begin{tabularx}{\textwidth}{@{}*{3}{>{\centering\arraybackslash}X}@{}}
\subfloat[text 1]{
\includegraphics[width=0.28\textwidth]
{example-image-a}}
&
\subfloat[text 2]{
\includegraphics[width=0.28\textwidth]
{example-image-b}}
&
\subfloat[text 3]{
\includegraphics[width=0.28\textwidth]
{example-image-c}}
\\
\bigdownArrow & \bigdownArrow & \bigupArrow
\\[-1ex]
\subfloat[text 4]{
\includegraphics[width=0.28\textwidth]
{example-image}}
&
\subfloat[text 5]{
\includegraphics[width=0.28\textwidth]
{example-image}}
&
\subfloat[text 6]{
\includegraphics[width=0.28\textwidth]
{example-image}}
\end{tabularx}
\captionof{figure}[]{long text}
\label{fig:merge}
\end{figure}

\end{document}


• exactly. thx allot (but between c and f upsite down. But I will manage to tun it on my own ;) ) – user1234 Jun 25 '17 at 19:46
• hmm well the rotating is not as easy as I thought using +90 is not what I expected :/ – user1234 Jun 25 '17 at 19:51
• @user2798895: Sorry, I had forgotten there was an arrow upwards. I've updated my code. Your difficulty comes from the rotation centre being by default at the left side of the character. The key origin=c solves the problem, and I defined two arrows, changing the initial name. – Bernard Jun 25 '17 at 21:03
• ohh lovely I really like it – user1234 Jun 26 '17 at 7:26