logoalt Hacker News

gucci-on-fleektoday at 6:10 AM3 repliesview on HN

TeX [0] is in some sense "the one true layout system", but it's designed for printed documents, so it doesn't work on the web [1]. And in some ways, it's much simpler than CSS (you can build nearly everything from only a dozen typesetting primitives or so), but in other ways it's much more complex (since TeX is itself a fairly complex programming language). It's typesetting quality is still unbeaten by any of its competitors though, even 50 years after its first release.

[0]: https://en.wikipedia.org/wiki/TeX

[1]: But it does work on WEB :) [2]

[2]: https://en.wikipedia.org/wiki/Web_(programming_system)


Replies

srdjanrtoday at 6:42 AM

My understanding is that it's designed for fixed-size documents? There's a big difference between a layout system for that, and one where size of a document can vary wildly, up to completely opposite aspect ratios

show 1 reply
hexasquidtoday at 6:43 AM

I'm not sure if Tex has a way to express mobile/desktop aware layouts, or to enable the reader to adjust only the font size (my ignorance)

show 1 reply