开发者

Figure spanning full width of page in two-column article

In a IEEEtran latex template, I am trying to put a figure spanning full width of the page. I am doing,

\begin{figure*}[h]
\centering
\setlength\fboxsep{0pt}
\setlength\fboxrule{0.25pt}
\fbox{\includegraphics[width=6.2in]{Figure7}}
\caption{Figure}
\label{f7}
\end{figure*}

This places the image on a new page at the end of the article. How do I place it where it shou开发者_JAVA技巧ld be? Thanks


For starters I might try to put the figure* block further up in the document, just to check that LaTeX isn't placing it there for a logical reason.

If that doesn't work, I would remove all extraneous commands in the figure* block to be sure they aren't causing problems.

Finally I might try using a figure that doesn't need resizing, or use [width=0.9\linewidth] just to check; sometimes figures that are "too big" can get bumped to the end of the document.

Edit: You may also try using (temporarily) a different template. For example I know that revtex4-1 has a figure* environment that behaves the way to want, to check if ieeetran is the problem or perhaps if that is part of their style.


the problem is the [h]. get rid of that, it'll work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜