The typeset package implements a framework for automatic typesetting of common GAP objects, for the purpose of embedding them nicely into research papers. Currently, an example implementation has been written specifically for LaTeX.
gap-pkg-typeset-1.2.2-1.fc41.src.rpm
For the purpose of submitting this package to Fedora, here is the RPM spec file.