e01.org

TeX

TeX ( ), stylized as , is a free and open source software typesetting program that was designed and written by computer scientist and Stanford University professor Donald Knuth and first released in 1978. The term now refers to the system of extensions – which includes software programs called TeX engines, sets of TeX macros, and packages which provide extra typesetting functionality – built around the original TeX language. TeX is a popular means of typesetting complex mathematical formulae; it has been noted as one of the most sophisticated digital typographical systems. TeX is widely used in academia, especially in mathematics, computer science, economics, political science, engineering, linguistics, physics, statistics, and quantitative psychology. It has long since displaced Unix troff (the previously favored formatting system) in most Unix installations (although troff still remains as the default formatter of the UNIX documentation). It is also used for many other...

TeX ( ), stylized as , is a free and open source software typesetting program that was designed and written by computer scientist and Stanford University professor Donald Knuth and first released in 1978. The term now refers to the system of extensions – which includes software programs called TeX engines, sets of TeX macros, and packages which provide extra typesetting functionality – built around the original TeX language. TeX is a popular means of typesetting complex mathematical formulae; it has been noted as one of the most sophisticated digital typographical systems. TeX is widely used in academia, especially in mathematics, computer science, economics, political science, engineering, linguistics, physics, statistics, and quantitative psychology. It has long since displaced Unix troff (the previously favored formatting system) in most Unix installations (although troff still remains as the default formatter of the UNIX documentation). It is also used for many other typesetting tasks, especially as the basis for LaTeX, ConTeXt, and other macro packages. TeX was designed with two main goals in mind: to allow anybody to produce high-quality books with minimal effort, and to provide a system that would give exactly the same results on all computers, at any point in time (together with the Metafont language for font description and the Computer Modern family of typefaces). TeX is free software, which made it accessible to a wide range of users. Hello, World \bye % marks the end of the file; not shown in the final output This might be in a file myfile.tex, as .tex is a common file extension for plain TeX files. By default, everything that follows a percent sign on a line is a comment, ignored by TeX. Running TeX on this file (for example, by typing tex myfile.tex in a command-line interpreter, or by calling it from a graphical user interface) will create an output file called myfile.dvi, representing the content of the page in a device independent format (DVI). A DVI file could then be either viewed on screen or converted to a suitable format for any of the various printers for which a device driver existed (printer support was generally not an operating system feature at the time that TeX was created). Knuth has said that there is nothing inherent in TeX that requires DVI as the output format, and later versions of TeX, notably pdfTeX, XeTeX, and LuaTeX, all support output directly to PDF. TeX provides a different text syntax specifically for mathematical formulas. For example, the quadratic formula (which is the solution of the quadratic equation) appears as: The formula is printed in a way a person would write by hand, or typeset the equation. In a document, entering mathematics mode is done by starting with a $ symbol, then entering a formula in TeX syntax, and closing again with another of the same symbol. Knuth explained in jest that he chose the dollar sign to indicate the beginning and end of mathematical mode in plain TeX because typesetting mathematics was traditionally supposed to be expensive. Display mathematics (mathematics presented centred on a new line) is similar but uses $$ instead of a single $ symbol. For example, the above with the quadratic formula in display math:

References

  1. ^ "CTAN" . Retrieved 23 December 2025 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  2. ^ Knuth, Donald E. Knuth meets NTG members , NTG: MAPS. 16 (1996), 38–49. Reprinted as Questions and Answers, III , chapter 33 of Digital Typography , p. 648. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  3. ^ Knuth, Donald E. The New Versions of TeX and METAFONT , TUGboat 10 (1989), 325–328; 11 (1990), 12. Reprinted as chapter 29 of Digital Typography . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  4. ^ Hoenig, Alan (1998). TeX Unbound: LaTeX & TeX Strategies for Fonts, Graphics, & More . Oxford University Press. ISBN 978-0-19-509686-6 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  5. ^ "TeX 21 release" . Retrieved 5 January 2022 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  6. ^ Knuth, Donald E. The future of TeX and METAFONT , NTG journal MAPS (1990), 489. Reprinted as chapter 30 of Digital Typography , p. 571. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  7. ^ Knuth, Donald E. The TeXbook , Ch. 1: The Name of the Game, p. 1. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  8. ^ Knuth, Donald E. The TeX Logo in Various Fonts , TUGboat 7 (1986), 101. Reprinted as chapter 6 of Digital Typography . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  9. ^ Jeffrey, Alan (1990), "Lists in TeX's Mouth" (PDF) , TUGboat , 11 (2): 237– 45 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  10. ^ "CTAN: Package pdftex" . ctan.org . Retrieved 21 July 2019 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  11. ^ "Per Bothner (attendee at TeX Project meetings) discusses authorship" . Knuth definitely wrote most of the code himself, at least for the Metafont re-write, for which I have pe[r]sonal knowledge. However, some of his students (such as Michael Plass and John Hobby) did work on the algorithms used in TeX and Metafont. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  12. ^ Plain TeX (source code), CTAN, archived from the original on 9 May 2021 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  13. ^ "What are the AMS packages (amsmath, etc.)?" . The TeX FAQ . 27 May 2018. Archived from the original on 28 April 2019 . Retrieved 21 July 2019 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  14. ^ Slater, Robert (1989), Portraits in Silicon , MIT Press, p. 349, ISBN 9780262691314 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  15. ^ Syropoulos, Apostolos; Tsolomitis, Antonis; Sofroniou, Nick (2003), Digital Typography Using LaTeX , Springer, p. 93, ISBN 9780387952178 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  16. ^ Knuth, Donald E (1996). "Questions and Answers II". TUGboat . 17 : 355– 367. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  17. ^ Knuth, Donald E. Typesetting Concrete Mathematics , TUGboat 10 (1989), pp. 31–36, 342. Reprinted as chapter 18 of Digital Typography , pp. 367–378. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  18. ^ Vieth, Ulrik. "Math typesetting in TEX: The good, the bad, the ugly" (PDF) . Archived from the original (PDF) on 20 January 2022. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  19. ^ "High-Quality Editing and Display of Mathematical Text in Office 2007" . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  20. ^ Yannis Haralambous. Fonts & Encodings (Translated by P. Scott Horne) . Beijing; Sebastopol, Calif: O'Reilly Media, 2007, pp. 235. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  21. ^ "LineServices" . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  22. ^ "Map" (PDF) . ntg.nl . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  23. ^ Barnett, Michael P (1965), Computer Typesetting: Experiments and Prospects , Cambridge , MA : MIT Press Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  24. ^ url= http://svn.tug.org/interviews/plass.html Archived 13 September 2024 at the Wayback Machine Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  25. ^ "Donald E. Knuth" , TUGboat (interview), 21 , Advogato : 103– 10, 2000, archived from the original on 22 January 2009 , retrieved 26 December 2005 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  26. ^ "4.1 fmt: Reformat paragraph text" , Core GNU utilities (GNU coreutils) manual , GNU Project, 2016, archived from the original on 12 October 2025 , retrieved 4 April 2016 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  27. ^ "Appendix H: Hyphenation", The TeXbook , pp. 449– 55 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  28. ^ Gaudeul, Alexia (2006). "Do Open Source Developers Respond to Competition?: The (La)TeX Case Study" . SSRN Electronic Journal . doi : 10.2139/ssrn.908946 . ISSN 1556-5068 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  29. ^ Knuth, Donald E (1996), "Questions and Answers I", TUGboat , 17 : 7– 22 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  30. ^ Knuth, Donald E (1996), "Questions and Answers II", TUGboat , 17 : 355– 367 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  31. ^ "Helpful LaTeX Packages for Chemistry | Computational Chemistry Resources" . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  32. ^ O'Connell, Heath (2002). "Physicists Thriving with Paperless Publishing". Hep Lib.web . 6 : 3. arXiv : physics/0007040 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  33. ^ Knuth, Donald E. List of updates to the TeX82 listing published in September 1982 , available on CTAN . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  34. ^ Knuth, Donald E. Appendix to the Errors of TeX paper , available on CTAN, last modified in January 2003. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  35. ^ Knuth, Donald E. "Knuth: Frequently Asked Questions" . Stanford Computer Science . Archived from the original on 6 March 2008 . Retrieved 28 November 2019 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  36. ^ Knuth, Donald E. "Less brief biography" . Don Knuth's Home Page . Archived from the original on 5 December 2016 . Retrieved 9 January 2017 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  37. ^ Kara Platoni (May–June 2006). "Love at First Byte" . Stanford Magazine . Archived from the original on 4 June 2006. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  38. ^ "History of TeX" . TeX Users Group . Retrieved 28 November 2019 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  39. ^ Knuth, Donald E (2008). "Knuth: Recent News – Financial Fiasco" . Stanford Computer Science . Archived from the original on 29 November 2019 . Retrieved 29 November 2019 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  40. ^ Knuth, Donald E. (1986). "Remarks to Celebrate the Publication of Computers & Typesetting" (PDF) . TUGboat . 7 (2): 95– 98 . Retrieved 6 December 2024 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  41. ^ Knuth, Donald E. (1990). "The Future of TeX and METAFONT" (PDF) . TUGboat . 11 (4): 489 . Retrieved 6 December 2024 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  42. ^ Knuth, Donald Ervin (1 November 1997). "Digital Typography: 1996 Kyoto Prize Lecture" (PDF) . Kyoto Prize . The Inamori Foundation . Retrieved 6 December 2024 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  43. ^ "Trip", CTAN (source code), archived from the original (TeX) on 12 June 2021 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  44. ^ Knuth, Donald E (1986), TeX: The Program , Computers and Typesetting, vol. B, Reading, MA: Addison-Wesley, ISBN 0-201-13437-3 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  45. ^ Open Source: Technology and Policy by Fadi P. Deek, James A. M. McHugh "Public domain", page 227 (2008) Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  46. ^ "TeX Engine development" . The TeX FAQ . 24 May 2018. Archived from the original on 28 April 2019 . Retrieved 21 July 2019 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  47. ^ "The Communications of the TeX Users Group" . tug.org . TeX Users Group . Retrieved 15 March 2019 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  48. ^ "All TeX User Groups" . tug.org . TeX Users Group . Retrieved 17 November 2019 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  49. ^ Vim-LaTex , SourceForge, archived from the original on 8 March 2024 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  50. ^ Automatic TeX plugin , Launch pad [ permanent dead link ] Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  51. ^ TeX-9 , Vim.org Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  52. ^ TexMaths Homepage , free.fr Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  53. ^ iMath , SourceForge Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  54. ^ Knuth, Donald Ervin, TEXDR.AFT , archived from the original on 12 January 2015 Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  55. ^ This article is based on material taken from TeX at the Free On-line Dictionary of Computing prior to 1 November 2008 and incorporated under the "relicensing" terms of the GFDL , version 1.3 or later. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  56. ^ a b "What is the future of TeX?" . The TeX FAQ . 27 May 2018. Archived from the original on 28 April 2019 . Retrieved 21 July 2019 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  57. ^ a b c Knuth, Donald E. (1999). Digital Typography . Stanford, Calif: Center for the Study of Language and Information Publications. ISBN 978-1-57586-010-7 . Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  58. ^ Beebe 2004 , p. 10. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  59. ^ Knuth 1984 , p. 127, Ch. 16: Typing Math Formulas. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
  60. ^ Knuth 1984 , p. 9. Wikipedia revision 1377201099, retrieved 2026-11-21 · 1795215600.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"TeX". 1790574035. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1377201099

JSON record · API collection · citation policy