I have seen the possibilities of formatting captions with caption, but I can't find a variable indicating whether the float is on a floatpage of a textpage.

Is it possible to use automatically standard textsize in captions on floatpages, and a smaller textsize in captions on textpages?

If so, how?

If not, I would also accept a short explanation why.

%\usepackage{caption} %might solve part of my problem


\caption{caption should be small}


\caption{caption should be textsize}


A positive answer should also work with placement specifiers mixing p and [htb].


This is likely to be more trouble than it is worth. The placement algorithm needs to know the total size of each figure (including the caption) in advance, so they are assembled and stored in a queue before they are placed. I don't think there is any way to predict whether a figure will end up on a float page without reprogramming a large and very complex part of the kernel (even using a [p] placement specifier won't work because LaTeX may decide to ignore it).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.