在 LaTeX 中以固定高度水平延伸图形 100%?

发布于 2024-08-06 05:27:44 字数 39 浏览 1 评论 0原文

如何插入一个延伸 100% 视口但具有给定高度的图形(即图形)?

How can I insert a figure (i.e. graphic) that extends 100% of the viewport but with a given height?

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

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

发布评论

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

评论(2

我们的影子 2024-08-13 05:27:44

您可以使用:

\includegraphics[width=\textwidth,height=5in]{imagefile}

但构造

\begin{minipage}{8cm}
\includegraphics[宽度=\textwidth]{图像文件}
\end{minipage}

将生成宽度为 8cm 的图像。

You can use:

\includegraphics[width=\textwidth,height=5in]{imagefile}

but construction

\begin{minipage}{8cm}
\includegraphics[width=\textwidth]{imagefile}
\end{minipage}

will produce image with width of 8cm.

深居我梦 2024-08-13 05:27:44

您可以使用常用的 [width=X,height=Y] 参数,但不要使用 \columnwidth 给出文字 X...

如果您希望图形跨越多列,请使用 \begin{figure*} 而不是 \begin {数字}

You can use the usual [width=X,height=Y] parameters, but instead of giving a literal X use \columnwidth...

If you want the figure to span multiple columns, use \begin{figure*} instead of \begin{Figure}

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