I'm using \floatstyle{boxed} for the first time.

I want numbered, boxed floats with the same paragraph style as my main document. The boxing and numbering works fine, but the line-spacing inside the box is single-spaced (not my document default) and new paragraphs are not indented and not preceeded by a blank line. This makes my boxes messy to read. Why?

I'm doing this:

    \usepackage{float}  % enables user to define custom floats
    \floatstyle{boxed}  % affects the next call to \newfloat (and all subsequent ones until \floatstyle is called again)
    \floatname{BoxFloat}{Box}   % set prefix for captions on instances of BoxFloat to 'Box'
    %body of document
    \caption{Clarke's subsumption problem}
    My first paragraph.

    My second paragraph.

Any ideas what I'm doing wrong?

  • 1
    Which document class do you use? You mention that your default settings include not single spacing and additional vertical space between paragraphs; this is not the default in standard classes, so we might need to see the settings of your class. – Gonzalo Medina Sep 18 '13 at 13:38

Your Answer

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

Browse other questions tagged or ask your own question.