I'd like to center just the header, but not the body of particular columns in a table. For example:
\begin{table}[!t]
\centering
\caption{
\bf{My table}}
\begin{tabular}{l|c|}
...
\end{tabular}
\end{table}
will make a left-aligned column, and a center-aligned column. I'd like the headers to all be centered, but the body of the table to actually be left aligned. If the entries in each column are wide, having left or right aligned content without centering the header looks strange (it leaves lots of whitespace in the header).
Second, is there a way to force a table to be on its own page in LaTeX? Or any figure for that matter?
Define the headings using
\multicolumn{1}{c}{Heading}
Feel free to stick leading and trailing |
s around the c
as needed.