Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Memoir and subfigures

1,613 views
Skip to first unread message

Paulo Matos

unread,
Oct 21, 2009, 12:55:23 PM10/21/09
to
Hi all,

I am trying to have two subfigures inside a figure (one on top of the
other) and I am using the package memoir.
- Using the \subfigure command without importing subfigure doesn't
work.
- Importing subfigure doesn't work:
(/usr/share/texmf-dist/tex/latex/subfigure/subfigure.sty

! LaTeX Error: Command \c@lofdepth already defined.
Or name \end... illegal, see p.192 of the manual.

- Using \subbottom instead of \subfigure doesn't work:
! LaTeX Error: No counter 'subfigure' defined.

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

l.288 \subbottom
[First]{\includegraphics{normaldist.pdf}} \\

- Defining a new counter with \newcounter{subfigure}[figure] doesn't
work:
<use ./figures/priorities.pdf>
! Undefined control sequence.
\@memsubfigcaptionlist ...berline{\@@thesubfigure
}{\ignorespaces
First}}
l.289 ...Second]{\includegraphics{priorities.pdf}}


I am using the latest version of memoir.

Any tips on how to use subfigures?

Thanks,

Paulo Matos

Victor Ivrii

unread,
Oct 21, 2009, 3:27:13 PM10/21/09
to
On Oct 21, 12:55 pm, Paulo Matos <pocma...@gmail.com> wrote:
> Hi all,

> Any tips on how to use subfigures?

Not to use it at all as {subfigures} is superseded by {subfig}

with common command \subfloat for s/figures and s/tables

I use it regularly with memoir

HTH Victor


>
> Thanks,
>
> Paulo Matos

Paulo Matos

unread,
Oct 22, 2009, 4:46:52 AM10/22/09
to

I was actually wondering how to caption those subfloats since I tried
with:
\subfloat[Caption]{...float...}

but this seems to create the float but then the text "[Caption]" shows
up before the float... so I guess this is not the right way to do it.
Any tips?

>
>
> > Thanks,
>
> > Paulo Matos

Lars Madsen

unread,
Oct 22, 2009, 4:58:46 AM10/22/09
to

\documentclass{memoir}
\usepackage{subfig}
\begin{document}

\begin{figure}
\centering
\subfloat[caption]{\rule{3cm}{3cm}}
\caption{sdf}
\label{fig:sdf}
\end{figure}

\end{document}

more details on memoirs own subfloats, see the memoir manual

/daleif

0 new messages