[Tex/LaTex] How to put a matrix of images

graphics

I´m trying to place 4 images as a matrix 2 x 2

I´m having trouble with the first row….

What am I doing wrong?

I have read that subcaption package (or similar name)….is a suitable package

\documentclass[12pt,a4paper]{article}
\usepackage{mwe}
\usepackage{graphicx}

\begin{document}
\begin{tabular}{|c|c|}
      \hline
      % after \\: \hline or \cline{col1-col2} \cline{col3-col4} ...
      \includegraphics[width=60mm]{simu.jpg} & \includegraphics[width=60mm]{simu.jpg} \\
      {\small ''iteraciones máximas de BT''=20} &  \\
      {\small ''Periodo de Tenencia en Lista Tabú''=2}&  \\
      \hline
\end{tabular}
\end{document} 

What do you recommend me?

What´s the best practise/way in these cases.

The simu.jpg is a normal image SIMU.JPG


With These technique I obtained this example a row with 4 images, without any problem.

Best Answer

There is a small problem that the image touches the upper line. Some PDF readers does not show the upper line above the images depending on the view scale settings.

The following example defines macro \addheight that increases the height of the image box (adds some white space above the image). The amount can be configured via the optional argument.

\documentclass[12pt,a4paper]{article}
\usepackage{graphicx}

\newcommand*{\addheight}[2][.5ex]{%
  \raisebox{0pt}[\dimexpr\height+(#1)\relax]{#2}%
}

\begin{document}
\noindent
\begin{tabular}{|c|c|}
      \hline
      \addheight{\includegraphics[width=60mm]{simu.jpg}} &
      \addheight{\includegraphics[width=60mm]{simu.jpg}} \\
      \small ``row 2, column 1'' &  ``row 2, column 2'' \\
      \hline
\end{tabular}
\end{document}

Result