如何将双列文档中的图形放在一列的底部?

如何将双列文档中的图形放在一列的底部?

我正在写一篇有两列的文章,想把一个图移到底部。这个图不应该覆盖两列,它只是一个单列图,这就是我不使用图*的原因。当我只使用 [b] 时,图和所有后续图都会移动到文档末尾。我该怎么做才能解决这个问题?这是一个非常短的 MWE,但这就是导致问题的原因,所有图都移动到末尾。当允许覆盖两列时,因此使用图*,[b] 选项有效。

\documentclass[final,3p,times,twocolumn]{elsarticle}
\usepackage{graphicx}

\begin{figure}[b]
\centering
\includegraphics[width=0.49\textwidth]{plots/example-plot.png}
\caption{Example text.}
\label{fig:example}
\end{figure}

谢谢,希望这些信息足够,如果您需要更多信息,请告诉我。

答案1

试试这个:(你必须添加选项!b而不是b

\documentclass[final,3p,times,twocolumn]{elsarticle}
\usepackage{graphicx}
\usepackage{lipsum}

\begin{document}

\maketitle

\section{Introduction}
\lipsum[1-4]
\begin{figure}[!b]
\centering
\includegraphics[width=0.49\textwidth]{example-image-a}
\caption{Example text.}
\label{fig:examplea}
\end{figure}
\lipsum[1-3]
\begin{figure}[!b]
\centering
\includegraphics[width=0.49\textwidth]{example-image-b}
\caption{Example text. 2}
\label{fig:exampleb}
\end{figure}
\end{document}

输出:

在此处输入图片描述

在此处输入图片描述

相关内容