I would like to place two figures side by side in two column environment (Both figures fitting withing a single column)
I have read the answers but it's not working for me. The figure is placed on the next page.
ME:
\documentclass[a0,portrait]{a0poster}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{multicol}
\columnsep=100pt
\columnseprule=3pt
\usepackage[czech, english]{babel}
\usepackage[svgnames]{xcolor}
\usepackage{palatino} % Uncomment to use the Palatino font
\usepackage{subfig}
\usepackage{graphicx}
\graphicspath{{figures/}} % Location of the graphics files
\usepackage{booktabs} % Top and bottom rules for table
\usepackage[font=small,labelfont=bf]{caption}
\usepackage{amsfonts, amsmath, amsthm, amssymb}
\usepackage{wrapfig} % Allows wrapping text around tables and figures
\usepackage{lipsum}
\begin{document}
\title{Morphological key at Afrilex 2014} % Poster
\begin{multicols}{2}
\section*{Introduction - Icelandic and Czech?}
\lipsum[3-6]
\begin{figure*}[b!]
\centering
\subfloat[Market revenue]{%
\includegraphics[width=10cm]{online_dict2.png}%
\label{fig:evaluation:revenue}%
}\qquad
\subfloat[Average price]{%
\includegraphics[width=10cm]{online_dict2.png}%
\label{fig:evaluation:avgPrice}%
}
\caption{Simulation results}
\end{figure*}
\subsection*{Types of Media}
\end{multicols}
\end{document}
Best Answer
You can place the figures inside a
minipage
of width\columnwidth
(and no indent):Since
\subfloat
s require to know which float environment they're in, setting the\@captype
explicitly is necessary.caption
provides\captionof{<type>}{<caption>}
, but it doesn't help for\subfloat
.