Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download


< >

LaTeX is an open source text markup language created in 1985 by Leslie Lamport.

#96on PLDB 39Years Old

LaTeX (IPA: , LAH-tekh, also pronounced as , LAY-tekh, a shortening of Lamport TeX) is a document preparation system. When writing, the writer uses plain text as opposed to the formatted text found in WYSIWYG word processors like Microsoft Word, LibreOffice Writer and Apple Pages. The writer uses markup tagging conventions to define the general structure of a document (such as article, book, and letter), to stylise text throughout a document (such as bold and italics), and to add citations and cross-references. Read more on Wikipedia...

Example from hello-world:
\documentclass{article} \begin{document} Hello World \end{document}
% Hello World! in LaTeX \documentclass{article} \begin{document} Hello World! \end{document}
Example from Wikipedia:
\documentclass{article} \usepackage{amsmath} \title{\LaTeX} \begin{document} \maketitle \LaTeX{} is a document preparation system for the \TeX{} typesetting program. It offers programmable desktop publishing features and extensive facilities for automating most aspects of typesetting and desktop publishing, including numbering and cross-referencing, tables and figures, page layout, bibliographies, and much more. \LaTeX{} was originally written in 1984 by Leslie Lamport and has become the dominant method for using \TeX; few people write in plain \TeX{} anymore. The current version is \LaTeXe. % This is a comment, not shown in final output. % The following shows typesetting power of LaTeX: \begin{align} E_0 &= mc^2 \\ E &= \frac{mc^2}{\sqrt{1-\frac{v^2}{c^2}}} \end{align} \end{document}

Language features

Feature Supported Token Example
Line Comments %
% A comment
Case Insensitive Identifiers X
Semantic Indentation X
MultiLine Comments X

View source

- Build the next great programming language · About · Resources · Acknowledgements · Part of the World Wide Scroll