作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
关闭。这个问题是off-topic .它目前不接受答案。
想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。
9年前关闭。
Improve this question
我想将 png 文件插入到我的文档中。
基本上,像这样,它的工作原理(在调用“ float ”之后),
\begin{figure}[H]
\begin{center}
\includegraphics{myfigure}
\caption{short caption}{VERY LONG FIGURE LEGEND}
\label{fig:myfigure}
\end{center}
\end{figure}
\begin{figure}[htbp!]
\begin{center}
\includegraphics{myfigure}
\caption{short caption}{VERY LONG FIGURE LEGEND}
\label{fig:myfigure}
\end{center}
\end{figure}
\usepackage{graphicx}
以及因为没有它,它首先将无法工作。任何建议可能是什么问题?
最佳答案
我无法在这里测试,但我认为组合 htbp
和 !
不被允许。 !
定义 LaTeX 应该听取给定的放置说明符并按照您指定的方式放置图形。你说用htbp!
到 LaTeX 之类的东西
Place my image here, at the top, at the bottom or on a special page. And do it all!
htbp
或
h!
,
t!
,
b!
或
p!
, 我认为。
关于latex -\begin{figure}[H] 有效,但\begin{figure}[htbp] 无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12941711/
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 9年前关闭。 Improve this q
我是一名优秀的程序员,十分优秀!