Alex Rivera | Logout

Latex: Page number suppressing when a figure covers the whole page

Asked 2009-11-04T12:24:26.390
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?

Edit
Report

1 Answer

18

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

answered 2009-11-04T13:30:24.423

Your Answer