Graphics, Figures & TablesRe: revtex4-1 | Text squeezes in above Float on Top

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
fete_johan
Posts: 2
Joined: Mon Sep 12, 2011 3:07 pm

Re: revtex4-1 | Text squeezes in above Float on Top

Post by fete_johan »

Hi!

I have a figure whose placement I specified to [t], but still a single line of text somehow manages to squeeze in above it in an ugly manner.

This occurs on a page in two-column mode, which has two additional table-floats. Code is as follows:

Code: Select all

\begin{table}
\caption{Table1.\label{tab1}}
\begin{tabular}{c@{\hspace{20pt}}l@{\hspace{20pt}}l}
x & x & x \\
x & x & x \\
x & x & x \\
x & x & x \\
\end{tabular}
\end{table}

\begin{table}
\caption{Table2.\label{tab2}}
\begin{tabular}{c@{\hspace{15pt}}l@{\hspace{15pt}}.@{\hspace{15pt}}.}
x & x & \multicolumn{1}{c}{x} & \multicolumn{1}{c}{x} \\
\hline
x & x & x & x \\
x & x & x & x \\
x & x & x & x \\
x & x & x & x \\
\end{tabular}
\end{table}

\begin{figure}[t]
\includegraphics[scale=0.65]{name_of_figure}
\caption{Caption.\label{fig1}}
\end{figure}

Text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text.

Text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text text text text text text text text text text text text
text text text.
The column-break occurs in the middle of paragraph #2, and the next line of text is displayed at the top of the next column before the figure. The paragraph then continues below the figure.

I have tried rearranging the order in which text and the figure-environment appear in numerous ways, but nothing seems to help. Any ideas?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

fete_johan
Posts: 2
Joined: Mon Sep 12, 2011 3:07 pm

Re: revtex4-1 | Text squeezes in above Float on Top

Post by fete_johan »

Ok, I solved it. It was a matter of scaling. Adjusting the scale of the figure from 0.65 to 0.64 did the trick.
Post Reply