I'm using a poster template on Overleaf (Imperial College London template) but when I put in figures I'm not getting the figure number in the caption section.
This is my document preamble:
\documentclass[xcolor={table}]{beamer}
\usepackage[size=a0,orientation=portrait,scale=1]{beamerposter}
\usepackage{amsmath,amsthm}
\usepackage{amssymb}
\usepackage{subcaption}
\usepackage{cite}
\usepackage{comment}
\begin{document}
\begin{frame}[fragile=singleslide,t]\centering
\begin{columns}[onlytextwidth,T]
\begin{column}{.47\textwidth}
\begin{figure}
\centering
\begin{minipage}[b]{0.4\textwidth}
\includegraphics[width=0.6\hsize]{Cauchy_arm1.PNG}
\caption{$Q$ with two sign changes}
\label{fig:Cauchy_arm1}
\end{minipage}
\hfill
\begin{minipage}[b]{0.4\textwidth}
\includegraphics[width=0.6\hsize]{Cauchy_arm2.PNG}
\caption{$Q$ with one sign change}
\label{fig:Cauchy_arm2}
\end{minipage}
\end{figure}
\end{column}
\end{columns}
\end{frame}
\end{document}
I haven't used overleaf much and the times that I've used similar code in TeXmaker. It worked fine, I'm not sure why this isn't working here. Does anyone know what I've done wrong?
\documentclass{...}
, the required\usepackage
's,\begin{document}
, and\end{document}
. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem.beamer
class are not numbered. You could add\setbeamertemplate{caption}[numbered]
to the preamble of your document to get numbered figures.