1

Could you please tell me how I can create this kind of tables in latex?

Thanks in advance,enter image description here

  • 1
    Do you mean that you want an overlap of tables? – gvgramazio May 2 '18 at 21:59
  • 2
    Welcome to TeX.SE. Are you familiar with the longtable environment? – Mico May 2 '18 at 21:59
  • 4
    Also, I see three part, not four. ;) – gvgramazio May 2 '18 at 22:00
  • 2
    @IhabSami Hence, do you want the table parts to overlap? Please insert your minimal working example (MWE) in your post, marked as a code sample. – CarLaTeX May 3 '18 at 4:55
  • 1
    @Ihab Sorry but I still don't get what you need. You wrote that you don't want an overlap of tables but you want to divide your dataset into 4 tables that overlap. Please be more clear. – gvgramazio May 3 '18 at 13:20
2

enter image description here

\begin{table}
\caption{Data example}
\label{TAB:label}
\begin{tabular}{|c|c}
\hline
\multicolumn{2}{|c|}{Frame No. $1$}\\
\hline
Index  & \multicolumn{1}{c|}{range data}\\
\hline\hline
0   &  \multicolumn{1}{c|}{3.11}\\
1   &  3.11\\
2   &  3.00 \\
\vdots  & \vdots \\
100 &  2.26 \\
101 &  2.28 \\
\vdots  & \vdots \\
757 &  1.51\\
758 &   4.05 \\
759 &   4.08 \\
760 &   4.08 \\
\end{tabular}
\hspace{-0.4in}\raisebox{-0.5in}{
\small\addtolength{\tabcolsep}{13pt}
\begin{tabular}{|l|l}
\hline
\multicolumn{2}{|l|}{Frame No. $2$}\\
\hline
0   &  \multicolumn{1}{l|}{3.11}\\
1   & 3.11\\
2   &  3.11 \\
\vdots  & \vdots \\
100 &  2.26 \\
101 &  2.28 \\
\vdots  & \vdots \\
757 &  1.51\\
758 &   4.05 \\
759 &   4.08 \\
760 &   4.08 \\
\end{tabular}
}
\hspace{-0.4in}\raisebox{-0.95in}{
\small\addtolength{\tabcolsep}{13pt}
\begin{tabular}{|l|l}
\hline
\multicolumn{2}{|c|}{Frame No. $3$}\\
\hline
0   &  \multicolumn{1}{l|}{3.11}\\
1   &  3.11\\
2   &  3.11 \\
\vdots  & \vdots \\
100 &  2.26 \\
101 &  2.28 \\
\vdots  & \vdots \\
757 &  1.51\\
758 &   4.05 \\
759 &   4.08 \\
760 &   4.08 \\
\end{tabular}}
\hspace{-0.35in}\raisebox{-1.4in}{
\small\addtolength{\tabcolsep}{13pt}
\begin{tabular}{|l|l|}
\hline
\multicolumn{2}{|c|}{Frame No. $4$}\\
\hline
0   &  3.11\\
1   &  3.11\\
2   &  3.10 \\
\vdots   & \vdots \\
100 &  2.26 \\
101 &  2.28 \\
\vdots  & \vdots \\
757 &  1.51\\
758 &   4.05 \\
759 &   4.08 \\
760 &   4.08 \\
\hline\hline
\end{tabular}}
\end{table}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.