# [Tuglist] Environment slide in pdfscreen.sty

11 Jun 2002 21:29:33 +0530

>>>>> "Manoj" == Manoj K N <knm@india.ti.com> writes:

Manoj> Hello, Can we not use figure' environment inside the
Manoj> environment slide' of pdfscreen.sty? I have created some
Manoj> LaTeX pictures using picture', and want to give it a
Manoj> caption and label. Without putting it all in figure', I am
Manoj> able to generate the picture, but not the caption, at which
Manoj> point, I get the error that it is not defined. I cannot put
Manoj> figure' in slide' because I get an error that it is not
Manoj> in Outer par mode'.

Figure environment can't be used inside slide because it is already a
minipage. However you can make use of \caption command provided you
define \@captype.

\def\@captype{figure}

--
`