In my question How to create an unnumbered algorithm with a caption?, a nice solution was suggested using \ContinuedFloat
, from the caption
package. However, when I use it, I get:
Package caption Warning: Unsupported document class (or package) detected,
(caption) usage of the caption package is not recommended.
See the caption package documentation for explanation.
The package documentation says:
Please note: Many document classes already have built-in options and commands for customizing captions. If these possibilities are sufficient for you, there is usually no need for you to use the caption package at all. And if you are just interested in using the command
\captionof
, loading of the very small 'capt-of' package is usually sufficient.
but that's not what I'm after. I'm using a document class I've created as a (thin) wrapper based on report
; I don't provide any built-ins I can use instead of \ContinuedFloat
, and neither does report
, as far as I can tell.
- Is the use of
caption
really not recommended with thereport
class? - If so, why and what should I do about it?
- If not, how can I 'tell' the package that mine is an 'ok class' to load with?
Best Answer
Perhaps not an answer, but it was too long to make it a comment. The documentation of the
caption
package says:Also, according to the documentation, the supported document classes are:
book
,report
,article
amsart
,amsproc
,amsbook
beamer
scrreprt
,scrartcl
,scrbook
artikel
,rapport
,boek
smafart
,smfbook
thesis
So, there's no problem using
caption
with the standardreport
document class. Since you are using a derived document class, you should pay attention to the last paragraph of the quote at the beginning of this message.