opit had to put some data into a LaTeX table fit for publication. Refusing to do this manually, she wrote this snippet of code that renders the table in Astronomy and Astrophysics long table format:

The above code (plus database queries, deleted for clarity) writes a .tex file:

Which is then rendered into a PDF document: