# How to remove blank first page in document that contains only tables and figures [closed]

Actually I want to move my figures and tables to a separate LaTeX file. But when I compiled that new file I got a blank first page.

So I want to know how can I remove that blank first page. By the way, I'm using the bioinfo class.

-

## closed as too localized by Stephan Lehmke, Werner, Thorsten, Guido, Martin SchröderJan 6 '13 at 11:54

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Post a MWE so we can see what you're working with. We'll be better able to help you. – A.Ellett Jan 6 '13 at 2:39
The question itself is different from How to remove the blank page when omitting comments and messages in knitr, although the solution is similar. Not sure whether that would be considered a duplicate. atbegshi can be used to discard a page based on a condition. – Werner Jan 6 '13 at 2:39
I added \AtBeginShipout{\ifnum\value{page}=1\AtBeginShipoutDiscard\fi} to my document but I got two errors of undefined Control sequence. Do I need to add a specific file in my work directory? – user2987 Jan 6 '13 at 2:48
@Bel: You need to add the atbegshi package to your preamble: \usepackage{atbegshi}. Does this solve your problem? – Werner Jan 6 '13 at 3:27
@bel I'm afraid without MWE this question will be closed as too localized. – Stephan Lehmke Jan 6 '13 at 6:27

I offer that it is the bioinfo class, which appears to have other issues as well, that is to blame. A minimal LaTeX document using, for example, the article class with, for example, only figures in it ought not generate a blank first page:

\documentclass{article}
\usepackage{graphicx}
\begin{document}

\begin{figure}[h]
\begin{center}
\fbox{\includegraphics{hare}}
\caption{The Common Hare}
\label{fig:lab}
\end{center}
\end{figure}

\end{document}


-