In my document I have a table that is quite big. I would like to have this table on a page with no header and no page number. How can I get this table on a \thispagestyle{empty}
? Using it withing the table or tabular environment makes the page were the float is defined go empty and leaves the headers on the table.
For if it matters, I am using fancyhdr
.
Best Answer
fancyhdr
provides the\iffloatpage
macro that can be used to customize header and footer for pages which contain only floats.EDIT: For those that want to use the
\iffloatpage
macro with KOMA-script'sscrpage2
package instead of withfancyhdr
, add the following to your preamble (thanks to Stefan Kottwitz for the tip):(The blindtext package is only used to add some dummy text to the example.)