I have two figures side by side in my work and I need to add captions to them. However when I add captions they are not in line with the figures. Is anyone able to help me? Thank you very much.

This is the code:

             \ffigbox{\includegraphics[scale = 0.5]{Figures/dontknow_ecb_countries_members}}{\caption{\small{The level of people\\not expressing the\\opinion on trust in\\the ECB in individual\\Euro-Area countries}}\label{fig:dont know countries members}}
             \ffigbox{\includegraphics[scale = 0.5]{Figures/trust_ecb_countries_nonmembers}}{\caption{\small{The trust in the ECB\\in individual non-Euro\\Area countries}}\label{fig:trust countries nonmembers}}

And this is what I get:

The result


Use \ffigbox[\FBwidth] so that the caption hets the same width as the picture. BTW, you can't use \\ inside \caption


             \ffigbox[\FBwidth]{\includegraphics[scale = 0.2]{example-image}}
                               {\caption{The level of people not expressing the opinion on trust in the ECB in individual Euro-Area countries}\label{fig:dont know countries members}}
             \ffigbox[\FBwidth]{\includegraphics[scale = 0.2]{example-image-a}}
                               {\caption{The trust in the ECB in individual non-Euro Area countries}\label{fig:trust countries nonmembers}}


enter image description here

  • You can replace \`with \endgraf`, though. – Bernard May 3 '15 at 9:48

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.