[Tex/LaTex] How to create a table in landscape environment with multi column

landscapemulticolumntables

I am trying to create a table in LateX that looks like the following:
enter image description here

Can anyone please help me?

Best Answer

Here is a start for you.

With \usepackage{rotating und sidewasytable and not landscape.

enter image description here

\documentclass[a4paper]{article}

\usepackage{pdflscape,array,booktabs}
\setlength\tabcolsep{5pt}

\usepackage{rotating}
\begin{document}

\begin{sidewaystable}
\caption{Simulation results}
\begin{tabular}{>{\raggedright}p{2.2cm}lcccccccccccc}
\hline
 & \multicolumn{2}{c}{Settings} & \multicolumn{10}{c}{Analysis}       \\
 \cline{2-3} \cline{5-13}
 Model & $\beta$          & n       &   & PERFECT & CC & NO-T & LOGT & T & T2 & NA & COX & COX*\\
 \midrule
\multicolumn{13}{l}{Bias}                                \\
 Base case*&     0        &   336    &    & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
Shape 2&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
Admin cens 2&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\\multicolumn{13}{l}{}   \\ 

\multicolumn{13}{l}{Per cent error in model standard error}                                \\
 Base case&     0        &   336    &    & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
Shape 2&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
Admin cens 2&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
\multicolumn{13}{l}{}   \\ 

\multicolumn{13}{l}{Power}                                \\
 Base case&     0        &   336    &    & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
Shape 2&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
admin cens&    0        &   336  &       & 0.00 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 & -0.01 \\
\bottomrule
\multicolumn{13}{l}{*Base case: ...}                                \\
\end{tabular}

\end{sidewaystable}

\end{document}

Ref. used: https://tex.stackexchange.com/a/133436/124842

Related Question