I have this code:
\documentclass{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{subfig}
\graphicspath{{/folder/images/}}
\title{}
\author{}
\begin{document}
\begin{figure}
\centering
\subfloat[][]{\includegraphics[scale=0.5]{Graph1}}
\end{figure}
\end{document}
Under the graph it shows me a label , "a". How can I not show it? Also, how to restart numbering of labels because the subfloat numbers all the figures from the beginning of the document?
Best Answer
subfig
provides a number of different inputs to its\subfloat
macro. It's usage results in different captioning styles. From thesubfig
documentation (Table 2 of section 2.2.1 The\subfloat
Command, p 4):So, the only way to have a
\subfloat
without a caption is to use it as\subfloat{<stuff>}
and remove both possible optional arguments.\subfloat
numbering, by default, is renewed with everyfigure
environment. However, you can control the counter number by means of setting thesubfigure
counter. For example,\setcounter{subfigure}{4}
will make your\subfloat
s be numbered from(e)
.