summaryrefslogtreecommitdiff
path: root/macros/latex209/contrib/misc/floatnohead.sty
blob: 7c29b5d915f9c76d900bac6ff4de6d5f3518f755 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% if there are floats around
% then set pagestyle to be empty
% Original version posted to comp.text.tex Sebastian Rahtz
% Modified by Don Hosek so that message is done with \message rather than
% \typeout--this causes the message to appear when the page is output rather
% than when it is processed.
\def\@tryfcolumn #1{\global\@fcolmadefalse \xdef\@trylist{#1}\xdef\@failedlist
   {}\begingroup \let\@elt\@xtryfc \@trylist \endgroup
    \if@fcolmade 
  \message{Page with floats and nothing else}
  \thispagestyle{empty}
\@vtryfc #1
\fi}