Could I change caption text size and label size to only one figure?
I've seen in other questions that:
\captionsetup[figure]{font=footnotesize,labelfont=footnotesize}
can be used to change sizes in captions, but that is for the whole document and I would like to do this for only one figure; could this be possible?
Best regards and thank you so much.
Best Answer
Local changes to a specific caption can be done within the
figure
ortable
environment, if\captionsetup
is used in the relevant environment. See the example of the 2ndfigure
environment -- the change of settings does not leak outside and has no effect on the thirdfigure
caption.Make sure to remove the optional argument
[figure]
or[table]
, otherwisecaption
complains and does not apply the local changes at all.