13

I have a problem with APS's revtex4-1. I want to place an twocolumn-wide figure at the bottom of the page. I know

\begin{figure*}[position]
picture
\end{figure*}

in {article} document class [position] can be htb! , and I have no problem in {article} in placing pictures on here, top, and bottom.

But!!

in {revtex4-1} document class [position] is not working! only for t. If I use b, the picture appears on the next page, and it takes up all paper. I want it to be bottom.

I tried \usepackage{dblfloatfix} but it does not work in revtex4-1 and makes error with equation, and so on..(I see revtex4-1 is incompatible with dblfloatfix.)

The following URL is for article class, I have no problem to follow its instruction.

Displaying a wide figure in a two-column document

Please, Help!

This is my sample code, I manage to put long table at the position where I wanted, but long figure is not!

Thanks,

\documentclass[
showkeys,reprint,
%superscriptaddress,
%groupedaddress,
%unsortedaddress,
%runinaddress,
%frontmatterverbose,
%preprint,
%showpacs,preprintnumbers,
%nofootinbib,
%nobibnotes,
%bibnotes,
 amsmath,amssymb,
 aps,
%pra,
%prb,
%rmp,
%prstab,
%prstper,
floatfix,
]{revtex4-1}

\usepackage[demo]{graphicx}% Include figure files
\usepackage{dcolumn}% Align table columns on decimal point
\usepackage{bm}% bold math


%]{geometry}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{fancyhdr}
\usepackage{lipsum}% just to generate text for the example
\usepackage{subcaption}
\usepackage{multirow}
\pagestyle{fancy}
\fancyhf{}      
\fancyhead{\nouppercase\leftmark}
\fancyhead[R]{\thepage}
\fancyhead[C]{}





\begin{document}

\preprint{APS/123-QED}

\title{
%\begin{minipage}{14cm}
Microscopic Images and Micro Vickers Hardness Test of
Fullly Pearlitic High-Carbon Steel Specimens
%\end{minipage}
}
\author{ABCD}
\email{ABCD}
\collaboration{ABCD}
\date{\today}

\begin{abstract}
\begin{center}
{\bfseries Abstract}
\end{center}
\lipsum[1]
\end{abstract}
\keywords{\lipsum[1]}

\maketitle
%\tableofcontents
\section{Introduction}
\lipsum[1-4]

\begin{table*}[t]
\centering
\begin{tabular}{|r|r|r|r|r|r|r|r|r|r|r|}
long&long&long&long&long&long&long&long&long&long&long
\end{tabular}
\end{table*}

\begin{figure*}[b]
                \includegraphics[width=.4\linewidth]{tiger}
                %\linewidth or \textwidth
                \caption{A gull}
                \label{fig:gull}
\end{figure*}

\section{Experiment}
\lipsum[1-10]

\end{document}
%
% ****** End of file apssamp.tex ******
  • 1
    Is this for a manuscript you plan to submit to APS? If so, I would recommend against forcing RevTeX4-1 to do something it doesn't want (or isn't designed) to do. – erik Dec 2 '14 at 21:09
  • Never!. I wrote this to do my simple project paper in school. I found that the revtex's configuration and appearance were good but hard to use it. I already know that I don't need to do anything to submit it to APS, they will do for me! :D – Park Dec 5 '14 at 1:21
10

I encountered the same problem editing a document under REVTeX.

Thanks for pointing out that only position [t] is recognized under the {figure*} environment.

A working solution is offered by using the \onecolumngrid and \twocolumngrid commands

\documentclass[twocolumn,...]{revtex4-1}
\begin{document}
...
\onecolumngrid

\begin{figure}[h] 
\includegraphics{example.eps}
\end{figure}    
\twocolumngrid
...

I observed that the double newline after \onecolumngrid is essential to avoid the figure merging with the text. However, in my case this statement doesn't seem to hold for \twocolumngrid.

Pieter

  • Thanks for pointing out. I have replaced the link with a summary of the solution. – Pieter De Beule Dec 2 '14 at 16:15
  • Wow. I've never thought I would got a re! Thanks for seeing this in 10 months after. I found out what \onecolumngrid and \twocolumngrid do but it does not help me to properly position the long figure....so sad... – Park Dec 5 '14 at 1:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.