Monday, April 19, 2010

Package caption Warning: Unsupported document class (or package) detected

Often, when you use IEEE templates, the following warnings may appear:

Package caption Warning: Unsupported document class (or package) detected, (caption) usage of the caption package is not recommended.

This happens because the IEEEtrans Class has its own definition on caption layout, and one of the packages you used calls package caption.

To get rid of this warning, disable the caption function of that package. For example, subfig package provides the following solution:
 
\usepackage[caption=false, ...]{subfig}

14 comments:

  1. Ooooo... thank you for that. Worked a treat!

    ReplyDelete
  2. Nice tip... Thanks :)

    ReplyDelete
  3. Thanks for the nice tip. It worked.

    ReplyDelete
  4. very useful tip, i avoid the warning by ur solution

    ReplyDelete
  5. Thank you very much.

    ReplyDelete
  6. Thanks, very useful.

    ReplyDelete
  7. Thank you!

    ReplyDelete
  8. Thanks, great tip!

    ReplyDelete
  9. Thanks, it solved my problem.

    Hasan

    ReplyDelete
  10. Works with elsarticle as well, thanks.

    ReplyDelete
  11. used it also with elsarticle and it works really fine:-)
    Thanks a lot

    ReplyDelete
  12. Thank you!!

    ReplyDelete
  13. works also with acmsmall, thanks!!

    ReplyDelete