I have a set of different types to include figure-like items in a document. These include a float (created by
\SetupFloatingEnvironment), a non-float and full-page environments/commands.
While the non-float environment easily can share the counter and list of the basic float type through the
\captionsetup, I had to go to some length with the full-page type: This doesn't have a real
\caption but rather a text that is formatted like the caption. I then manually update the counter, write a) that 'caption' in the page header and b) manually create a toc entry.
Basically that works quite well, but when I'm in a context where the floating environments are numbered with the chapter number included I don't know how to mimick that in my manual caption.
So the question is: How can I determine the actual numbering options for floats (that the end user of my package may have changed individually)? And how can I reproduce that formatting for a custom caption and 'contentsline'?