I am trying to use \endfloat to shift all of the figures to the end of the document. However, some text, several paragraphs typically immediately after some figures also get shifted to the end of the document. Anyone else have this issue, or a solution?

General schema:



% \begin{SCfigure}
    \caption{Exemplars of stimuli used in the experiment. The label for each pattern was generated by the appearance of the stimulus. ``L'' and ...}
% \end{SCfigure}

  • Interestingly, I discovered that having a trailing % after \end{tabular} and \end{figure} also resulted in text chunks being pushed to the end. Removing them solved the problem. – ivyleavedtoadflax Oct 7 '15 at 15:42

For TeXnical reasons, \end{figure} should not be indented, as explained in the manual:

10.1 Literal strings

When floats are being read, LaTeX is in verbatim mode. Among other things, this means that the lines like


must appear on lines by themselves without any whitespace before or after them.

Maybe it's not well explained, because blank lines are allowed before or after \end{figure}: the meaning is precisely that \end{figure} should start at column 1 and there should be the end of line after the closing brace.

By the way, you can register also SCfigure with the endfloat package by saying


in the document preamble. Of course, the same limitation about \end{figure} will hold for \end{SCfigure}.


I used a tab to indent the the following commands:


Removing the tab indent solves the problem.

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.