Dos figuras una al lado de la otra - título

Dos figuras una al lado de la otra - título

Tengo dos figuras una al lado de la otra en mi trabajo y necesito agregarles leyendas. Sin embargo, cuando agrego subtítulos, no coinciden con las cifras. ¿Alguien es capaz de ayudarme? Muchas gracias.

Este es el código:

 \begin{figure}[h]
           \begin{floatrow}
             \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}}
           \end{floatrow}
        \end{figure}

Y esto es lo que obtengo:

El resultado

Respuesta1

Úselo \ffigbox[\FBwidth]para que el título tenga el mismo ancho que la imagen. Por cierto, no puedes usarlo \\en el interior.\caption

\documentclass{article}
\usepackage{graphicx}
\usepackage{floatrow}

\begin{document}
 \begin{figure}[h]
           \begin{floatrow}
             \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}}
           \end{floatrow}
        \end{figure}

\end{document}

ingrese la descripción de la imagen aquí

información relacionada