[Tuglist] Environment slide in pdfscreen.sty

Manoj K N tuglist@tug.org.in
Wed, 12 Jun 2002 10:52:52 +0530


On Tue, Jun 11, 2002 at 09:29:33PM +0530, Radhakrishnan CV wrote:

> 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}

It did not work, but its following variant worked:

\makeatletter\newcommand{\@captype}{figure}\makeatother

What is the difference? With the first command, the following error
appeared.

! Undefined control sequence.
<argument> c@\@captype 
                       
l.184 \caption
              {Binary Symmetric Channel}\label{fig:bsc}
? 

Manoj.

-- 
Manoj K N,
Texas Instruments India Limited, 
Diamond District, Airport Road, 
Bangalore. PIN: 560037. Karnataka. India.

Ph: +91-80-5099894

12.58 N, 77.39 E