Then why not typst? Much faster to render and far more ergonomic/human-understandable when you eventually have to touch something inside.
Just one example: Every university and academic publication in the world give LaTeX formatting templates, examples courses etc.
I'm not saying that it's necessarily the case here, but typst is past the very early phase and LLMs are decent at generating it. Also, many formatting templates have been converted to typst as well.