将两列或三张图像放在一行的两列文章中

发布于 2024-10-28 00:33:55 字数 274 浏览 4 评论 0原文

我正在使用基于 aps 文章的 LaTeX 模板,我想在两栏文章中将两张图片并排放置(带标题),以便它们跨越两栏。

我已经在图形选项中使用了 minipage (适用于一篇专栏文章),但我无法获得所需的结果。我希望它看起来像这样: 我希望它看起来如何

因此该示例只有一个标题,但这无关紧要。我想将两张图片并排放置,以便它们位于页面顶部。

有什么建议吗?谢谢 : )

I'm using aps article based LaTeX template and I would like to put two pictures next to each other (with captions) in a two column article, so that they would span across the both columns.

I've used minipage inside figure option (works in one column article) but I cannot get the desired result. I'd like it to look like this:
how I wish that it look

So the example has only one caption, but that's irrelevant. I'd like to put two pictures next to each other so that they would be on top of the page.

Any suggestions? Thanks : )

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

仄言 2024-11-04 00:33:55

我假设您正在使用 RevTeX。正如 @thouis 所说,您使用 \figure* 环境将图形跨越整个页面。要放置多个图形,请使用 subfigure 包。它看起来像

\begin{figure}
  \centering
  \mbox{
    \subfigure[<subfigure caption here>\label{subfigure label}]{\includegraphics[scale/width]{<filename>}}\quad
    \subfigure[<subfigure caption here>\label{subfigure label}]{\includegraphics[scale/width]{<filename>}}\quad
    \subfigure[<subfigure caption here>\label{subfigure label}]{\includegraphics[scale/width]{<filename>}}
  }
  \caption{<main figure caption here>}
  \label{main figure label}
\end{figure}

您可以针对 \figure* 环境进行调整。

I assume you're using RevTeX. As @thouis said, you use the \figure* environment to span a figure across the entire page. To put more than one figure, use the subfigure package. It looks something like

\begin{figure}
  \centering
  \mbox{
    \subfigure[<subfigure caption here>\label{subfigure label}]{\includegraphics[scale/width]{<filename>}}\quad
    \subfigure[<subfigure caption here>\label{subfigure label}]{\includegraphics[scale/width]{<filename>}}\quad
    \subfigure[<subfigure caption here>\label{subfigure label}]{\includegraphics[scale/width]{<filename>}}
  }
  \caption{<main figure caption here>}
  \label{main figure label}
\end{figure}

You can adapt this for the \figure* environment.

时光沙漏 2024-11-04 00:33:55

\figure*{} 不起作用?这是创建多列跨越图形的常用方法。

\figure*{} doesn't work? This is the usual way to create multi-column spanning figures.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文