Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the best way to understand the TeX / LaTeX internals?

Tags:

latex

tex

Looking through docs on the TeX website, it seems like almost all documentation for TeX and LaTeX are tutorials on how to use them, how to install fonts, how to get graphics working, etc.

What should I look at if I want to know more about how TeX works? For instance, I want to know about its parser grammar. I want to know how its text engine works, how it decides hyphenation, how it flows text, how it decides on box layouts.

It seems like TeX and LaTeX are built up on several layers of different technologies. (Metafont, etc.) Is there any resources that describe step by step the TeX system from the ground up? How it goes from parsing a text file, into how this is represented and transformed, and finally how it ends up in a particular page layout?

like image 919
Steve Avatar asked Jan 14 '11 15:01

Steve


People also ask

Is LaTeX difficult to learn?

It is difficult. LaTeX has a much steeper learning curve when compared with MS Word that is true. However, getting a basic LaTeX (text, figures, titles, tables) document is not so difficult.

Should I learn TeX or LaTeX?

LaTeX is enough if what you want to do is to produce neater documents with fewer errors. TeX is worth knowing if you want to write new programs, macros etc. LaTeX is about presenting content, while TeX is about formatting.

How long does it take to learn LaTeX?

However, it takes about 200 hours of serious use to get the student to the point where LaTeX is as efficient as either handwriting or using a word processor. At some point after 200 hours LaTeX is more efficient for them.


1 Answers

There are essentially two resources on TeX itself: one is the TeXbook by Don Knuth, along with the typeset documented sourcecode itself (Vol's A and C of Computers and Typesetting), the other one is Victor Eijkhout's TeX by Topic, which is available for download.

like image 169
Ulrich Schwarz Avatar answered Oct 03 '22 09:10

Ulrich Schwarz