
"captionof" 뒤의 단락은 들여쓰기가 제대로 되지 않습니다. 주석을 달거나 \usepackage{caption}
들여 \captionof{figure}{figure}
쓰기를 취소하세요.
하지만 "labelsep"을 콜론 이외의 공백으로 재정의하려면 capt-of 패키지와 캡션 패키지가 필요합니다. 그렇게 할 수 있는 다른 방법이 있습니까?
예는 다음과 같습니다.
\documentclass{article}
\usepackage{capt-of}
\usepackage{caption}
\begin{document}
before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption before caption
\captionof{figure}{figure}
after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption
after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption after caption
\end{document}
답변1
이 질문에는 이미 답변이 있습니다.\captionof 단락 들여쓰기가 엉망입니다.하지만 약간의 설명을 추가하고 싶습니다.
그만큼선적 서류 비치of \captionof
in package(18페이지)에는 " ... 따라서 상자나 환경 내부에서만 사용해야 합니다." 라고 caption
나와 있습니다. 따라서 명령을 자신의 그룹에 두는 것이 합법적인 방법이어야 합니다.\captionof
\captionof*
{\captionof{figure}{figure}}
또한 패키지도 제공하므로 \usepackage{capt-of}
그럴 필요가 없습니다 .caption
\captionof