I have a long table that crosses my header. I would therefore like to remove the header on this page but \pagestyle{empty} doesn't work.
Code: Select all
\documentclass[a4paper,oneside,11pt,titlepage]{book}
\usepackage{verbatim} % for the inclusion of multi-line comments
\usepackage{sistyle}
%%%% Math Packages
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
%%%% Chemistry Specific
\usepackage{sistyle} % includes SI style sheets
\usepackage[version=3]{mhchem}
%%%% Graphics packages
\usepackage{graphicx}
\usepackage[bf,normalsize]{subfigure}
\usepackage{epstopdf}
%\usepackage{tabularx,colortbl}
\usepackage{color}
\usepackage{colortbl}
%\usepackage{epsfig}
%%%% Citations and Reference packages
\usepackage[colorlinks=true,linkcolor=blue,citecolor=green]{hyperref}
\usepackage[numbers,sort&compress]{natbib}
%\usepackage{hypernat}
\usepackage{chapterbib}
%%%% Others
\usepackage[left=4cm,right=2.5cm,bottom=2.5cm,top=2.5cm]{geometry}
\usepackage[margin=10pt,font=small,labelfont=bf, justification=centering]{caption}
\usepackage{float}
\usepackage{fancyhdr}
\usepackage{array}
\usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments
\usepackage{array}
\usepackage{palatino}
\usepackage{longtable}
\usepackage{threeparttable}
\usepackage{tabularx}
\usepackage{verbatim}
\usepackage{rotating} % For \begin{sidewaystable}
\begin{document}
\mainmatter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%FANCY HEADER%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy} % Sets fancy header and footer
\fancyfoot{} % Delete current footer settings
\renewcommand{\chaptermark}[1]{ % Lower Case Chapter marker style
\markboth{\chaptername\ \thechapter.\ #1}{}} %
\renewcommand{\sectionmark}[1]{ % Lower case Section marker style
\markright{\thesection.\ #1}} %
\fancyhead[R]{\bfseries\thepage} % Page number (boldface) in left
\fancyhead[L]{\bfseries\rightmark} % Section in the left on odd pages
\renewcommand{\headrulewidth}{0.5pt} % Width of head rule
\addtolength{\headheight}{2pt} % stop headheight from being too small
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Chapter Name}
\section{Section Name}
\begin{sidewaystable}
\pagestyle{plain}
\cleardoublepage
\centering
\begin{tabular}[h]{|c|c|c|c|c|l|}
\hline
Sample Number & Location & Source & Latitude & Longitude & Description : Date Collected \\
\hline
1 & Red Scree (Lake District) & Pool & 54028'06.86"N & 002056'11.45"N & Tarn on top of Fells : 26/07/08 \\
2 & Windemere (Lake District) & Lake & 54025'13.99"N & 002057'50.83"N & Northern end of Lake Windemere : 26/07/08 \\
3 & Tong Park (Baildon) & Pond & 53051'30.55"N & 001045'04.58"N & Medium sized pond : 30/07/08 \\
4 & Baildon Moor & Bell Pit & 53051'52.57"N & 001046'35.84"N & Red/brown water : 02/08/08\\
5 & Baildon Moor & Reservoir & 53051'31.17"N & 001046'30.54"N & Reservoir overspill disused reservoir : 22/07/08\\
6 & Derby Haven (Isle of Man) & Irish Sea & 54005'06.23"N & 004036'29.06"N & Sea water : 17/08/08 \\
7 & Peel (Isle of Man) & River & 54013'12.50"N & 004042'00.95"N & River emptying into Peel harbour : 17/08/08\\
8 & Scarlett Quarry (Isle of Man) & Pond & 54003'55.23"N & 004039'44.63"N & Quarry pool : 18/08/08\\
9 & Shipely Glen (Bradford) & Pond & 53050'46.76"N & 001048'19.73"N & Stream in flood : 20/08/08 \\
10 & Burnsall (River Wharfe) & River & 54002'47.16"N & 001057'06.02"N & River water : 23/07/08\\
11 & Otley Chevin & Pond & 53053'35.81"N & 001042'01.88"N & Small pond : 01/08/08 \\
12 & Wells Walk (Ilkley) & Stream & 53055'22.20"N & 001049'24.37"N & Run-off from moor : 23/07/08 \\
13 & Shipley (Leeds - Liverpool Canal) & Canal & 53050'22.32"N & 001047'24.13"N & Saltaire : 22/08/08\\
14 & North Sea & Sea & 54038'26.36"N & 001008'05.38"N & Redcar : 24/08/08 \\
15 & 27 Moorfield Drive (Baildon) & Spring & 53051'25.42"N & 001046'00.10"N & Pumped from beneath house : 21/08/08\\
\hline
\end{tabular}
\caption{.}
\label{Table:Water_Samples}
\thispagestyle{empty}
\end{sidewaystable}
\end{document}
Thanks.