I can't find out how to split my table into 2 pages! I tried longtable
package, but nothing worked.
My table contains many rows.
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{adjustbox}
\usepackage{multirow}
\begin{document}
\begin{table}[htbp]
\centering
\begin{tabularx}{\linewidth}{|l|X|X|X|}
\hline % horizontal line and | for vertical line %
\multicolumn{1}{|c|}{\textbf{characteristics}} & \multicolumn{1}{c|}{\textbf{sub-characteristics}}&\multicolumn{1}{c|}{\textbf{metrics}} &\multicolumn{1}{c|}{\textbf{citation}}
\tabularnewline\hline \hline
\multirow{ 6}{*}{Effectiveness(hight)} &
-Minimal memory load(low) && QUIM model
&\ &
-Minimal memory load(low) && QUIM model
&\ &
-Minimal memory load(low) &&
&\ &
-Minimal memory load(low) &&
&\ &
-Minimal memory load(low) &&
&\ &
-Minimal memory load(low) &&
&\ &
-Minimal memory load(low) &&QUIM&
\tabularnewline\hline
\multirow{ 7}{*}{Satisfaction}& -Attractiveness & &QUIM model
&\ &
-Attractiveness & &QUIM model
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & & &
\tabularnewline\hline
\multirow{ 8}{*}{ efficiency(hight)}& -Minimal memory load(low) & & QUIM model
& \ &
-Minimal memory load(low) & &QUIM
& \ &
-Minimal memory load(low) & &QUIM
&\ &
-Minimal memory load(low) & &QUIM
& \ &
-Minimal memory load(low) & &QUIM
& \ &
-Minimal memory load(low) & & QUIM
& \ &
-Minimal memory load(low) & & QUIM
& \ &
-Minimal memory load(low) & &QUIM &
\tabularnewline\hline
\multirow{ 2}{*}{User error protection} & & & &
\tabularnewline\hline
\multirow{ 11}{*}{ Usefulness} &&&
&\ &
-Flexibility &&
&\ &
-Flexibility &&
&\ &
-Flexibility &&
&\ &
-Flexibility &&
&\ &
-Flexibility &&
&\ &
-Flexibility &&
&\ &
-Flexibility &&
&\ &
-Flexibility &&
&\ &
-Flexibility &&
&\ &
-Flexibility && QUIM &
\tabularnewline\hline
\multirow{ 7}{*}{Satisfaction}& -Attractiveness & &QUIM model
&\ &
-Attractiveness & &QUIM model
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & & &
\tabularnewline\hline
\multirow{ 7}{*}{Satisfaction}& -Attractiveness & &QUIM model
&\ &
-Attractiveness & &QUIM model
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & & &
\tabularnewline\hline
\multirow{ 7}{*}{Satisfaction}& -Attractiveness & &QUIM model
&\ &
-Attractiveness & &QUIM model
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & & &
\tabularnewline\hline
\multirow{ 7}{*}{Satisfaction}& -Attractiveness & &QUIM model
&\ &
-Attractiveness & &QUIM model
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & & &
\tabularnewline\hline
\multirow{ 7}{*}{Satisfaction}& -Attractiveness & &QUIM model
&\ &
-Attractiveness & &QUIM model
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & &
& \ &
-Attractiveness & & &
\tabularnewline\hline
\end{tabularx}
\caption{A list of usability criteria }
\label{table:usability criteria}
\end{table}
\end{document}
\begin{table} ... \end{table}
usebegin{longtable}{<columns type} ...\end{longtable}
, removetabularx
, replaceX
column type withp{...}
and consolidate number of columns. For this you need to add\usepackage{longtable}
in document preamble.& \ &
? The number of&
does not correspond to the declared number of columns.