From 7491abbe779f7f160a85859a60cad1164ae6f0fe Mon Sep 17 00:00:00 2001 From: Tarik Viehmann Date: Mon, 18 Apr 2022 11:14:27 +0200 Subject: [PATCH] enforce pagebreak before longtable For some reason the longtable can overlap with footers. In our case this could happen if the page on which the longtable starts contains a footnote. This can be easily prevented by pushing the stat of the longtable on a separate page. --- rulebook.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rulebook.tex b/rulebook.tex index af28cfd..0b9374f 100644 --- a/rulebook.tex +++ b/rulebook.tex @@ -117,6 +117,7 @@ \usepackage{calc} \usepackage{float} \usepackage{hhline} +\usepackage{afterpage} \usepackage{longtable} \restylefloat{table} @@ -1605,6 +1606,8 @@ \subsection{Task Fulfillment and Scoring} full report for the machine name to claim points. The scoring is shown in \reftab{tab:scoring}. +% start on a new page as longtables otherwise may overlap with the footer +\afterpage{% % alternate row coloring \rowcolors{1}{gray!0!white}{gray!10!white} \begin{longtable}{p{\dimexpr.30\textwidth-2\tabcolsep} @@ -1731,6 +1734,7 @@ \subsection{Task Fulfillment and Scoring} \caption{Scoring Schemes} \label{tab:scoring} \end{longtable} +} \subsection{Human Responsibilities During a Match} \label{sec:during-match}