Nepedia
Back to Discover
Fluent Reader
💻

TeX

technology Maturity 11-13 war conflict Next article →

This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

TeX is a special computer program used for typesetting. Typesetting is the way text and images are arranged on a page.

Logo TUG
Logo TUG

This program is very important for making books look professional. It is famous for handling complex math formulas beautifully. Many scientists and teachers use it every day. It is used in fields like physics, math, and even linguistics. Because it is free software, anyone can use it to make high-quality documents.

LaTeX sample
LaTeX sample

To make a page, TeX follows a specific set of steps. First, it reads the characters from an input file. It assigns a category code to every single character. Next, it looks for commands that start with a backslash. It swaps these commands for the actual text they represent. Then, it builds paragraphs by finding the best places to break lines.

AMS Euler sample math
AMS Euler sample math

Finally, it organizes the lines into pages. It knows the exact size of every symbol to make sure everything fits perfectly. This creates a file that can be sent to a printer.

Donald Knuth, a professor at Stanford University, created TeX.

Logo TUG
Logo TUG

He wanted to build it because he was unhappy with digital printing. In 1976, he published a new edition of his book, The Art of Computer Programming. The new version used a different printing method than the old one. Knuth found that the new printed pages did not look as good as the old ones. He decided to design his own system to fix this. He wrote a memo about his plan in May 1977. He released the first version, called TeX78, in 1978.

TeX has changed many times since it first started. In 1982, a new version called TeX82 was released. This version included a real programming language. Later, in 1990, version 3.0 was released to help with foreign languages. This version allowed for more different characters.

LaTeX sample
LaTeX sample

TeX uses a very strange way to name its versions. The numbers look like the digits of Pi, which is 3.14159... The current version is 3.141592653. Knuth wants the system to stay stable and never change its main design. He believes it is better to have a system that always works the same way.

Most people do not use the basic TeX commands directly. Instead, they use larger sets of tools built on top of it. One very popular version is called LaTeX.

LaTeX sample
LaTeX sample

It was made by Leslie Lamport to help people write books and letters more easily. Another version is called AMS-TeX, which is used by the American Mathematical Society. These tools make it much easier to use TeX for everyday tasks. You can think of TeX as the engine of a car. LaTeX and other packages are like the steering wheel and seats that make the car easy to drive.

459 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:AMS Euler sample math.svg
AMS Euler sample math.svg
File:LaTeX sample.png
LaTeX sample.png
File:Logo TUG.svg
Logo TUG.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.