Questions Columns Rows
GitHub icon

Tex

Tex - Programming language

< >

Tex is an open source programming language created in 1978 by Donald Knuth.

#130on PLDB 45Years Old 249kRepos

Try now: Web

TeX ( or , see below), stylized within the system as TeX, is a typesetting system (or "formatting system") designed and mostly written by Donald Knuth and released in 1978. Together with the Metafont language for font description and the Computer Modern family of typefaces, TeX was designed with two main goals in mind: to allow anybody to produce high-quality books using minimal effort, and to provide a system that would give exactly the same results on all computers, at any point in time. TeX is free software, which made it accessible to a wide range of users. Read more on Wikipedia...


Example from hello-world:
Hello World \bye
% Hello World in plain \TeX \immediate\write16{Hello World!} \end
Example from Linguist:
\ProvidesFile{verbose.bbx} [\abx@bbxid] \RequireBibliographyStyle{authortitle} \endinput
Example from Wikipedia:
The quadratic formula is $$-b \pm \sqrt{b^2 - 4ac} \over 2a$$ \bye

Language features

Feature Supported Token Example
Fixed Point Numbers
Comments
% A comment
Line Comments %
% A comment
Semantic Indentation X
MultiLine Comments X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Stats · Sponsor · Traffic · Traffic Today · Day 278 · feedback@pldb.com · Logout