# LaTeX figures in two column

Is there a convenient way to place a figure* at the end of the current page instead of taking up the entire next page in the twocolumn environment? Placement modifiers [Hb] do not work.

-

## migrated from stackoverflow.comAug 9 '12 at 14:48

This question came from our site for professional and enthusiast programmers.

Try the stfloats package.

\documentclass[twocolumn]{article}
\usepackage{lipsum}
\usepackage{stfloats}
\begin{document}
\lipsum[1-5]
\begin{figure*}[b]
\centering\rule{0.8\textwidth}{0.3\textwidth}
\caption{A nice figure}
\end{figure*}
\lipsum[1-10]
\end{document}


Which gives:

-

The dblfloatfix package also provides placement specifiers in twocolumn format, although it's usually delayed for at least one page:

\documentclass[twocolumn]{article}
\usepackage{dblfloatfix}% http://ctan.org/pkg/dblfloatfix
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\begin{document}
\begin{figure*}[b]
\centering\rule{.7\textwidth}{.2\textwidth}
\caption{A figure caption}
\end{figure*}
\lipsum[1-20]
\end{document}


In the above example, note how the first is placed at the beginning of the document (page 1) and requested at the bottom, while it actually is displayed at the bottom of page 2. However, placement may still depend on the size of the included image.

Note that it should not be used in conjunction with the stfloats package.

-
[Hb] makes no sense as a placement modifier – [H] can only be used alone, and means “place it HERE, period” (and requires the float package).
If you want to place it at the bottom, use just [b]. If LaTeX thinks it knows better than you, try [b!] to make LaTeX try harder. If that still doesn’t work you’re essentially out of luck.