Dekel Tsur wrote:

> On Sun, Aug 04, 2002 at 03:05:17PM +0200, Herbert Voss wrote:
> 
>>Dekel Tsur wrote:
>>
>>
>>>>\renewenvironment{figure}[1][\fps@figure]{%
>>>>     \@float{figure}[#1]%
>>>>   \centering
>>>> }{%
>>>>   \end@float
>>>> }
>>>>
>>>>
>>>BTW, this is wrong. The \fps@figure should be replaced by tbp.
>>>
>>
>>no, with \fps@figure you get the class derfaults and they
>>are not always tbp
>>
> 
> The optional argument to the figure environment is not expanded, so 
> you can't use a macro like \fps@figure.


yes, you are right ...
the renew doesn't need this anyway,. this does it with the
defined fps@figure

\renewenvironment{figure}{%
       \@float{figure}%
     \centering
   }{%
     \end@float
   }


Herbert

-- 
http://www.lyx.org/help/

Reply via email to