<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass{article}

\setlength\textheight{5cm}
\setlength\textwidth{5cm}
\setlength\oddsidemargin{0cm}

\usepackage[writepages]{grfpaste}

\pagestyle{headings}

\def\xa{aa bb cc dd ee }
\def\xb{\xa\xa\xa\xa\xa\xa\par\xa\xa\xa}
\begin{document}

\tableofcontents

\section{Intro}
\xb

\section{More}
\xb

\begin{table}
  \begin{tabular}{|ll|}
aaa&amp;bbb\\
aaa&amp;bbb\\
aaa&amp;bbb\\
  \end{tabular}
  \caption{test one}
\end{table}
\begin{table}
  \begin{tabular}{|ll|}
1&amp;2\\
3&amp;4\\
5&amp;6\\
  \end{tabular}
  \caption{test two}
\end{table}

\section{Yet more}
\xb\xb
\end{document}
</pre></body></html>