باسلام
راه اول: استفاده از بسته sidecap است. کد زیر را در نظر بگیرید.
\documentclass{report}
\usepackage{sidecap}
\begin{document}
\begin{SCfigure}
\rule{4cm}{4cm}
\caption{Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, }
\end{SCfigure}
\end{document}
خروجی:
راه دوم: استفاده از بسته floatrow به صورت زیر:
\documentclass{report}
\usepackage{floatrow}
\floatsetup[figure]{capposition=beside,capbesideposition={top,right}}
\begin{document}
\begin{figure}
\rule{4cm}{4cm}
\caption{Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, This is an example. Hello, }
\end{figure}
\end{document}
خروجی: