I want to know how should I cross-reference the following caption in manuscript in following way Fig 1a and Fig 1b.
\begin{figure}
\minipage{0.50\textwidth}
\includegraphics[width=\textwidth]{fig1}
\endminipage\hfill
\minipage{0.50\textwidth}
\includegraphics[width=\textwidth]{fig2}
\endminipage\hfill
\caption{$(a)$ taghyer jabejaei: $R$ is the reference configuration and $D$ is the deformed configuration and $(b)$ Salam Khub hasti density $\bf f$ agr bashe en ro dorost kard force density $\bf t$ at both points} \label{fig:m}
\end{figure}
Best Answer
I suggest you load the subcaption package, which provides an environment called
subfigure
. I further suggest you load the cleveref package to help streamline making cross-references to items such as subfigures.Addendum: If you don't need to cross-reference the subfigures individually, and if you're fine with providing a long caption that describes the contents of the two image files, there's certainly no need to load the
subcaption
package or to place the image files inminipage
environments.