如何为一行添加垂直空间?需要解决方案

如何为一行添加垂直空间?需要解决方案
\newcolumntype{L}{>{\RaggedRight\arraybackslash}X}


\begin{table}[htbp]

\caption{Lots of vertical rules}  \label{tab:a}

\begin{tabularx}{\textwidth}{|*{7}{l|} *{3}{L|}}
    \hline
    Ref & \multicolumn{6}{c|}{Model Used}
    & Approach & Limitation & Goal \\
    \hline
    &  \parbox[t]{2mm}{\multirow{3}{*}{\rotatebox[origin=c]{90}{MBTI}}} & \parbox[t]{2mm}{\multirow{3}{*}{\rotatebox[origin=c]{90}{FFM}}} & \parbox[t]{2mm}{\multirow{3}{*}{\rotatebox[origin=c]{90}{BFI}}} &\parbox[t]{2mm}{\multirow{3}{*}{\rotatebox[origin=c]{90}{KTS}}} & \parbox[t]{2mm}{\multirow{3}{*}{\rotatebox[origin=c]{90}{BTR}}} &\parbox[t]{2mm}{\multirow{3}{*}{\rotatebox[origin=c]{90}{NEO-FFI}}} 
    & \multicolumn{3}{L|}{} \\ 
    \hline

    [10] & & & & & & 
    & Interactive personality profiling approach 
    & Test were based on subjective evidences which may lead to uncertainty.
    & In order to propose a structure for effective software team structure. \\
    \hline
    & & & & & & & & & \\ 
    \hline
\end{tabularx}

\茶几}

在此处输入图片描述

答案1

嵌套似乎不是最好的方法\multirow\parbox

\documentclass{article}
\usepackage{array,tabularx,ragged2e,graphicx}

\newcolumntype{L}{>{\RaggedRight\arraybackslash}X}
\newcommand{\rotcell}[1]{%
  \rotatebox[origin=c]{90}{\begin{tabular}{c}#1\end{tabular}}%
}

\begin{document}

\begin{table}[htbp]

\caption{Lots of vertical rules}  \label{tab:a}

\begin{tabularx}{\textwidth}{|*{7}{l|} *{3}{L|}}
\hline
Ref & \multicolumn{6}{c|}{Model Used} & Approach & Limitation & Goal \\
\hline
& \rotcell{MBTI} & \rotcell{FFM} & \rotcell{BFI} & \rotcell{KTS} & \rotcell{BTR} &\rotcell{NEO-FFI} &
  \multicolumn{3}{l|}{} \\
\hline

[10] & & & & & &
& Interactive personality profiling approach
& Test were based on subjective evidences which may lead to uncertainty.
& In order to propose a structure for effective software team structure. \\
\hline
& & & & & & & & & \\
\hline
\end{tabularx}

\end{table}

\end{document}

在此处输入图片描述

相关内容