I wanna to place two figures (one with two subfigures) into a column on a two-column document, as shown below.
I tried \begin{figure*} ... \end{figure*}
, but got this,
I also tried \begin{multicols}{1} ... \end{multicols}
, but got nothing.
Here is my source code.
\documentclass[twocolumn,12pt]{article}
\usepackage{blindtext}
\usepackage{cleveref}
\usepackage{todonotes} % create Placeholder for missing figure
\usepackage{subcaption}
\usepackage{multicol}
\begin{document}
\blindtext
\blindtext
\blindtext
\begin{figure*}[h]%[pbth]
\centering
\begin{subfigure}{0.3\textwidth}
\missingfigure[figwidth=\textwidth]{}
\caption{Subfigure 1}
\end{subfigure}
\begin{subfigure}{0.3\textwidth}
\missingfigure[figwidth=\textwidth]{}
\caption{Subfigure 2}
\end{subfigure}
\begin{subfigure}{0.3\textwidth}
\missingfigure[figwidth=\textwidth]{}
\caption{Fig. 2}
\end{subfigure}
\caption{Fig. 1}
\end{figure*}
\blindtext
\blindtext
\blindtext
\begin{multicols}{1}
\begin{figure}%[h]%[pbth]
\centering
\begin{subfigure}{0.3\textwidth}
\missingfigure[figwidth=\textwidth]{}
\caption{Subfigure 1}
\end{subfigure}
\begin{subfigure}{0.3\textwidth}
\missingfigure[figwidth=\textwidth]{}
\caption{Subfigure 2}
\end{subfigure}
\caption{Fig. 1}
\end{figure}
\begin{figure}%{0.3\textwidth}
\missingfigure[figwidth=.3\textwidth]{}
\caption{Fig. 2}
\end{figure}
\end{multicols}
\end{document}
Best Answer
You can place a combination of ordinary figures and subfigures by making use of the minipage environment.
As you can see figures are aligned horizontally, independently of caption length. This is because I used the placement modifier top [t] for the minipages and subfigures. Obviously, this relatively easy solution works out best if images have the same size, because the top of figures is aligned instead of the bottom.