Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Quite curiously, the warning disappears if another figure follows, but the caption style doesn't change.
    – egreg
    Commented Feb 27, 2023 at 18:36
  • @egreg When I remove the [figure] then the code compiles but in my main document, I have \captionsetup[subfigure] which meant I wanted to not affect subcaptions too by changing a local definition "global" when I \input other files. Just requires careful management but it is not mentioned in the documentation not to use it within a float, I am not sure why it won't work though it is puzzling.
    – piJT
    Commented Feb 27, 2023 at 18:57
  • How about reporting your problem to the maintainer of the package? Commented Feb 27, 2023 at 19:03
  • @PeterWilson I will do that now on GitLab, was just checking that this wasn't me making a mistake or if it was already a known "bug" to the frequenters here.
    – piJT
    Commented Feb 27, 2023 at 19:07
  • 1
    Thank you. It's a long time since I had anything to do with any packages I might have produced. My intellectual capabilities have faded, but not as fast as my memory. Don't trust me. --- Peter W. --- GOM Commented Feb 27, 2023 at 19:22