TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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].

share|improve this question
up vote 3 down vote accepted

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).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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