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?
report
for Ph.D. theses at my university. I'm the package author and it's not publicly available yet. But it's just a thin wrapper, nothing fancy or deep.report
class. Maybe the problem is caused by your "thin wrapper" -- without a MWE, it's hard to say.caption
package you'll find the reason for the warning -- I assume it's a definition of\@makecaption
unknown to thecaption
package.\@makecaption
,\caption
, or\@caption
, otherwise thecaption
package would not complain.\@makecaption
is coming from. It does not seem to come from your wrapper class since it does not contain a redefinition of\@makecaption
. But it's definitely not the definition coming from thereport
document class. To find out build a MWE, see meta.tex.stackexchange.com/questions/228/…