I tried to insert two side by side figures in IEEETRANS template. My document was compiled well when I used two minipages in a float, but I cannot get the captions (a) and (b) to be located right in the middle of these figures. Is there a way to solve this problem without using subfloat?
I tried to insert subfloats in a float to solve this problem, but my document cannot be compiled correctly. The errors include "You can't use \spacefactor in vertical mode", "Missing $ inserted", "Latex Error: Missing \begin{document}", and "Missing glyphs". How can I solve this problem?
Thanks in advance.
You can't use \spacefactor in vertical mode"means you have used some command such as\@somecommandwithout using\makeatletterThat would also generate a followingMissing \begin{document}error – David Carlisle Oct 08 '22 at 20:02