LaTeX is from the 80s. I understand it has grown over time, but to >1GB? That's huge, even for modern standards, for just a typesetting program. The documentation is a dependency that seems to be forced on you (it's not an optional dependency in Debian), and fonts are also big. But even without that, you're left with about 600MB if I recall correctly which is still huge for just formatting text right?