12

I want to suppress page number in a page where a figure covers the whole page.

\thispagestyle{empty}
\begin{figure}[H]
    \centering
    \fbox{\includegraphics[height=0.95\textheight]{853}}
    \caption{Whole Model Part 1}
    \label{fig:wholemodel}
\end{figure}

I use the command \thispagestyle{empty} as suggested. But this command doesn't work where a figure covers the whole page. Is there any alternative solution?

Mert Nuhoglu
  • 9,695
  • 16
  • 79
  • 117

1 Answers1

16

I believe you need the floatpag package. In preamble put:

\usepackage{floatpag}
\floatpagestyle{empty}

\thisfloatpagestyle{} inside a figure/table environment will alter that floatpage's style. Hope that works!

PS: the help shown by "$ texdoc floatpag" appears to be in Polish. Look at the .sty file for usage in English. floatpag.sty on CTAN

Rupert Nash
  • 1,360
  • 12
  • 20