Here is the sample
Code: Select all
\begin{scriptsize}
\begin{longtable}[c]{llrrHrrrrrcc}
\caption{C-caption}\label{tab:a}\\
% header and footer information
\hline
N& Q $& Ex & T & D\&K & R & H& S& B& DM1& DM2\\
\hline
\endhead
\hline
\endfoot
Code: Select all
\begin{scriptsize}
\begin{longtable}[c]{llrrHrrrrrcc}
\caption{C-caption}\label{tab:a}\\
% header and footer information
\hline
N& Q $& Ex & T & D\&K & R & H& S& B& DM1& DM2\\
\hline
\endhead
\hline
\endfoot
\endfirsthead
in the longtable manual.H
?Code: Select all
\documentclass{article}
\usepackage{array}
\newsavebox\dummy
\newcolumntype{H}{>{\begin{lrbox}{\dummy}}c<{\end{lrbox}}@{}}
\begin{document}
\raggedright
\begin{tabular}{rl}
one & two\\
three & four\\
\end{tabular}
\begin{tabular}{rHl}
one & something & two\\
three & not visible & four\\
\end{tabular}
\end{document}
Code: Select all
\newcolumntype{H}{>{\iffalse}c<{\fi}@{}}