subfig package in latex

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-04-08T01:22:31Z Indexed on 2010/04/08 1:23 UTC
Read the original article Hit count: 429

Filed under:
|

Hi,

When I am using subfig package in latex, it gives some errors:

Package subfig Warning: Your document class has a bad definition  
 of \endfigure, most likely  
 \let\endfigure=\end@float  
 which has now been changed to  
 \def\endfigure{\end@float}  
 because otherwise subsequent changes to \end@float  
 (like done by several packages changing float behaviour)  
 can't take effect on \endfigure.  
 Please complain to your document class author.  


Package subfig Warning: Your document class has a bad definition  
 of \endtable, most likely  
 \let\endtable=\end@float  
 which has now been changed to  
 \def\endtable{\end@float}  
 because otherwise subsequent changes to \end@float  
 (like done by several packages changing float behaviour)  
 can't take effect on \endtable.  
 Please complain to your document class author.  

(/usr/share/texmf/tex/latex/caption/caption.sty  
         `rotating' package detected  
         `float' package detected  
)   

LaTeX Warning: You have requested, on input line 139, version  
               `2005/06/26' of package caption,  
               but only version  
               `1995/04/05 v1.4b caption package (AS)'  
               is available.  

! Undefined control sequence.  
l.163 \DeclareCaptionOption  
                           {listofformat}{\caption@setlistofformat{#1}}

How can I solve it?

Thanks and regards!

© Stack Overflow or respective owner

Related posts about latex

Related posts about subfig