我的表格总是被放置在其他图形/浮点数之前,我该如何让它们保持正确的顺序?

我的表格总是被放置在其他图形/浮点数之前,我该如何让它们保持正确的顺序?

由于某种原因,我的表格总是跟在文本后面,表格不是浮动吗?我希望浮动按照定义的顺序出现。

    \documentclass[11pt]{amsart}
\usepackage{geometry}                % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper}                   % ... or a4paper or a5paper or ... 
%\geometry{landscape}                % Activate for for rotated page geometry
%\usepackage[parfill]{parskip}    % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{epstopdf}
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}

\title{Brief Article}
\author{The Author}
%\date{}                                           % Activate to display a given date or no date

\begin{document}
\maketitle
%\section{}
%\subsection{}
Panel c, which has a gate on the 618 keV transition, shows cleanly the decay path labeled as Band 1 of the level-scheme illustrated in figure \ref{w162_levels}, in panel b, gating on the 450 keV $2^+ \rightarrow 0^+$ transition, this band still dominates the spectrum, but it is clear that there are other linking structures. Band 2 was confirmed by gating on the 535 keV transition, which appears to decay into Band 1 via the 296 keV transition.

\begin{figure}[htb]
\centering
\includegraphics[width=\textwidth]{147ang.eps}
\caption{a,b,c,d}
\label{w162spec}
\end{figure}



\begin{figure}[htb]
\centering
\includegraphics[width=\textwidth]{ang.eps}
\caption{Level Scheme deduced for , transition energies are given in keV and relative intensities are represented by arrow widths.}
\label{w162_levels}
\end{figure}



\begin{table}[htb]
\centering
\begin{tabular}{ccccc}
\hline\hline
$E_\gamma$ (keV) & $I_\gamma$ &  $A_2$&$A_4$ & Multipolarity \\ 

\hline

99.4 & 3.7 & &&(E2)\\
%144.5 & \multirow{2}{*}[1pt]{$\left.\rule{0cm}{0.35cm}\right\} $ 29.2} & -0.48& 0.60 * &M1/E1? \\
143.5 & 3.8 & -0.48& 0.60 * &M1/E1? \\
146.8& 24.6  & -0.33,&-0.09 *& M1  \\
167.5 & 7.0 & &&(E2)\\
179.3 & 83.7& -0.18& 0.09 &M1/E1?\\
229.6 & 12.3& -0.44&1.02 &M1/E1?\\
480.8 & 14.4& 0.30& 0.18 & E2 \\
489.2 & 35.6 & 0.31& 0.20 & E2 \\
544.2 & 97.9 & 0.17&-0.01& E2 \\
557.7 & 66.8 & 0.20& 0.07& E2 \\
569.7 & 36.6 & 0.19&-0.11& E2 \\
589.2 & 49.9 & 0.18& -0.35 &  E2 \\
597.8& 100.0 & 0.17& -0.09 & E2 \\
\hline\hline
\end{tabular}
\caption{* is unresolved doublets}
\label{tab}
\end{table}


\end{document}  

我希望这个工作示例能够展示我的问题,我无法放置我的图片,因为它们是.eps 格式,但我认为任何图片都应该是一样的。

答案1

表格浮动与图形浮动是分开处理的。这并不是说你没有按正确的顺序排列它们,而是你的表格浮动和图形浮动是相互独立的。

浮动放置有一套规则,请参阅这个答案

对于您的情况,您的图形会被刷新到文档末尾,因为 1. 图形太大(\textwidth);2. (和/或)没有足够的文本来很好地填满页面。

要强制放置浮动图形,请参阅这个答案

但是,你使用的是amsartdocumentclass。如果你要向 AMS 期刊投稿,根据他们的指示,不要强制放置浮标!

相关内容