When using the floatrow package to layout figures with the caption to the side, I get a overfull \hbox errors.

Overfull \hbox (3.33331pt too wide) in paragraph at lines 23--23

If I set \FBwidth-1 on each \ffigbox the error goes away. Hackish?

I have many figures that will be done this way, what is the proper way to do the \subfloatrow so this doesn't happen?




    \caption{Horizontal sub-figures, top aligned}%


1 Answer 1


You missed one %

  • I thought that spurious spaces were not taken into account in such situations. Why does it happen here?
    – cjorssen
    Apr 10, 2013 at 19:28
  • @cjorssen 3.33331pt too wide is just TeX way of saying missing % at end of line So I could have answered without looking at the code:-). TeX is designed to typeset text and space between words is significant. There isn't really (despite for example latex3 conventions) a separate programming layer in TeX, It's always trying to typeset something and spaces are significant unless the macros arrange to ignore them. Apr 10, 2013 at 19:31
  • Good to know. I'm going to inspect every occurrences of \begin{subfloatrow} in files. Thanks for pointing this.
    – cjorssen
    Apr 10, 2013 at 19:34
  • @cjorssen might be simpler to suggest to the package maintainer he adds \ignorespaces Apr 10, 2013 at 19:36

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.