I have a longtable with \cline borders. Unfortunately, the image in the second column is not vertically centered. I even fail in changing the vertical position any way. I found this similar question: Vertically center image with respect to longtable paragraph
But changing p and m parameter doesn't seem to have an influence.
Here is my minimal working example:
\documentclass[a4paper]{scrreprt} \usepackage[utf8]{inputenc} \usepackage[ngerman,english]{babel} \usepackage[T1]{fontenc} \usepackage{mwe} \usepackage{longtable} \usepackage{array} \begin{document} \begin{longtable}{m{0.06\textwidth}p{0.3\textwidth}m{0.05\textwidth}m{0.05\textwidth}m{0.05\textwidth}m{0.05\textwidth}m{0.05\textwidth}m{0.05\textwidth}} % \begin{longtable}{p{0.06\textwidth}m{0.3\textwidth}m{0.05\textwidth}m{0.05\textwidth}m{0.05\textwidth}m{0.05\textwidth}m{0.05\textwidth}m{0.05\textwidth}} % doesn't work either Index & Figure & bla & bla & bla & bla & bla & bla\\ \cline{2-8} 1 & \includegraphics[width=0.2\linewidth]{example-image-a} & bla & bla & bla & bla & bla & bla \\ \cline{2-8} 2 & \includegraphics[width=0.2\linewidth]{example-image-a} & bla & bla & bla & bla & bla & bla \\ \cline{2-8} 3 & \includegraphics[width=0.2\linewidth]{example-image-a} & bla & bla & bla & bla & bla & bla \\ \cline{2-8} \end{longtable} \end{document} The output looks like:
It seems that there is a higher bottom margin. How can I center the image vertically (and also the text as it seems that the text is too low)?



\usepackage[export]{adjustbox}to your preamble and add the optionvalign=cto yourincludegraphicscommands. See also: How to vertically center text with an image in the same row of a table