The arxiv_latex_cleaner tool is designed to help you easily clean up your LaTeX code for submission to arXiv. It removes auxiliary files, comments, and user-defined commands, and can resize images to fit within the 50MB limit on arXiv submissions. One unique feature is its ability to conceal TikZ picture source code by replacing it with externalized images. The tool also allows for advanced pattern replacement based on regex group captures, making it easy to customize your LaTeX commands. Installation is simple using pip, or you can download the source code directly. Note that arxiv_latex_cleaner is only compatible with Python >=3.9. No official Google support is provided for this product.
https://github.com/google-research/arxiv-latex-cleaner