1

I'm trying to submit a paper to a journal. I submit the TeX archive which includes the tex file + figures in pdf format. However, it fails to compile in the queue, whereas it obviously compiles properly on my machine.

Through trial-and-error, I've narrowed down the compile failure to the use of the subfig package. If I directly use \includegraphics without \subfloat, it compiles. However, the spacing for side-by-side figures and figures over multiple lines is much inferior to using subfloat.

My question is, what alternatives do I have to using \subfloat, or if I have to space them manually what spacings should I use?

closed as unclear what you're asking by egreg, yo', Stefan Kottwitz Feb 6 '16 at 22:52

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    The caption package has a little brother, the subcaption package. You may want to give that a go but you need to change some code for that. Have a look at the manual for details – Martin H Oct 7 '13 at 13:41
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – karlkoeller Oct 7 '13 at 13:53
  • Or you can use a simple tabular... – user11232 Oct 7 '13 at 14:32
  • stackengine package manual demonstrates how to stack subfigures. – Steven B. Segletes Oct 8 '13 at 15:46
  • @MartinH Wanna make your comment into an answer and maybe even mention the approaches by Harish and Steven? – Johannes_B Mar 13 '15 at 16:53

Browse other questions tagged or ask your own question.