I have longtable with multirow:
\documentclass[a4paper,12pt]{report}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{makecell,array}
\begin{document}
{
\begin{longtable}[H]{|p{\dimexpr0.33\linewidth-2\tabcolsep}|m{\dimexpr0.33\linewidth-2\tabcolsep}|p{\dimexpr0.33\linewidth-2\tabcolsep}|}
\caption{Title}
\tabularnewline\hline
\multirow{4}{\linewidth}{ \centering \textbf{Long long long long long long long long long long long long long long long long long long text}} & Long long long long long long long long long long long long long long long long long long text & 1111 \tabularnewline \cline{2-3}
& Long long long long long long long long long long long long long long text & 1111 \tabularnewline \cline{2-3}
& Long long long long long long long long long long long long long long long long text & 1111 \tabularnewline \cline{2-3}
& Long long long long long long long long long long long long long long long text & 1111 \tabularnewline \cline{1-3}
\end{longtable}
}
\end{document}
I need use columns with specific width \dimexpr0.33\linewidth-2\tabcolsep Here I use a simple example, but in general, the column can be larger and the text is not fixed length.
I want the last column has vertical alignment. I have problem in first column.
I want to get one of the images:
How can I fix it?
Update. I need use mulrirow and longtable. The figure is the full version of the table in which the problem occurred.
Best Answer
It is possible without using
multirow
. In a lot of cases you can use a nested tabular.ltablex
is a combination oflongtable
andtabularx
: