It seems to me that the algorithm for floating environments (like figures or tables) sometimes entirely fails to place the environment anywhere. Here a minimal working example:
Code: Select all
\documentclass[11pt, a4paper, UKenglish]{scrreprt}
\usepackage[UKenglish]{babel}
\usepackage{tikz}
\usepackage{lipsum}
\begin{document}
\lipsum[1-4]
\begin{figure}
\begin{tikzpicture}
\draw (-1,2) -- (2,-4);
\draw (-1,-1) -- (2,2);
\end{tikzpicture}
\end{figure}
\end{document}
The algorithm first tries to place the figure on the current page. This does not work, because it is too full already. Thus, it puts it into the queue. Then, the document ends. The article https://www.latex-project.org/publicati ... cement.pdf says:
Thus, I would expect a float page with the figure, even though the float page would probably be too empty to be accepted under normal circumstances.If the end of the document has been reached or if a \clearpage is encountered, LATEX starts a new page, relaxes all restrictive float conditions, and outputs all floats in the holding queue by placing them on float page(s).
What actually happens:
The figure is not placed at all. Instead, there are two empty pages, one with '' and one with '''' symbols. But what surprised me even more is that not including babel solves the issue!
Is this behavior intended?