Alineación vertical de p multifila en tabú

Alineación vertical de p multifila en tabú

Estoy usando tabupara crear mis tablas. En una de las tablas, me gustaría tener una multirowfila y alinear verticalmente su contenido hacia arriba.

-------------- ---------------------------------
This is p col  First row
               ---------------------------------
               Second row
               ---------------------------------
               Third row
-------------- ---------------------------------
This is p col  First row
               ---------------------------------
               Second row
-------------- ---------------------------------

Este es el código básico de látex.

\begin{table}
\tabulinesep =_3pt^3pt
\begin{tabu} to \textwidth{p{4cm} X}
\toprule
\multirow{2}{4cm}{This is p col} & First row \\
& Second row \\
\bottomrule
\end{tabu}
\end{table}

Encontré varias soluciones para alinear verticalmente una Xcolumna, pero no una pcolumna.

Respuesta1

\documentclass{article}
\usepackage{tabu,multirow,booktabs}
\begin{document}
  \begin{table}
\tabulinesep =_3pt^3pt
\begin{tabu} to \textwidth{p{4cm} X}
\toprule
\multirow{2}[-4]{4cm}{This is p col} & First row \\
& Second row \\
\bottomrule
\end{tabu}
\end{table}
\end{document}

ingrese la descripción de la imagen aquí

información relacionada