
alguém poderia me dizer por que a subfigura não consegue gerar espaço entre as palavras, elas estão todas interligadas?
\begin{figure}[htb!]
\centering
\subfigure[\label{fig:beamFRFdr(a)}$Original stiffness distribtution$]
{\includegraphics[width=0.45\textwidth, height=0.2\textheight]{Kdr.eps}}
\subfigure[\label{fig:beamFRFdr(b)}$Corresponding FRF $]
{\includegraphics[width=0.45\textwidth, height=0.2\textheight]{FRFdr.eps}}
\caption{\label{fig:beamFRFdr} degradation Distribution Identified by Original Algorithm and the Corresponding FRF. }
\end{figure}
Responder1
Eu acho que você está depois do seguinte (mas posso estar errado):
- A partir do fragmento de código pode-se concluir que você está usando um pacote obsoleto
subfigure
. - Em vez disso, use um pacote
subfig
ainda melhorsubcaption
. - Ambos os pacotes definemsubfloat
um ambiente com funcionalidade semelhante aosubfigure
. - Se você deseja ter o formato do texto da sublegenda em itálico, defina-o adequadamente em package. Usar o ambiente matemático para isso está errado.
- Para mais possibilidades de formatação de legendas e sublegendas, consulte
caption
(esu8bcaption
) as documentações do pacote.
\documentclass{article}
\usepackage{graphicx}
\usepackage[text font=it]{subcaption}
\begin{document}
\begin{figure}[ht]
\centering
\setkeys{Gin}{width=0.45\textwidth, height=0.2\textheight}
\subfloat[Original stiffness distribution \label{fig:beamFRFdr}]{\includegraphics{example-image-a}}
\hfil
\subfloat[Corresponding FRF \label{fig:beamFRFdr}]{\includegraphics{example-image-b}}
\caption{Degradation Distribution Identified by Original Algorithm and the Corresponding FRF.}
\label{fig:beamFRFdr}
\end{figure}
\end{document}