[comp.text.tex] latex floats clearpage or newpage

ascott@gara.une.oz.au (Tony Scott STPG) (10/29/90)

n preparing my thesis I need to leave some clear pages in the middle
of text to put spectra on. I can do this with either \newpage or
\clearpage. Both of these simply see the command and without filling
the page to the end gives me a new page. This leaves huge gaps in the
processed text. How can this be resolved?.

In a related matter using PiCTeX to draw chemical structures is great,
slow but great. Sometimes TeXs main pool filss if there are too many
structures on one page. The structures are usually placed in blocks of
text called schemes. I have hacked the figure macro to perform the
placement etc for a scheme macro, ie it floats is labelled etc etc.
To get around the full main pool I can place a \clearpage just befor
the offending scheme. The result is the same as above-- huge gaps in
the processed text.

Can LaTeX be made to fill the current page first and then dump the
scheme using the \clearpage. Of course this can be manually done by
moving text around by hand, but with the sophistication of TeX it
surprises me that it doesn't or can't do this automatically.

Am I asking too much??

thanks in advance.
tony scott ascott@gara.une.oz.au

Douglas.Miller@viccol.edu.au (Douglas Miller) (10/30/90)

In article <4455@gara.une.oz.au>, ascott@gara.une.oz.au (Tony Scott STPG)
writes:

> n preparing my thesis I need to leave some clear pages in the middle
> of text to put spectra on. I can do this with either \newpage or
> \clearpage. Both of these simply see the command and without filling
> the page to the end gives me a new page. This leaves huge gaps in the
> processed text. How can this be resolved?.

Something like:

   \begin{figure}[p]
   \vspace{<dimen>}
   \end{figure}

?

> In a related matter using PiCTeX to draw chemical structures is great,
> slow but great. Sometimes TeXs main pool filss if there are too many
> structures on one page. The structures are usually placed in blocks of
> text called schemes. I have hacked the figure macro to perform the
> placement etc for a scheme macro, ie it floats is labelled etc etc.
> To get around the full main pool I can place a \clearpage just befor
> the offending scheme. The result is the same as above-- huge gaps in
> the processed text.
> 
> Can LaTeX be made to fill the current page first and then dump the
> scheme using the \clearpage. 

But this is what floats are for.  \clearpage is for doing a clear page.
Surely the answer to your problem is to get access to a TeX with a bigger
pool size?

bts@unx.sas.com (Brian T. Schellenberger) (11/05/90)

\clearpage or \newpage should *not* leave gaps; \pagebreak leaves gaps.
In any case, if you put a \vfill before the the break there is no way that
it should leave gaps.  Unless I totally misunderstand what you mean by gaps.
You should get the left with \newpage; the right with \pagebreak:

-----------------------------------------------------------------
this                               this
is the
entire                             is the
text
                                   entire
				    
                                   text
------------------------------------------------------------------
-- 
-- Brian, the Man from Babble-on.		bts@unx.sas.com
-- (Brian Schellenberger)
"And when the votes were cast, the winner was . . .
 Mister James K. Polk, Napolean of the stump."        -- THEY MIGHT BE GIANTS.