我想要一个图形,并在其侧面添加一个长标题。我见过几种解决方案(例如这个)但是如果标题很长,结果看起来会很丑。我希望标题也能包裹在图形下面。这是我的 MWE,用来说明我的意思:
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{floatrow}
\begin{document}
\begin{figure}
\floatbox[{\capbeside\thisfloatsetup{capbesideposition={left,top},capbesidewidth=4cm}}]{figure}[\FBwidth]
{\caption{A really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption a really long caption}}
{\includegraphics[width=5cm]{name}}
\end{figure}
\end{document}