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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
\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}@{}}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis