Problem:
Trying to use tabularx to align text to a number of images. I have opened a similar question regarding tabular but decided to open a new specifically for tabularx since the tabular approach generated a number of errors which I could not solve.
Since I have figures I did not know how to make a MWE of them. Instead I will try to explain where the issue is.
Code:
\begin{figure}[tbh]
\begin{tabularx}{\textwidth}{cX}
\includegraphics[scale=.5]{figure8_1_server.eps} & This is some text that describes the first figure. It will take up as much space as is needed and will remain centred I hope.\\
\includegraphics[width=.5in]{figure8_1_arrow.eps} & \\
\includegraphics[width=1in]{figure8_1_database.eps} & This is some text that
describes the second figure. It will take up as much space as is needed
and will remain centred. As the text gets longer it centres in the way
that we want. So it seems that this is working. \\
\includegraphics[width=.5in]{figure8_1_arrow.eps} & \\
\includegraphics[scale=.5]{figure8_1_table.eps} & This is some text that describes the first figure. It will take up as much space as is needed and will remain centred I hope.\\
\includegraphics[width=.5in]{figure8_1_arrow.eps} & \\
\includegraphics[scale=.5]{figure8_1_row.eps} & This is some text that describes the first figure. It will take up as much space as is needed and will remain centred I hope.\\
\includegraphics[width=.5in]{figure8_1_arrow.eps} & \\
\includegraphics[scale=.5]{figure8_1_cell.eps} & This is some text that describes the first figure. It will take up as much space as is needed and will remain centred I hope.
\end{tabularx}
\caption{Syntax för iterationen for och dess delar.}
\label{fig:database}
\end{figure}
Outputs:
Desired outcome:
To have the text vertically aligned with the photos.


