1

I have a report of 3 pages - the first page and the quarter of the second page have texts. I have to include a figure which needs another page.

The problem: Figure is appearing only on the 3rd page while I am trying to bring it to the second page and the remaining texts on the third page. The \begin{figure}[ht!] option is not working. I am sure there must be a little trick, but what is it?

Edd
  • 1,122
gamahuri
  • 415
  • 1
    Can you provide a minimum working example required to produce this, and provide a link to (or possibly hardcode the dimensions of) the image. It may be that there is not enough room after the initial text on Pg2 to fit the figure in. – Edd May 12 '11 at 16:03
  • 1
    @pban92 You do not need to float the figure in this case. Just use \includegraphics on its own no need to enclose between \begin{figure} etc.. – yannisl May 12 '11 at 16:05
  • @pban92 You could try H as the place specifier – pmav99 May 12 '11 at 16:05
  • This question is frequently asked in slightly different form. See for example Keeping tables/figures close to where they are mentioned and the other questions linked there on the sidebar to the right. – Martin Scharrer May 12 '11 at 16:06
  • @Edd, yes there is no enough room on the second page. So looking for a way to 'swap' the figure and texts. Well, minimal working wont be possible here as this is a part of my thesis. I was trying to find the option. Thanks! – gamahuri May 12 '11 at 19:09
  • @pban2 Is it possible to replicate the problem using something like the [blindtext](ctan.org/pkg/blindtext) package to insert dummy text and a similarly sized placeholder image? This would mean we'd have a MWE to understand the specifics of this problem. – Edd May 12 '11 at 20:21

2 Answers2

1

The afterpage package is useful for such cases:

\usepackage{afterpage}
...
\afterpage{\clearpage}
% place this command on the first page enforcing figure output on the second page
Stefan Kottwitz
  • 231,401
0

The placeins package provides a \FloatBarrier macro which will stop any previously declared floats to be placed after it. However, in your case this might lead to an extra float-only page.

Martin Scharrer
  • 262,582