我目前有一个数字
\begin{figure}
\figuresize{.6}
\figurebox{25pc}{25pc}{}[figure1]
\caption{LONG Caption here}
\label{fig:fig1}
\end{figure}
但标题很长,我想将其移到图片右侧以节省空间,这样图片在左侧,标题在右侧。上面的设置可以实现吗?谢谢
答案1
\documentclass{article}
\usepackage[capbesideposition=right, facing=yes,capbesidesep=qquad]{floatrow}%can use quad also
\usepackage{rotating}
\begin{document}
\begin{figure}
\fcapside[\FBwidth]
{\caption{A nice figure with a very very very very long long caption}\label{key}}
{\rule{4cm}{4cm}} %Replace with image
\end{figure}
\begin{figure}
\begin{minipage}{.75\textwidth}
\rule{8cm}{4cm} %Replace with image
\end{minipage}
\begin{minipage}[]{.15\textwidth}
\rotcaption{A nice figure.}
\end{minipage}
\end{figure}
\end{document}