乳胶中的subfig包装

时间:2010-04-08 01:22:32

标签: latex

当我在latex中使用subfig包时,会出现一些错误:

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

我该如何解决?

谢谢和问候!

1 个答案:

答案 0 :(得分:2)

它看起来像是subfig和旧版本的标题包之间的冲突。尝试将标题包更新为更新的内容。一般来说,最好将所有软件包更新到最新版本。