[Tex/LaTex] Insert image and list inside a table

graphicsliststables

I am trying to add both an image and list inside a table but I face various problems. As shown in the picture, the image is above the first horizontal line and also the lists are not properly oriented, they are located at the end of the table, not in the same line with the image.
Can anybody help me with that? Thanks a lot

     \begin{table}[h!]
     \begin{center}
     \begin{tabular}{ | c | p{5cm} | p{5cm} | }
     \hline
      my.Lboro & Advantages & Disadvantages \\ \hline
     \includegraphics[width=0.3\textwidth, height=60mm]{images/myLboro.png}
      & 
      \begin{itemize}
      \item Accessibility
      \item Up to date information
      \item Fulfil students needs and wants \ldots
      \end{itemize}
      & 
      \begin{itemize}
      \item Accessibility
      \item Up to date information
      \item Fulfil students needs and wants \ldots
      \end{itemize}
      \\ \hline
      \end{tabular}
      \caption{my.Lboro Analysis}
      \label{tbl:myLboro}
      \end{center}
      \end{table}

enter image description here

Best Answer

You can use \raisebox to adjust the vertical positioning of the image:

\documentclass{memoir}
\usepackage[demo]{graphicx}% delete the demo option in your actual code
\usepackage{enumitem}
\usepackage{booktabs}

\begin{document}

\begin{table}[h!]
     \begin{center}
     \begin{tabular}{ c  p{5cm}  p{5cm}  }
     \toprule
      my.Lboro & Advantages & Disadvantages \\ 
    \cmidrule(r){1-1}\cmidrule(lr){2-2}\cmidrule(l){3-3}
     \raisebox{-\totalheight}{\includegraphics[width=0.3\textwidth, height=60mm]{images/myLboro.png}}
      & 
      \begin{itemize}[topsep=0pt]
      \item Accessibility
      \item Up to date information
      \item Fulfil students needs and wants \ldots
      \end{itemize}
      & 
      \begin{itemize}[topsep=0pt]
      \item Accessibility
      \item Up to date information
      \item Fulfil students needs and wants \ldots
      \end{itemize}
      \\ \bottomrule
      \end{tabular}
      \caption{my.Lboro Analysis}
      \label{tbl:myLboro}
      \end{center}
      \end{table}

\end{document}

enter image description here

I also made some changes to your code (as suggestions, of course):

  1. I used the booktabs package to improve the table design (in particular, no vertical rules).
  2. I used the enumitem package to suppress some vertical spacing before the lists.
Related Question