
나는 그림 옆에 캡션을 얻기 위해 floatrow 패키지를 사용하고 있습니다. 다음은 샘플 코드 예입니다.
\lipsum[3]
\lipsum[3]
\lipsum[3]
\begin{figure}[htb!]
\floatbox[{\capbeside\thisfloatsetup{capbesideposition={left,center},capbesidewidth=sidefil}}]{figure}[\FBwidth]
{\caption{\textbf{My caption does not fit the whole width, My caption does not fit the whole width, My caption does not fit the whole width} }\label{dz0_pot_lbd}}
{\includegraphics[width=0.475\textwidth]{dz0_pot_lbd.png}}
\end{figure}
\lipsum[3]
\lipsum[3]
\lipsum[3]
결과는 다음과 같습니다.
사용하고 있으니 참고해주세요이 템플릿, 이 오류를 재현하려면 \usepackage{floatrow}
theme.tex에 추가해야 합니다.
제가 이해한 바로는 capbesidewidth=sidefil
캡션이 이미지에서 사용되지 않는 모든 상자 공간을 사용하는지 확인해야 합니다. 하지만 왼쪽에는 아직 사용되지 않은 공백이 몇 개 남아 있습니다(위의 빨간색 주석 참조). capbesidewidth를 증가하는 값으로 수동으로 설정하려고 시도했지만 이미지가 오른쪽으로 푸시됩니다. \fcapside[\FBwidth]
대신 사용하면 \floatbox
작동하지 않습니다. 전체 크기 상자가 \textwidth로 설정되지 않은 것일까요?
어떤 도움이라도 주시면 감사하겠습니다.