longtable로 인해 scrartcl이 float 후 바닥글과 충돌하게 됩니다.

longtable로 인해 scrartcl이 float 후 바닥글과 충돌하게 됩니다.

이동한 플로트와 같은 페이지에 긴 테이블이 있으면 텍스트가 바닥글을 덮도록 길이 계산이 중단되는 것처럼 보입니다. MWE:

\documentclass{scrartcl}
\usepackage{mwe} % For dummy figures
\usepackage{lipsum} % For dummy text
\usepackage{graphicx}
\usepackage{scrlayer-scrpage}
\usepackage{longtable}
\usepackage{xcolor} % To visualize footer better

% Set up footer
\pagestyle{scrheadings}
\ifoot{\color{red}aaa}
\ofoot{\color{red}bbb}

\begin{document}
\section{A}
\lipsum[1-3]    
\begin{figure} % Figure that will float to next page
    \centering
    \includegraphics[scale=1]{example-image-b}
    \caption{Figure caption}
\end{figure}
\section{B}
\lipsum[1-2]
\begin{longtable}{|c|}
\hline
Table\\
\hline
\end{longtable}
\section{B}
\lipsum[1-3]
\end{document}

명확성을 위해 빨간색 바닥글 텍스트를 확인하세요. latex와 pdflatex 모두 동일합니다. 바닥글을 직접 정의할 필요는 없지만 그렇게 하면 더 명확해졌습니다. 특별한 바닥글이 정의되지 않은 경우 페이지 번호를 덮어씁니다.

바닥글을 덮는 텍스트

이것을 처리하는 방법을 아시나요?

관련 정보