Hacker News new | ask | show | jobs
by bombcar 1186 days ago
LaTeX was and is just a collection of macros on top of TeX.

Few people have every used TeX itself, compared to the massive amounts who have used LaTeX; but if you haven't used raw TeX you should try it sometime; it's surprisingly how simple and powerful it is.

2 comments

I agree. However, it can be tough finding documentation how to use plain TeX. I find that increasingly I'm using OpTeX, which is a much smaller set of macros than LaTeX, simpler this use, understand, and reason about.

https://petr.olsak.net/optex/

> However, it can be tough finding documentation how to use plain TeX.

I hate to be that guy, but... the TeXbook works and recently (finally!) had an official ebook release, illustrations and all. It’s a peculiar value of “works”—personally, I had to be stuck home sick for a couple of weeks with no reading material to get through it from beginning to end, it doesn’t really start to get rewarding unless you get through at least half of it or so, and I went away from it thinking that I like neither Knuth’s way of writing nor his approach to programming language design (“computers follow rules”). But it still has a lot of helpful stuff.

When it comes to more systematic descriptions and connections with more conventional programming-language ideas (it took me some time to recognize that TeX uses what is essentially dynamic scope throughout), I like TeX by Topic[1].

[1] https://www.eijkhout.net/tex/tex-by-topic.html

The TeXbook works well - but many people don't really know what they really want to make it look like, and want guidance - which is what LaTeX provides.

TeX itself is quite powerful, but you end up finding you're reinventing a macro package.

But you can use it basically as markdown and it formats things quite well.

I ended up using plain TeX because I learned from Spivak's The Joy of TeX. It teaches AMS-TeX which is just a thin veneer on top of plain. Before I stopped shaving the yak, I'd setteled on eplain which was just enough to make plain really practical.