Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!lth.se!newsuser From: gluon%thep.lu.se@Urd.lth.se (Sverker Johansson) Newsgroups: comp.text.tex Subject: Re: latex float problems Message-ID: <1991May10.093357.22213@lth.se> Date: 10 May 91 09:33:57 GMT References: <4384@stl.stc.co.uk> Sender: newsuser@lth.se (LTH network news server) Reply-To: lsj@quark.lu.se (Sverker Johansson) Distribution: comp Organization: Particle Physics, Lund university, Sweden Lines: 32 In article <4384@stl.stc.co.uk> "P.G.Hamer" writes: >I am trying to produce a small document with lots of diagrams in it. The >text is mainly annotations to the diagrams, so I would like the diagrams >and text to be interleaved as they are in my ~.tex file. As I want them >captioned I am using the figure environment. > >Yes, I don't really want 'floats', but I do want to use captions and get the >caption on the same page as the figure. > >Whatever I try, latex either floats my figures over the text (often by >surprising distances) or blows up with a 'Too many unprocessed floats' error. > >HELP! > The \clearpage command should solve much of your problem. It forces any unprocessed floats to be placed before any more text is read in. If you put a \clearpage right after every figure, you should get them where you want them. I'm sure there are more sophisticated solutions to the problem, but this one worked for me on a similar problem, and shouldn't take more than five minutes to try. Sverker Johansson lsj@quark.lu.se qlsj@selund.BITNET lsj@cernvm.cern.ch lsj@cernvm.BITNET ---------------------------------------------------------------------- DISCLAIMER: Any Politically Correct opinions, words, or phrases, that may have crept into this post, are completely accidental and bear no resemblance to the author's true intentions. -----------------------------------------------------------------------