I am making a scientific poster in Latex. The code is working fine if I am working with single figures but as soon as I am adding subfigures (figures side by side), I am getting several errors at once. The code to include subfigures is correct since I verified it by taking it in an a4 sheet only. The Latex code I am using is as follows
\documentclass[portrait,a0]{sciposter}
\usepackage{amsmath}
%\usepackage{subfig}
\usepackage{array}
\usepackage{braket}
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\usepackage{caption}
\usepackage{subcaption}
\captionsetup{compatibility=false}
%\usepackage{subfloat}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{sectionbox}
\renewcommand{\titlesize}{\Huge}
\renewcommand{\authorsize}{\Large}
\renewcommand{\instsize}{\large}
\title{title}
\author{name}
\institute{nameinst}
\email{jvlfvj}
\leftlogo[1]{logo.jpg}
\conference{Open Poster Presentation}
\begin{document}
\maketitle
\renewcommand{\fontpointsize}{15pt}
\begin{multicols}{3}
\begin{figure}
\centering
\includegraphics[width=\textwidth]{ers.png}
\caption{diagram}
\end{figure}
\begin{figure}
\centering
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=0.9\textwidth]{uvw.eps}
\caption{a}
\end{subfigure}%
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=0.9\textwidth]{xyz.eps}
\caption{b}
\end{subfigure}%
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=0.9\textwidth]{abc.eps}
\caption{c}
\end{subfigure}
\caption{fig}
\end{figure}
\end{multicols}
\end{document}
I have tried various combinations of the packages given in preamble. I don't know where I am going wrong. Please help.
sciposter
just won't work, there's alsobeamerposter
(external homepage). It can do subfigures with thesubcaption
package, as shown in beamerposter subfigure.