如何将图形放在乳胶页面的底部?
How to place the figure at the bottom of page in latex?
我在将图形放在 Latex 页面底部时遇到问题。当我指定 \begin{figure*}[b]
时,我文档中的所有数字都放在文档末尾。我需要的只是在当前页或下一页的底部放置一个特定的图形。
请指导我该怎么做?
为了在两列文档的底部放置一个浮动,您可以使用 dblfloatfix
package。来自简短的包裹描述:
The package solves two problems: floats in a twocolumn document come out in the right order and allowed float positions are now [tbp]
.
所以,在 \usepackage{dblfloatfix}
之后你可以使用
\begin{figure*}[btp]
% <your figure here>
\end{figure*}
就像所有漂浮物一样(尤其是在 two-column
环境中),漂浮物可能不会在其放置的位置结束。因此,您可能需要移动 figure*
声明才能在文档中找到所需的位置。
stfloats
提供了类似的功能。
Werner 的解决方案实际上对我不起作用。
所以我只用了这个 -
\begin{figure*}[b]
% <your figure here>
\end{figure*}
来源:https://www.overleaf.com/learn/latex/Positioning_of_Figures
使用 \begin{figure*}[!b]
对我有用。
我在将图形放在 Latex 页面底部时遇到问题。当我指定 \begin{figure*}[b]
时,我文档中的所有数字都放在文档末尾。我需要的只是在当前页或下一页的底部放置一个特定的图形。
请指导我该怎么做?
为了在两列文档的底部放置一个浮动,您可以使用 dblfloatfix
package。来自简短的包裹描述:
The package solves two problems: floats in a twocolumn document come out in the right order and allowed float positions are now
[tbp]
.
所以,在 \usepackage{dblfloatfix}
之后你可以使用
\begin{figure*}[btp]
% <your figure here>
\end{figure*}
就像所有漂浮物一样(尤其是在 two-column
环境中),漂浮物可能不会在其放置的位置结束。因此,您可能需要移动 figure*
声明才能在文档中找到所需的位置。
stfloats
提供了类似的功能。
Werner 的解决方案实际上对我不起作用。
所以我只用了这个 -
\begin{figure*}[b]
% <your figure here>
\end{figure*}
来源:https://www.overleaf.com/learn/latex/Positioning_of_Figures
使用 \begin{figure*}[!b]
对我有用。