[OS X TeX] Memoir figure problem

David Arnold dwarnold45 at suddenlink.net
Sun Mar 1 20:26:28 CET 2009


All,

I am trying an example from memman.pdf using the memoir class.

\documentclass{memoir}

\begin{document}

\begin{figure}
\centering
\begin{minipage}{0.45\textwidth}
Hello
\subcaption{Bar chart.}
\end{minipage}\hfill
\begin{minipage}{0.45\textwidth}
Hello
\subcaption{Bar chart.}
\end{minipage}
\caption{my caption\label{fig:BarAndLinePlot}
\end{figure}

\end{verbatim}

\end{document}

I am getting this error:

! LaTeX Error: No counter 'subfigure' defined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
  ...

l.9 \subcaption
                {Bar chart.}

Any suggestions?

David.
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list