[OS X TeX] Floating table in landscape orientaton results in a half empty page

David Watson dewatson at mac.com
Mon Feb 18 08:13:12 EST 2008


Someone (I wish I could give credit where credit is due) posted the  
following to this list a while back, note the final commented line.

% Alter some LaTeX defaults for better treatment of figures:
  % See p.105 of "TeX Unbound" for suggested values.
  % See pp. 199-200 of Lamport's "LaTeX" book for details.
  % General parameters, for ALL pages:
  \renewcommand{\topfraction}{0.9}       % max fraction of floats at top
  \renewcommand{\bottomfraction}{0.8}    % max fraction of floats at  
bottom
  % Parameters for TEXT pages (not float pages):
  \setcounter{topnumber}{2}
  \setcounter{bottomnumber}{2}
  \setcounter{totalnumber}{4}     % 2 may work better
  \setcounter{dbltopnumber}{2}    % for 2-column pages
  \renewcommand{\dbltopfraction}{0.9}    % fit big float above 2-col.  
text
  \renewcommand{\textfraction}{0.07}     % allow minimal text w. figs
  % Parameters for FLOAT pages (not text pages):
  \renewcommand{\floatpagefraction}{0.7} % require fuller float pages
  % N.B.: floatpagefraction MUST be less than topfraction !!
  \renewcommand{\dblfloatpagefraction}{0.7}      % require fuller  
float pages
  % remember to use [htp] or [htpb] for placement

On Feb 18, 2008, at 5:16 AM, Olga Lyashevskaya wrote:

> Dear all,
>
> I experience difficulties with floating table. This table has a  
> landscape orientation and occupies the whole page.  When I refer to  
> it, it is placed on a new page immediately after the \ref and there  
> are just two words on the current. What is strange is that this page  
> is not filled with the text which appears after the  table.
> ---------------------------
> \begin{landscape}
>  \begin{table}[tbp]
>  \centering
>  \setlength{\abovecaptionskip}{0pt}
>   \setlength{\belowcaptionskip}{5pt}
>     ...
>  \end{table}
>  \end{landscape}
> --------------------
> On the next page there is also a figure, maybe it is the reason as  
> figures and tables are placed in the specific order?
>
> Moreover I tried to override some default settings by:
>
> -------------------
> \renewcommand{\floatpagefraction}{0.7}
> \renewcommand{\topfraction}{0.9}
> \renewcommand{\bottomfraction}{0.8}
> \renewcommand{\textfraction}{0.07}
> \setcounter{totalnumber}{4}
> \setcounter{topnumber}{2}
> \setcounter{bottomnumber}{2}
> --------------------
> But it doesn't seem to work.
>
> To summarize, now I have one page which contains just 2 words and a  
> table on the next page followed by some text.
>
> Any suggestions?
>
> Regards,
> Olga
>
> MacOS X (version 10.4.11)
> TexShop (vesrion 2.14)




More information about the MacOSX-TeX mailing list