I have a table, which stretches over a few pages and I'm currently using the ltablex package for it (as I would like to use the
tabularx
environment). The table itself is working OK, but I would like to change the font size for the table only to \footnotesize
and I'm not entirely sure how I can do this or better where to place the command within the table. This is the current layout of my table.
Code: Select all
Code, edit and compile here:
\documentclass[12pt,a4paper]{report}\usepackage{multirow}\usepackage{tabularx}\usepackage{ltablex}\usepackage{booktabs}\begin{document}\begin{tabularx}{\textwidth}{p{6cm}p{6cm}}\caption{some sort of caption} \\\toprule\textbf{number one} & \textbf{number two} \\\toprule\endfirsthead\caption{some sort of caption. (continued)} \\\toprule\textbf{number one} & \textbf{number two} \\\toprule\endhead\bottomrule\multicolumn{2}{l}{{Continued on Next Page\ldots}} \\\bottomrule\endfoot\bottomrule\endlastfootthis is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\\midrulethis is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\this is going to be & a very long table \\ \midrulethis is going to be & a very long table \\this is going to be & a very long table \\
Cheers,
Astrid