I am using lyx and want to put two figures side by side. I could do it by inserting two minipages separated by a \hfill inside a float but it only allows me to use separate captions rather than subcaptions (I want it to be labeled as fig 1a, fig 1b). Also by inserting float inside a float, the 2nd figure appeared below the first one rather than in side. Any tips would be really helpful.
[Tex/LaTex] Side by side subfigures in lyx
lyxsubfloats
Best Answer
The better approach I found, was to use subfigures (especially when you want to refer to subfigures as
1a
or1b
. From the LaTeX FAQ:Or if you could just use this code (this is LyX syntax; not LaTeX) from what I created (you may have to right click on the images and adjust the width % of the images):
For doing the same thing in pure LaTeX: