I have a table that I intend to span multiple (landscape) pages.
I understand that I can use the following package:
Code: Select all
\usepackage{longtable}
I would like to have some data rows map to one row of columns and another set of data rows to a second row of column headings within the same table.
Is this possible to achieve the following table style using a long table?
Code: Select all
\begin{landscape}
\begin{table}
\centering
\begin{tabular}{|p{0.5in} |l |l |l|}
\hline
\textbf{Control} & \multicolumn{3}{|p{7in}|}{\textbf{Guideline Description}}\\ \hline
Ctl-1&\multicolumn{3}{|p{7in}|}{Some description about the control}\\ \cline{2-4}%\hline
&\textbf{Threat} & \textbf{Vulnerability} & \textbf{Countermeasure} \\ \cline{2-4}
& some threat & some vulnerability & some countermeasure \\ \cline{2-4}
& some threat & some vulnerability & some countermeasure \\ \cline{2-4}
& some threat & some vulnerability & some countermeasure \\ \hline
Ctl-2&\multicolumn{3}{|p{7in}|}{Some description about the control}\\ \cline{2-4}%\hline
&\textbf{Threat} & \textbf{Vulnerability} & \textbf{Countermeasure} \\ \cline{2-4}
& some threat & some vulnerability & some countermeasure \\ \cline{2-4}
& some threat & some vulnerability & some countermeasure \\ \cline{2-4}
& some threat & some vulnerability & some countermeasure \\ \hline
Ctl-3&\multicolumn{3}{|p{7in}|}{Some description about the control}\\ \cline{2-4}%\hline
&\textbf{Threat} & \textbf{Vulnerability} & \textbf{Countermeasure} \\ \cline{2-4}
& some threat & some vulnerability & some countermeasure \\ \cline{2-4}
& some threat & some vulnerability & some countermeasure \\ \cline{2-4}
& some threat & some vulnerability & some countermeasure \\ \hline
\end{tabular}
\caption{Some Table Caption Goes here}
\label{mylabel}
\end{table}
\end{landscape}
Will