I want to insert two pictures in one page. Each picture should be expanded in two columns. So far the only thing that I can do is to insert one picture expanded in two columns but I can't put two pictures.
\documentclass[twocolumn]{article}
\usepackage{lipsum}
\usepackage{stfloats}
\begin{document}
\lipsum[1-5]
\begin{figure*}[t]
\centering\rule{0.8\textwidth}{0.3\textwidth}
\caption{A nice figure}
\end{figure*}
\lipsum[1-10]
\lipsum[1-5]
\begin{figure}[h]
\centering\rule{0.8\textwidth}{0.3\textwidth}
\caption{A nice figure}
\end{figure}
\lipsum[1-10]
\end{document}
Best Answer
Here
subfig
package is used because I assume you want two figures in one page as said in the title. For two-column style, you needfigure*
environment which explains why your second figure doesn't work properly.Code
EDIT: The OP wants so add some text between the figures, thus
multicol
is recommnded to use in such case. Notarticle
class with [twocolumn].