long table with many columns and many rows in latex -
i have long table in latex able presented nicely asked change columns rows. can't present table here created example ask how present long table many columns break several pages , each page has same first column. here artificial example.
\documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{booktabs} \usepackage{ltablex} \begin{document} \label{tab:daypack} \begin{tabularx}{\linewidth}{@{}ccccccccccccccccx@{}} \caption{example of long table}\\ \toprule \textbf{column 1} & \textbf{column 2} & \textbf{column 3} & \textbf{column 4} & \textbf{column 5} & \textbf{column 6} & \textbf{column 7} & \textbf{column 8} & \textbf{column 9} & \textbf{column 10} & \textbf{column 11} & \textbf{column 12} & \textbf{column 13} & \textbf{column 14} & \textbf{column 15} & \textbf{column 16} \\ \midrule \endhead $row1$ & column & column & column & column & column\\ $row2$ & {\bf same above}\\ $row3$ & \\ $row4$ & \\ $row5$ & \\ $row6$ & \\ $row7$ & \\ $row8$ & \\ $row9$ & \\ $row10$ & \\ $row11$ & \\ $row12$ & \\ $row13$ & \\ $row14$ & \\ $row15$ & \\ $row16$ & \\ $row17$ & \\ $row18$ & \\ $row19$ & \\ $row20$ & \\ $row21$ & \\ $row22$ & \\ $row23$ & \\ $row25$ & \\ $row26$ & \\ $row27$ & \\ $row28$ & \\ $row29$ & \\ $row30$ & \\ \bottomrule \end{tabularx} \end{document} i want instance first 7 columns in page 1 , on.
Comments
Post a Comment