그림과 같은 부동 환경은 문서에 빈 공간을 남깁니다.

그림과 같은 부동 환경은 문서에 빈 공간을 남깁니다.

이미지는 플로트 때문에 문서 끝 부분에 표시되며 나에게는 전혀 문제가 없지만 텍스트 블록 내에 빈 공간이 남습니다. 그것을 제거하는 방법? 도와주세요. 아래 코드의 경우 출력은 다음과 같습니다.

[Some text].


[Some more text] 


[Some text].
\begin{center}
\begin{figure}
    \centering
    \includegraphics[width=1.0\textwidth]{secondaryif.png}
    \caption[details of the image. Image source: \href{url}{http://wikipedia.org/wiki/index.php/Image:myimage.png}}
    \label{fig:secondaryif}
\end{figure}
\end{center}
[Some more text]

관련 정보