我甚至不确定这里出了什么问题。我有一个表格,我想将标题放在底部,从第 2 页开始标记为(继续)。我想使用\\
而不是在某些地方中断表格\\*
。最后,应该在每页的顶部和底部使用booktab
命令\toprule
和。\bottomrule
令我惊讶的是,即使有\pagebreak
或\newpage
表格仍然拒绝跨页。
示例表,其中所需断点以红色箭头标记。
代码
\documentclass[11pt,a4paper]{report}
\usepackage{rotating,multirow,longtable,booktabs}
%Add \endfirstfoot support http://tex.stackexchange.com/questions/68439/caption-at-foot-of-long-tables-longtable-package
\makeatletter
\newbox\LT@firstfoot
\def\endfirstfoot{\LT@end@hd@ft\LT@firstfoot}
\newdimen\LT@footdiff
\def\LT@start{%
\let\LT@start\endgraf
\endgraf\penalty\z@
\vskip\LTpre
\LT@footdiff-\ht\LT@foot
\advance\LT@footdiff\ht\LT@firstfoot
\dimen@\pagetotal
\advance\dimen@ \ht\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
\advance\dimen@ \dp\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
\advance\dimen@ \ht\ifvoid\LT@firstfoot\LT@foot\else\LT@firstfoot\fi
\dimen@ii\vfuzz
\vfuzz\maxdimen
\setbox\tw@\copy\z@
\setbox\tw@\vsplit\tw@ to \ht\@arstrutbox
\setbox\tw@\vbox{\unvbox\tw@}%
\vfuzz\dimen@ii
\advance\dimen@ \ht
\ifdim\ht\@arstrutbox>\ht\tw@\@arstrutbox\else\tw@\fi
\advance\dimen@\dp
\ifdim\dp\@arstrutbox>\dp\tw@\@arstrutbox\else\tw@\fi
\advance\dimen@ -\pagegoal
\ifdim \dimen@>\z@\vfil\break\fi
\global\@colroom\@colht
\ifvoid\LT@firstfoot
\ifvoid\LT@foot
\else
\advance\vsize-\ht\LT@foot
\global\advance\@colroom-\ht\LT@foot
\dimen@\pagegoal\advance\dimen@-\ht\LT@foot\pagegoal\dimen@
\maxdepth\z@
\fi
\else
\advance\vsize-\ht\LT@firstfoot
\global\advance\@colroom-\ht\LT@firstfoot
\dimen@\pagegoal\advance\dimen@-\ht\LT@firstfoot\pagegoal\dimen@
\maxdepth\z@
\fi
\ifvoid\LT@firsthead\copy\LT@head\else\box\LT@firsthead\fi\nobreak
\output{\LT@output}%
}
\def\LT@output{%
\ifnum\outputpenalty <-\@Mi
\ifnum\outputpenalty > -\LT@end@pen
\LT@err{floats and marginpars not allowed in a longtable}\@ehc
\else
\setbox\z@\vbox{\unvbox\@cclv}%
\ifdim \ht\LT@lastfoot>\ht\LT@foot
\dimen@\pagegoal
\advance\dimen@-\ht\LT@lastfoot
\ifdim\dimen@<\ht\z@
\setbox\@cclv\vbox{\unvbox\z@\copy\LT@foot\vss}%
\@makecol
\@outputpage
\setbox\z@\vbox{\box\LT@head}%
\fi
\fi
\global\@colroom\@colht
\global\vsize\@colht
\vbox
{\unvbox\z@\box\ifvoid\LT@lastfoot\LT@foot\else\LT@lastfoot\fi}%
\fi
\else
\ifvoid\LT@firstfoot
\setbox\@cclv\vbox{\unvbox\@cclv\copy\LT@foot\vss}%
\@makecol
\@outputpage
\global\vsize\@colroom
\else
\setbox\@cclv\vbox{\unvbox\@cclv\box\LT@firstfoot\vss}%
\@makecol
\@outputpage
\global\advance\@colroom\LT@footdiff
\global\vsize\@colroom
\fi
\copy\LT@head\nobreak
\fi
}
\makeatother
\begin{document}
% Table generated by Excel2LaTeX from sheet 'Sheet1'
\begin{table}[!hp]
\centering
\begin{longtable}{rrrrrrrrrrrrrrrrr}
\toprule \endfirsthead
\toprule \endhead
\bottomrule
\caption{Add caption}\label{tbl:ch7a_config}\\%
\endfirstfoot
\bottomrule
\caption[]{(continued)}\\%
\endfoot
\bottomrule
\caption[]{(continued)}\\%
\endlastfoot
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{1}\end{sideways} & \begin{sideways}\textbf{2}\end{sideways} & \begin{sideways}\textbf{3}\end{sideways} & \begin{sideways}\textbf{4}\end{sideways} & \begin{sideways}\textbf{5}\end{sideways} & \begin{sideways}\textbf{6}\end{sideways} & \begin{sideways}\textbf{7}\end{sideways} & \begin{sideways}\textbf{8}\end{sideways} & \begin{sideways}\textbf{9}\end{sideways} & \begin{sideways}\textbf{10}\end{sideways} & \begin{sideways}\textbf{11}\end{sideways} & \begin{sideways}\textbf{12}\end{sideways} & \begin{sideways}\textbf{13}\end{sideways} & \begin{sideways}\textbf{14}\end{sideways} & \begin{sideways}\textbf{15}\end{sideways} \\*
\midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 1 & 2 & 1 & 2 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{z2} & 1 & 1 & 2 & 1 & 2 & 2 & 1 & 1 & 2 & 1 & 1 & 2 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{z34} & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{z56} & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 2 \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 1 & 2 & 1 & 1 & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{p2} & 1 & 2 & 1 & 1 & 2 & 1 & 2 & 1 & 2 & 2 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{p34} & 1 & 2 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 1 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{p56} & 1 & 2 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 1 & 2 & 1 \\ \midrule
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{16}\end{sideways} & \begin{sideways}\textbf{17}\end{sideways} & \begin{sideways}\textbf{18}\end{sideways} & \begin{sideways}\textbf{19}\end{sideways} & \begin{sideways}\textbf{20}\end{sideways} & \begin{sideways}\textbf{21}\end{sideways} & \begin{sideways}\textbf{22}\end{sideways} & \begin{sideways}\textbf{23}\end{sideways} & \begin{sideways}\textbf{24}\end{sideways} & \begin{sideways}\textbf{25}\end{sideways} & \begin{sideways}\textbf{26}\end{sideways} & \begin{sideways}\textbf{27}\end{sideways} & \begin{sideways}\textbf{28}\end{sideways} & \begin{sideways}\textbf{29}\end{sideways} & \begin{sideways}\textbf{30}\end{sideways} \\* \midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 1 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 1 & 2 & 1 \\*
\multicolumn{1}{c}{} & \textit{z2} & 1 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{z34} & 1 & 2 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 1 \\*
\multicolumn{1}{c}{} & \textit{z56} & 2 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 2 & 2 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{p2} & 2 & 2 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{p34} & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{p56} & 1 & 1 & 2 & 1 & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 \\ \midrule
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{31}\end{sideways} & \begin{sideways}\textbf{32}\end{sideways} & \begin{sideways}\textbf{33}\end{sideways} & \begin{sideways}\textbf{34}\end{sideways} & \begin{sideways}\textbf{35}\end{sideways} & \begin{sideways}\textbf{36}\end{sideways} & \begin{sideways}\textbf{37}\end{sideways} & \begin{sideways}\textbf{38}\end{sideways} & \begin{sideways}\textbf{39}\end{sideways} & \begin{sideways}\textbf{40}\end{sideways} & \begin{sideways}\textbf{41}\end{sideways} & \begin{sideways}\textbf{42}\end{sideways} & \begin{sideways}\textbf{43}\end{sideways} & \begin{sideways}\textbf{44}\end{sideways} & \begin{sideways}\textbf{45}\end{sideways} \\* \midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{z2} & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{z34} & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{z56} & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{p2} & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 \\*
\multicolumn{1}{c}{} & \textit{p34} & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{p56} & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 1 \\ \midrule
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{46}\end{sideways} & \begin{sideways}\textbf{47}\end{sideways} & \begin{sideways}\textbf{48}\end{sideways} & \begin{sideways}\textbf{49}\end{sideways} & \begin{sideways}\textbf{50}\end{sideways} & \begin{sideways}\textbf{51}\end{sideways} & \begin{sideways}\textbf{52}\end{sideways} & \begin{sideways}\textbf{53}\end{sideways} & \begin{sideways}\textbf{54}\end{sideways} & \begin{sideways}\textbf{55}\end{sideways} & \begin{sideways}\textbf{56}\end{sideways} & \begin{sideways}\textbf{57}\end{sideways} & \begin{sideways}\textbf{58}\end{sideways} & \begin{sideways}\textbf{59}\end{sideways} & \begin{sideways}\textbf{60}\end{sideways} \\* \midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 1 & 2 & 1 & 2 & 1 & 2 & 2 & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{z2} & 2 & 1 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{z34} & 1 & 1 & 2 & 2 & 2 & 1 & 2 & 2 & 2 & 2 & 1 & 2 & 1 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{z56} & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 2 & 2 & 2 & 2 & 1 & 2 & 2 & 1 \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{p2} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{p34} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 2 & 1 \\*
\multicolumn{1}{c}{} & \textit{p56} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 2 & 1 & 2 & 2 & 2 & 1 & 2 \\ \midrule
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{61}\end{sideways} & \begin{sideways}\textbf{62}\end{sideways} & \begin{sideways}\textbf{63}\end{sideways} & \begin{sideways}\textbf{64}\end{sideways} & \begin{sideways}\textbf{65}\end{sideways} & \begin{sideways}\textbf{66}\end{sideways} & \begin{sideways}\textbf{67}\end{sideways} & \begin{sideways}\textbf{68}\end{sideways} & \begin{sideways}\textbf{69}\end{sideways} & \begin{sideways}\textbf{70}\end{sideways} & \begin{sideways}\textbf{71}\end{sideways} & \begin{sideways}\textbf{72}\end{sideways} & \begin{sideways}\textbf{73}\end{sideways} & \begin{sideways}\textbf{74}\end{sideways} & \\ \midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 2 & 1 & 2 & 2 & 1 & 2 & 1 & 1 & 2 & 2 & 1 & 2 & 2 & 2 & \\*
\multicolumn{1}{c}{} & \textit{z2} & 2 & 1 & 2 & 2 & 2 & 1 & 2 & 2 & 1 & 1 & 2 & 1 & 2 & 2 & \\*
\multicolumn{1}{c}{} & \textit{z34} & 2 & 2 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & \\*
\multicolumn{1}{c}{} & \textit{z56} & 1 & 2 & 2 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 2 & \\*
\multicolumn{1}{c}{} & \textit{p2} & 2 & 2 & 2 & 2 & 1 & 1 & 2 & 1 & 2 & 1 & 2 & 2 & 1 & 2 & \\*
\multicolumn{1}{c}{} & \textit{p34} & 2 & 2 & 2 & 2 & 1 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 1 & 2 & \\*
\multicolumn{1}{c}{} & \textit{p56} & 1 & 2 & 2 & 2 & 1 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 1 & 2 &
\end{longtable}%
\end{table}%
\end{document}
答案1
通过将 置于longtable
浮动位置,可以防止其跨页显示。此外,我相信longtables
默认居中,因此您不需要\centering
。要让longtable
发挥作用,只需删除\begin{table}
和\end{table}
对(以及\centering
命令):
\documentclass[11pt,a4paper]{report}
\usepackage{rotating,multirow,longtable,booktabs}
%Add \endfirstfoot support http://tex.stackexchange.com/questions/68439/caption-at-foot-of-long-tables-longtable-package
\makeatletter
\newbox\LT@firstfoot
\def\endfirstfoot{\LT@end@hd@ft\LT@firstfoot}
\newdimen\LT@footdiff
\def\LT@start{%
\let\LT@start\endgraf
\endgraf\penalty\z@
\vskip\LTpre
\LT@footdiff-\ht\LT@foot
\advance\LT@footdiff\ht\LT@firstfoot
\dimen@\pagetotal
\advance\dimen@ \ht\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
\advance\dimen@ \dp\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
\advance\dimen@ \ht\ifvoid\LT@firstfoot\LT@foot\else\LT@firstfoot\fi
\dimen@ii\vfuzz
\vfuzz\maxdimen
\setbox\tw@\copy\z@
\setbox\tw@\vsplit\tw@ to \ht\@arstrutbox
\setbox\tw@\vbox{\unvbox\tw@}%
\vfuzz\dimen@ii
\advance\dimen@ \ht
\ifdim\ht\@arstrutbox>\ht\tw@\@arstrutbox\else\tw@\fi
\advance\dimen@\dp
\ifdim\dp\@arstrutbox>\dp\tw@\@arstrutbox\else\tw@\fi
\advance\dimen@ -\pagegoal
\ifdim \dimen@>\z@\vfil\break\fi
\global\@colroom\@colht
\ifvoid\LT@firstfoot
\ifvoid\LT@foot
\else
\advance\vsize-\ht\LT@foot
\global\advance\@colroom-\ht\LT@foot
\dimen@\pagegoal\advance\dimen@-\ht\LT@foot\pagegoal\dimen@
\maxdepth\z@
\fi
\else
\advance\vsize-\ht\LT@firstfoot
\global\advance\@colroom-\ht\LT@firstfoot
\dimen@\pagegoal\advance\dimen@-\ht\LT@firstfoot\pagegoal\dimen@
\maxdepth\z@
\fi
\ifvoid\LT@firsthead\copy\LT@head\else\box\LT@firsthead\fi\nobreak
\output{\LT@output}%
}
\def\LT@output{%
\ifnum\outputpenalty <-\@Mi
\ifnum\outputpenalty > -\LT@end@pen
\LT@err{floats and marginpars not allowed in a longtable}\@ehc
\else
\setbox\z@\vbox{\unvbox\@cclv}%
\ifdim \ht\LT@lastfoot>\ht\LT@foot
\dimen@\pagegoal
\advance\dimen@-\ht\LT@lastfoot
\ifdim\dimen@<\ht\z@
\setbox\@cclv\vbox{\unvbox\z@\copy\LT@foot\vss}%
\@makecol
\@outputpage
\setbox\z@\vbox{\box\LT@head}%
\fi
\fi
\global\@colroom\@colht
\global\vsize\@colht
\vbox
{\unvbox\z@\box\ifvoid\LT@lastfoot\LT@foot\else\LT@lastfoot\fi}%
\fi
\else
\ifvoid\LT@firstfoot
\setbox\@cclv\vbox{\unvbox\@cclv\copy\LT@foot\vss}%
\@makecol
\@outputpage
\global\vsize\@colroom
\else
\setbox\@cclv\vbox{\unvbox\@cclv\box\LT@firstfoot\vss}%
\@makecol
\@outputpage
\global\advance\@colroom\LT@footdiff
\global\vsize\@colroom
\fi
\copy\LT@head\nobreak
\fi
}
\makeatother
\begin{document}
% Table generated by Excel2LaTeX from sheet 'Sheet1'
\begin{longtable}{rrrrrrrrrrrrrrrrr}
\toprule \endfirsthead
\toprule \endhead
\bottomrule
\caption{Add caption}\label{tbl:ch7a_config}\\%
\endfirstfoot
\bottomrule
\caption[]{(continued)}\\%
\endfoot
\bottomrule
\caption[]{(continued)}\\%
\endlastfoot
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{1}\end{sideways} & \begin{sideways}\textbf{2}\end{sideways} & \begin{sideways}\textbf{3}\end{sideways} & \begin{sideways}\textbf{4}\end{sideways} & \begin{sideways}\textbf{5}\end{sideways} & \begin{sideways}\textbf{6}\end{sideways} & \begin{sideways}\textbf{7}\end{sideways} & \begin{sideways}\textbf{8}\end{sideways} & \begin{sideways}\textbf{9}\end{sideways} & \begin{sideways}\textbf{10}\end{sideways} & \begin{sideways}\textbf{11}\end{sideways} & \begin{sideways}\textbf{12}\end{sideways} & \begin{sideways}\textbf{13}\end{sideways} & \begin{sideways}\textbf{14}\end{sideways} & \begin{sideways}\textbf{15}\end{sideways} \\*
\midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 1 & 2 & 1 & 2 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{z2} & 1 & 1 & 2 & 1 & 2 & 2 & 1 & 1 & 2 & 1 & 1 & 2 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{z34} & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{z56} & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 2 \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 1 & 2 & 1 & 1 & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{p2} & 1 & 2 & 1 & 1 & 2 & 1 & 2 & 1 & 2 & 2 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{p34} & 1 & 2 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 1 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{p56} & 1 & 2 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 1 & 2 & 1 \\ \midrule
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{16}\end{sideways} & \begin{sideways}\textbf{17}\end{sideways} & \begin{sideways}\textbf{18}\end{sideways} & \begin{sideways}\textbf{19}\end{sideways} & \begin{sideways}\textbf{20}\end{sideways} & \begin{sideways}\textbf{21}\end{sideways} & \begin{sideways}\textbf{22}\end{sideways} & \begin{sideways}\textbf{23}\end{sideways} & \begin{sideways}\textbf{24}\end{sideways} & \begin{sideways}\textbf{25}\end{sideways} & \begin{sideways}\textbf{26}\end{sideways} & \begin{sideways}\textbf{27}\end{sideways} & \begin{sideways}\textbf{28}\end{sideways} & \begin{sideways}\textbf{29}\end{sideways} & \begin{sideways}\textbf{30}\end{sideways} \\* \midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 1 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 1 & 2 & 1 \\*
\multicolumn{1}{c}{} & \textit{z2} & 1 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{z34} & 1 & 2 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 1 \\*
\multicolumn{1}{c}{} & \textit{z56} & 2 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 2 & 2 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{p2} & 2 & 2 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{p34} & 1 & 1 & 1 & 2 & 1 & 1 & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{p56} & 1 & 1 & 2 & 1 & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 \\ \midrule
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{31}\end{sideways} & \begin{sideways}\textbf{32}\end{sideways} & \begin{sideways}\textbf{33}\end{sideways} & \begin{sideways}\textbf{34}\end{sideways} & \begin{sideways}\textbf{35}\end{sideways} & \begin{sideways}\textbf{36}\end{sideways} & \begin{sideways}\textbf{37}\end{sideways} & \begin{sideways}\textbf{38}\end{sideways} & \begin{sideways}\textbf{39}\end{sideways} & \begin{sideways}\textbf{40}\end{sideways} & \begin{sideways}\textbf{41}\end{sideways} & \begin{sideways}\textbf{42}\end{sideways} & \begin{sideways}\textbf{43}\end{sideways} & \begin{sideways}\textbf{44}\end{sideways} & \begin{sideways}\textbf{45}\end{sideways} \\* \midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{z2} & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{} & \textit{z34} & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{z56} & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{p2} & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 & 2 & 1 \\*
\multicolumn{1}{c}{} & \textit{p34} & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{p56} & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 1 \\ \midrule
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{46}\end{sideways} & \begin{sideways}\textbf{47}\end{sideways} & \begin{sideways}\textbf{48}\end{sideways} & \begin{sideways}\textbf{49}\end{sideways} & \begin{sideways}\textbf{50}\end{sideways} & \begin{sideways}\textbf{51}\end{sideways} & \begin{sideways}\textbf{52}\end{sideways} & \begin{sideways}\textbf{53}\end{sideways} & \begin{sideways}\textbf{54}\end{sideways} & \begin{sideways}\textbf{55}\end{sideways} & \begin{sideways}\textbf{56}\end{sideways} & \begin{sideways}\textbf{57}\end{sideways} & \begin{sideways}\textbf{58}\end{sideways} & \begin{sideways}\textbf{59}\end{sideways} & \begin{sideways}\textbf{60}\end{sideways} \\* \midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 1 & 2 & 1 & 2 & 1 & 2 & 2 & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{z2} & 2 & 1 & 2 & 1 & 1 & 2 & 2 & 1 & 1 & 1 & 2 & 2 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{z34} & 1 & 1 & 2 & 2 & 2 & 1 & 2 & 2 & 2 & 2 & 1 & 2 & 1 & 1 & 2 \\*
\multicolumn{1}{c}{} & \textit{z56} & 2 & 2 & 1 & 1 & 2 & 2 & 1 & 2 & 2 & 2 & 2 & 1 & 2 & 2 & 1 \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{p2} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 1 & 2 & 2 & 1 & 1 & 2 & 2 & 2 \\*
\multicolumn{1}{c}{} & \textit{p34} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 2 & 1 \\*
\multicolumn{1}{c}{} & \textit{p56} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 2 & 1 & 2 & 2 & 2 & 1 & 2 \\ \midrule
\multicolumn{2}{r}{\textbf{ID}} & \begin{sideways}\textbf{61}\end{sideways} & \begin{sideways}\textbf{62}\end{sideways} & \begin{sideways}\textbf{63}\end{sideways} & \begin{sideways}\textbf{64}\end{sideways} & \begin{sideways}\textbf{65}\end{sideways} & \begin{sideways}\textbf{66}\end{sideways} & \begin{sideways}\textbf{67}\end{sideways} & \begin{sideways}\textbf{68}\end{sideways} & \begin{sideways}\textbf{69}\end{sideways} & \begin{sideways}\textbf{70}\end{sideways} & \begin{sideways}\textbf{71}\end{sideways} & \begin{sideways}\textbf{72}\end{sideways} & \begin{sideways}\textbf{73}\end{sideways} & \begin{sideways}\textbf{74}\end{sideways} & \\ \midrule
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Zeros}\end{sideways}}} & \textit{z1} & 2 & 1 & 2 & 2 & 1 & 2 & 1 & 1 & 2 & 2 & 1 & 2 & 2 & 2 & \\*
\multicolumn{1}{c}{} & \textit{z2} & 2 & 1 & 2 & 2 & 2 & 1 & 2 & 2 & 1 & 1 & 2 & 1 & 2 & 2 & \\*
\multicolumn{1}{c}{} & \textit{z34} & 2 & 2 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & \\*
\multicolumn{1}{c}{} & \textit{z56} & 1 & 2 & 2 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & 2 & \\*
\multicolumn{1}{c}{\multirow{4}[0]{*}{\begin{sideways}\textbf{Poles}\end{sideways}}} & \textit{p1} & 2 & 2 & 2 & 2 & 1 & 1 & 1 & 2 & 1 & 2 & 2 & 2 & 1 & 2 & \\*
\multicolumn{1}{c}{} & \textit{p2} & 2 & 2 & 2 & 2 & 1 & 1 & 2 & 1 & 2 & 1 & 2 & 2 & 1 & 2 & \\*
\multicolumn{1}{c}{} & \textit{p34} & 2 & 2 & 2 & 2 & 1 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 1 & 2 & \\*
\multicolumn{1}{c}{} & \textit{p56} & 1 & 2 & 2 & 2 & 1 & 1 & 2 & 2 & 2 & 2 & 2 & 2 & 1 & 2 &
\end{longtable}%
\end{document}