Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top