TeX

TeX (/tɛx, tɛk/, see below), stylized within the system as TeX, is a typesetting system (or "formatting system") which was designed and mostly written by Donald Knuth[1] and released in 1978. TeX is a popular means of typesetting complex mathematical formulae; it has been noted as one of the most sophisticated digital typographical systems.[2]

TeX is popular in academia, especially in mathematics, computer science, economics, engineering, linguistics, physics, statistics, and quantitative psychology. It has largely displaced Unix troff, the other favored formatting system, in many Unix installations, which use both for different purposes. It is also used for many other typesetting tasks, especially in the form of LaTeX, ConTeXt, and other macro packages.

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 (together with the Metafont language for font description and the Computer Modern family of typefaces)[3] TeX is free software, which made it accessible to a wide range of users.

TeX
The TeX logo
Developer(s)Donald Knuth
Initial release1978
Stable release
3.14159265 / January 2014
Written inWEB/Pascal
Operating systemCross-platform
TypeTypesetting
LicensePermissive free software
Websitetug.org
TeX
Filename extension.tex
Internet media typeapplication/x-tex [Note 1]
Initial release1978
Type of formatDocument file format

History

When the first paper volume of Donald Knuth's The Art of Computer Programming was published in 1968,[4] it was typeset using hot metal typesetting set by a Monotype machine. This method, dating back to the 19th century, produced a "classic style" appreciated by Knuth.[5] When the second edition was published, in 1976, the whole book had to be typeset again because the Monotype technology had been largely replaced by phototypesetting, and the original fonts were no longer available. When Knuth received the galley proofs of the new book on 30 March 1977, he found them inferior.

Disappointed by the galley proofs of the second edition of the second volume, he was motivated to design his own typesetting system. Knuth saw for the first time the output of a high-quality digital typesetting system, and became interested in digital typography. On 13 May 1977, he wrote a memo to himself describing the basic features of TeX.[6]

He planned to finish it on his sabbatical in 1978, but as it happened the language was not "frozen" (ready to use) until 1989, more than ten years later. Guy Steele happened to be at Stanford during the summer of 1978, when Knuth was developing his first version of TeX. When Steele returned to the Massachusetts Institute of Technology that autumn, he rewrote TeX's input/output (I/O) to run under the Incompatible Timesharing System (ITS) operating system. The first version of TeX was written in the SAIL programming language to run on a PDP-10 under Stanford's WAITS operating system.

WEB and literate programming

For later versions of TeX, Knuth invented the concept of literate programming, a way of producing compilable source code and cross-linked documentation typeset in TeX from the same original file. The language used is called WEB and produces programs in DEC PDP-10 Pascal.

TeX82

A new version of TeX, rewritten from scratch and called TeX82, was published in 1982. Among other changes, the original hyphenation algorithm was replaced by a new algorithm written by Frank Liang. TeX82 also uses fixed-point arithmetic instead of floating-point, to ensure reproducibility of the results across different computer hardware,[7] and includes a real, Turing-complete programming language, following intense lobbying by Guy Steele.[8] In 1989, Donald Knuth released new versions of TeX and Metafont.[9] Despite his desire to keep the program stable, Knuth realised that 128 different characters for the text input were not enough to accommodate foreign languages; the main change in version 3.0 of TeX is thus the ability to work with 8-bit inputs, allowing 256 different characters in the text input.

Since version 3, TeX has used an idiosyncratic version numbering system, where updates have been indicated by adding an extra digit at the end of the decimal, so that the version number asymptotically approaches π. This is a reflection of the fact that TeX is now very stable, and only minor updates are anticipated. The current version of TeX is 3.14159265; it was last updated 2014-01-12.[10] The design was frozen after version 3.0, and no new feature or fundamental change will be added, so all newer versions will contain only bug fixes. Even though Donald Knuth himself has suggested a few areas in which TeX could have been improved, he indicated that he firmly believes that having an unchanged system that will produce the same output now and in the future is more important than introducing new features. For this reason, he has stated that the "absolutely final change (to be made after my death)" will be to change the version number to π, at which point all remaining bugs will become features.[11] Likewise, versions of METAFONT after 2.0 asymptotically approach e, and a similar change will be applied after Knuth's death.

Public domain

Since the source code of TeX is essentially in the public domain (see below), other programmers are allowed (and explicitly encouraged) to improve the system, but are required to use another name to distribute the modified TeX, meaning that the source code can still evolve. For example, the Omega project was developed after 1991, primarily to enhance TeX's multilingual typesetting abilities. Knuth created "unofficial" modified versions, such as TeX-XeT, which allows a user to mix texts written in left-to-right and right-to-left writing systems in the same document.[12]

Use of TeX

In several technical fields, in particular, computer science, mathematics, engineering, and physics, TeX has become a de facto standard. Many thousands of books have been published using TeX, including books published by Addison-Wesley, Cambridge University Press, Elsevier, Oxford University Press and Springer. Numerous journals in these fields are produced using TeX or LaTeX, allowing authors to submit their raw manuscript written in TeX.[13] While many publications in other fields, including dictionaries and legal publications, have been produced using TeX, it has not been as successful as in more technical fields, because TeX was primarily designed for mathematics.

When he designed TeX, Donald Knuth did not believe that a single typesetting system would fit everyone's needs; instead, he designed many hooks inside the program so that it would be possible to write extensions, and released the source code, hoping that publishers would design versions tailored to their needs. While such extensions have been created (including some by Knuth himself[14]), most people have extended TeX only using macros and it has remained a system associated with technical typesetting.[15][16]

Typesetting system

TeX commands commonly start with a backslash and are grouped with curly braces. Almost all of TeX's syntactic properties can be changed on the fly, which makes TeX input hard to parse by anything but TeX itself. TeX is a macro- and token-based language: many commands, including most user-defined ones, are expanded on the fly until only unexpandable tokens remain, which are then executed. Expansion itself is practically free from side effects. Tail recursion of macros takes no memory, and if-then-else constructs are available. This makes TeX a Turing-complete language even at the expansion level.[17] The system can be divided into four levels: in the first, characters are read from the input file and assigned a category code (sometimes called "catcode", for short). Combinations of a backslash (actually, any character of category zero) followed by letters (characters of category 11) or a single other character are replaced by a control-sequence token. In this sense, this stage is like lexical analysis, although it does not form numbers from digits. In the next stage, expandable control sequences (such as conditionals or defined macros) are replaced by their replacement text. The input for the third stage is then a stream of characters (including ones with special meaning) and unexpandable control sequences (typically assignments and visual commands). Here characters get assembled into a paragraph. TeX's paragraph breaking algorithm works by optimizing breakpoints over the whole paragraph. The fourth stage breaks the vertical list of lines and other material into pages.

The TeX system has precise knowledge of the sizes of all characters and symbols, and using this information, it computes the optimal arrangement of letters per line and lines per page. It then produces a DVI file ("DeVice Independent") containing the final locations of all characters. This dvi file can be printed directly given an appropriate printer driver, or it can be converted to other formats. Nowadays, pdfTeX is often used, which bypasses DVI generation altogether. The base TeX system understands about 300 commands, called primitives.[18] These low-level commands are rarely used directly by users, and most functionality is provided by format files (predumped memory images of TeX after large macro collections have been loaded). Knuth's original default format, which adds about 600 commands, is Plain TeX.[19] The most widely used format is LaTeX, originally developed by Leslie Lamport, which incorporates document styles for books, letters, slides, etc., and adds support for referencing and automatic numbering of sections and equations. Another widely used format, AMS-TeX, is produced by the American Mathematical Society and provides many more user-friendly commands, which can be altered by journals to fit with their house style. Most of the features of AMS-TeX can be used in LaTeX by using the AMS "packages". This is then referred to as AMS-LaTeX. Other formats include ConTeXt, used primarily for desktop publishing and written mostly by Hans Hagen at Pragma.

How it is run

LaTeX sample
A sample page produced using TeX with the LaTeX macros

A sample Hello world program in plain TeX is:

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 either be 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.

Mathematical example

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:

Markup Renders as
The quadratic formula is $-b \pm \sqrt{b^2 - 4ac} \over 2a$
\bye

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.[20] Display mathematics (mathematics presented centered on a new line) is similar but uses $$ instead of a single $ symbol. For example, the above with the quadratic formula in display math:

Markup Renders as
The quadratic formula is $$-b \pm \sqrt{b^2 - 4ac} \over 2a$$
\bye

Aspects

The TeX software incorporates several aspects that were not available, or were of lower quality, in other typesetting programs at the time when TeX was released. Some of the innovations are based on interesting algorithms, and have led to several theses for Knuth's students. While some of these discoveries have now been incorporated into other typesetting programs, others, such as the rules for mathematical spacing, are still unique.

Mathematical spacing

AMS Euler sample math
Mathematical text typeset using TeX and the AMS Euler font

Since the primary goal of the TeX language is high-quality typesetting for publishers of books, Knuth gave a lot of attention to the spacing rules for mathematical formulae.[21][22] He took three bodies of work that he considered to be standards of excellence for mathematical typography: the books typeset by Addison-Wesley Publishing's house (the publisher of The Art of Computer Programming), in particular the work of Hans Wolf and Joseph Louis Lagrange (thermodynamics innovation, +1856); editions of the mathematical journal Acta Mathematica dating from around 1910; and a copy of Indagationes Mathematicae, a Dutch mathematics journal. Knuth looked closely at these printed papers to sort out and look for a set of rules for spacing.[23] While TeX provides some basic rules and the tools needed to specify proper spacing, the exact parameters depend on the font used to typeset the formula. For example, the spacing for Knuth's Computer Modern fonts has been precisely fine-tuned over the years and is now set; but when other fonts, such as AMS Euler, were used by Knuth for the first time, new spacing parameters had to be defined.[24]

The typesetting of Math in TeX is not without criticism, particularly with respect to technical details of the font metrics, which were designed in an era when significant attention was paid to storage requirements. This resulted in some "hacks" overloading some fields, which in turn required other "hacks". On an aesthetics level, the rendering of radicals has also been criticized.[25] The OpenType math font specification largely borrows from TeX, but has some new features/enhancements.[26][27][28]

Hyphenation and justification

In comparison with manual typesetting, the problem of justification is easy to solve with a digital system such as TeX, which, provided that good points for line breaking have been defined, can automatically spread the spaces between words to fill in the line. The problem is thus to find the set of breakpoints that will give the most visually pleasing result. Many line breaking algorithms use a first-fit approach, where the breakpoints for each line are determined one after the other, and no breakpoint is changed after it has been chosen.[29] Such a system is not able to define a breakpoint depending on the effect that it will have on the following lines. In comparison, the total-fit line breaking algorithm used by TeX and developed by Donald Knuth and Michael Plass considers all the possible breakpoints in a paragraph, and finds the combination of line breaks that will produce the most globally pleasing arrangement.

Formally, the algorithm defines a value called badness associated with each possible line break; the badness is increased if the spaces on the line must stretch or shrink too much to make the line the correct width. Penalties are added if a breakpoint is particularly undesirable: for example, if a word must be hyphenated, if two lines in a row are hyphenated, or if a very loose line is immediately followed by a very tight line. The algorithm will then find the breakpoints that will minimize the sum of squares of the badness (including penalties) of the resulting lines. If the paragraph contains possible breakpoints, the number of situations that must be evaluated naively is . However, by using the method of dynamic programming, the complexity of the algorithm can be brought down to (see Big O notation). Further simplifications (for example, not testing extremely unlikely breakpoints such as a hyphenation in the first word of a paragraph, or very overfull lines) lead to an efficient algorithm whose running time is , where is the width of a line. A similar algorithm is used to determine the best way to break paragraphs across two pages, in order to avoid widows or orphans (lines that appear alone on a page while the rest of the paragraph is on the following or preceding page). However, in general, a thesis by Michael Plass shows how the page breaking problem can be NP-complete because of the added complication of placing figures.[30] TeX's line breaking algorithm has been adopted by several other programs, such as Adobe InDesign (a desktop publishing application)[31] and the GNU fmt Unix command line utility.[32]

If no suitable line break can be found for a line, the system will try to hyphenate a word. The original version of TeX used a hyphenation algorithm based on a set of rules for the removal of prefixes and suffixes of words, and for deciding if it should insert a break between the two consonants in a pattern of the form vowelconsonantconsonantvowel (which is possible most of the time).[33] TeX82 introduced a new hyphenation algorithm, designed by Frank Liang in 1983, to assign priorities to breakpoints in letter groups. A list of hyphenation patterns is first generated automatically from a corpus of hyphenated words (a list of 50,000 words). If TeX must find the acceptable hyphenation positions in the word encyclopedia, for example, it will consider all the subwords of the extended word .encyclopedia., where . is a special marker to indicate the beginning or end of the word. The list of subwords includes all the subwords of length 1 (., e, n, c, y, etc.), of length 2 (.e, en, nc, etc.), etc., up to the subword of length 14, which is the word itself, including the markers. TeX will then look into its list of hyphenation patterns, and find subwords for which it has calculated the desirability of hyphenation at each position. In the case of our word, 11 such patterns can be matched, namely 1c4l4, 1cy, 1d4i3a, 4edi, e3dia, 2i1a, ope5d, 2p2ed, 3pedi, pedia4, y1c. For each position in the word, TeX will calculate the maximum value obtained among all matching patterns, yielding en1cy1c4l4o3p4e5d4i3a4. Finally, the acceptable positions are those indicated by an odd number, yielding the acceptable hyphenations en-cy-clo-pe-di-a. This system based on subwords allows the definition of very general patterns (such as 2i1a), with low indicative numbers (either odd or even), which can then be superseded by more specific patterns (such as 1d4i3a) if necessary. These patterns find about 90% of the hyphens in the original dictionary; more importantly, they do not insert any spurious hyphen. In addition, a list of exceptions (words for which the patterns do not predict the correct hyphenation) are included with the Plain TeX format; additional ones can be specified by the user.[34][35]

Metafont

Metafont, not strictly part of TeX, is a font description system which allows the designer to describe characters algorithmically. It uses Bézier curves in a fairly standard way to generate the actual characters to be displayed, but Knuth devotes substantial attention to the rasterizing problem on bitmapped displays. Another thesis, by John Hobby, further explores this problem of digitizing "brush trajectories". This term derives from the fact that Metafont describes characters as having been drawn by abstract brushes (and erasers). It is commonly believed that TeX is based on bitmap fonts but, in fact, these programs "know" nothing about the fonts that they are using other than their dimensions. It is the responsibility of the device driver to appropriately handle fonts of other types, including PostScript Type 1 and TrueType. Computer Modern (commonly known as "the TeX font") is freely available in Type 1 format, as are the AMS math fonts. Users of TeX systems that output directly to PDF, such as pdfTeX, XeTeX, or LuaTeX, generally never use Metafont output at all.

Macro language

TeX documents are written and programmed using an unusual macro language. Broadly speaking, the running of this macro language involves expansion and execution stages which do not interact directly. Expansion includes both literal expansion of macro definitions as well as conditional branching, and execution involves such tasks as setting variables/registers and the actual typesetting process of adding glyphs to boxes.

The definition of a macro not only includes a list of commands but also the syntax of the call. It differs with most widely used lexical preprocessors like M4, in that the body of a macro gets tokenized at definition time.

The TeX macro language has been used to write larger document production systems most notably including LaTeX and ConTeXt.

Development

The original source code for the current TeX software is written in WEB, a mixture of documentation written in TeX and a Pascal subset in order to ensure portability. For example, TeX does all of its dynamic allocation itself from fixed-size arrays and uses only fixed-point arithmetic for its internal calculations. As a result, TeX has been ported to almost all operating systems, usually by using the web2c program to convert the source code into C instead of directly compiling the Pascal code. Knuth has kept a very detailed log of all the bugs he has corrected and changes he has made in the program since 1982; as of 2008, the list contains 427 entries, not including the version modification that should be done after his death as the final change in TeX.[36][37] Donald Knuth offers monetary awards to people who find and report a bug in TeX. The award per bug started at US$2.56 (one "hexadecimal dollar"[38]) and doubled every year until it was frozen at its current value of $327.68. Knuth has lost relatively little money as there have been very few bugs claimed. In addition, recipients have been known to frame their check as proof that they found a bug in TeX rather than cashing it.[39][40] Due to scammers finding scanned copies of his checks on the internet and using them to try to drain his bank account, Knuth no longer sends out real checks, but those who submit bug reports can get credit at The Bank of San Serriffe instead.[41]

Distributions and extensions

TeX is usually provided in the form of an easy-to-install bundle of TeX itself along with Metafont and all the necessary fonts, documents formats, and utilities needed to use the typesetting system. On UNIX-compatible systems, including Linux and Apple macOS, TeX is distributed as part of the larger TeX Live distribution. (Prior to TeX Live, the teTeX distribution was the de facto standard on UNIX-compatible systems.) On Microsoft Windows, there is the MiKTeX distribution (enhanced by proTeXt) and the Microsoft Windows version of TeX Live.

Several document processing systems are based on TeX, notably jadeTeX, which uses TeX as a backend for printing from James Clark's DSSSL Engine, the Arbortext publishing system, and Texinfo, the GNU documentation processing system. TeX has been the official typesetting package for the GNU operating system since 1984.

Numerous extensions and companion programs for TeX exist, among them BibTeX for bibliographies (distributed with LaTeX), pdfTeX, a TeX-compatible engine which bypasses dvi and produces output in Adobe Systems's Portable Document Format, XeTeX, an TeX-compatible engine that supports Unicode and OpenType, and LuaTeX, an Unicode-aware extension to TeX that includes a Lua runtime with extensive hooks into the underlying TeX routines and algorithms. Most TeX extensions are available for free from CTAN, the Comprehensive TeX Archive Network.

Editors

There are a variety of editors designed to work with TeX:

  1. The TeXmacs text editor is a WYSIWYW scientific text editor, inspired by both TeX and Emacs. It uses Knuth's fonts and can generate TeX output.
  2. LyX is a WYSIWYM document processor which runs on a variety of platforms including:
    1. Linux,
    2. Microsoft Windows (newer versions require Windows 2000 or later)
    3. Apple Mac OS X (using a non-native Qt front-end).
  3. TeXShop (for Mac OS X), TeXworks (for Linux, Mac OS X and Windows) and WinShell (for Windows) are similar tools and provide an integrated development environment (IDE) for working with LaTeX or TeX. For KDE/Qt, Kile provides such an IDE.
  4. Texmaker is the Pure Qt equivalent of Kile, with a user interface that is nearly the same as Kile's.
  5. TeXstudio is an open-source fork (2009) of Texmaker that offers a different approach to configurability and features. Free downloadable binaries are provided for Windows, Linux, Mac OS X, OS/2, and FreeBSD.
  6. GNU Emacs has various built-in and third-party packages with support for TeX, the major one being AUCTeX.
  7. For Vim, possible plugins include Vim-LaTeX Suite,[42] Automatic TeX[43] and TeX-9.[44]
  8. For Google Docs, Auto-Latex Equations is a Google Docs add-on that provides mathematical TeX typesetting (MathJax supported).
  9. For Apache OpenOffice and LibreOffice, iMath and TexMaths extensions can provides mathematical TeX typesetting.[45][46]

License

Donald Knuth has indicated several times[47][48][49] that the source code of TeX has been placed into the "public domain", and he strongly encourages modifications or experimentations with this source code. In particular, since Knuth highly values the reproducibility of the output of all versions of TeX, any changed version must not be called TeX, or anything confusingly similar. To enforce this rule, any implementation of the system must pass a test suite called the TRIP test[50] before being allowed to be called TeX. The question of license is somewhat confused by the statements included at the beginning of the TeX source code,[51] which indicate that "all rights are reserved. Copying of this file is authorized only if ... you make absolutely no changes to your copy". This restriction should be interpreted as a prohibition to change the source code as long as the file is called tex.web. This interpretation is confirmed later in the source code when the TRIP test is mentioned ("If this program is changed, the resulting system should not be called 'TeX'").[52] The American Mathematical Society tried in the early 1980s to claim a trademark for TeX. This was rejected because at the time "TEX" (all caps) was registered by Honeywell for the "Text EXecutive" text processing system.

XML publication

It is possible to use TeX for automatic generation of sophisticated layout for XML data. The differences in syntax between the two description languages can be overcome with the help of TeXML. In the context of XML publication, TeX can thus be considered an alternative to XSL-FO. TeX allowed scientific papers in mathematical disciplines to be reduced to relatively small files that could be rendered client-side, allowing fully typeset scientific papers to be exchanged over the early Internet and emerging World Wide Web, even when sending large files was difficult. This paved the way for the creation of repositories of scientific papers such as arXiv, through which papers could be 'published' without an intermediary publisher.[53]

TeX formulas can be inserted in MediaWiki pages via the Math extension code, surrounding by <math> tag.

Pronunciation and spelling

The name TeX is intended by its developer to be /tɛx/, with the final consonant of loch or Bach.[54] The letters of the name are meant to represent the capital Greek letters tau, epsilon, and chi, as TeX is an abbreviation of τέχνη (ΤΕΧΝΗ – technē), Greek for both "art" and "craft", which is also the root word of technical. English speakers often pronounce it /ˈtɛk/, like the first syllable of technical. Knuth instructs that it be typeset with the "E" below the baseline and reduced spacing between the letters. This is done, as Knuth mentions in his TeXbook, to distinguish TeX from other system names such as TEX, the Text EXecutive processor (developed by Honeywell Information Systems).[55] Fans like to proliferate names from the word "TeX"—such as TeXnician (user of TeX software), TeXhacker (TeX programmer), TeXmaster (competent TeX programmer), TeXhax, and TeXnique.[56]

Community

Logo TUG
TeX Users Group's logo

Notable entities in the TeX community include the TeX Users Group, which publishes TUGboat and The PracTeX Journal, covering a wide range of topics in digital typography relevant to TeX. The Deutschsprachige Anwendervereinigung TeX is a large user group in Germany. The TeX Users Group was founded in 1980 for educational and scientific purposes, provides an organization for those who have an interest in typography and font design, and are users of the TeX typesetting system invented by Donald Knuth. The TeX Users Group represents the interests of TeX users worldwide. The TeX Users Group publishes the journal TUGboat three times per year.[57]

Extensions

See also

Notes

  1. ^ Unregistered media type

References

  1. ^ "Per Bothner (assistant of Knuth) 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.
  2. ^ Yannis Haralambous. Fonts & Encodings (Translated by P. Scott Horne). Beijing; Sebastopol, Calif: O’Reilly Media, 2007, pp. 235.
  3. ^ Gaudeul, Alexia (27 March 2006). "Do Open Source Developers Respond to Competition?: The (La)TeX Case Study". SSRN 908946.
  4. ^ Knuth, Donald E. "Less brief biography". Don Knuth's Home Page. Retrieved 9 January 2017.
  5. ^ Knuth, Donald. "Commemorative lecture of the Kyoto Prize, 1996" (PDF). Kyoto Prize. Retrieved 18 August 2018.
  6. ^ Knuth, Donald Ervin, TEXDR.AFT, archived from the original on 12 January 2015
  7. ^ Knuth and Plass, p. 144
  8. ^ Donald E. Knuth, Knuth meets NTG members, NTG: MAPS. 16 (1996), 38–49. Reprinted as Questions and Answers, III, chapter 33 of Digital Typography, p. 648.
  9. ^ Donald E. Knuth. The New Versions of TeX and METAFONT, TUGboat 10 (1989), 325–328; 11 (1990), 12. Reprinted as chapter 29 of Digital Typography.
  10. ^ "TeX 14 release". Retrieved 20 January 2014.
  11. ^ Donald E. Knuth. The future of TeX and METAFONT, NTG journal MAPS (1990), 489. Reprinted as chapter 30 of Digital Typography, p. 571.
  12. ^ Donald E. Knuth and Pierre MacKay. Mixing Right-to-Left Texts with Left-to-Right Texts, TUGboat 8 (1987), 14–25. Reprinted as chapter 4 of Digital Typography.
  13. ^ Beebe, p. 10.
  14. ^ Knuth, Donald Ervin; MacKay, Pierre (1987), "Mixing Right-to-Left Texts with Left-to-Right Texts" (PDF), TUGboat, 8: 14–25. Reprinted as "Chapter 4", Digital Typography
  15. ^ Knuth, Donald Ervin (1996), "Questions and Answers I", TUGboat, 17: 7–22. Reprinted as "Chapter 31", Digital Typography, p. 598
  16. ^ Knuth, Donald Ervin (1996), "Questions and Answers II", TUGboat, 17: 355–67. Reprinted as "Chapter 32", Digital Typography, pp. 616–17
  17. ^ Jeffrey, Alan (1990), "Lists in TeX's Mouth" (PDF), TUGboat, 11 (2): 237–45
  18. ^ Knuth 1984, p. 9.
  19. ^ Plain TeX (source code), CTAN
  20. ^ Knuth 1984, p. 127, Ch. 16: Typing Math Formulas.
  21. ^ Slater, Robert (1989), Portraits in Silicon, MIT Press, p. 349, ISBN 9780262691314
  22. ^ Syropoulos, Apostolos; Tsolomitis, Antonis; Sofroniou, Nick (2003), Digital Typography Using LaTeX, Springer, p. 93, ISBN 9780387952178
  23. ^ Donald E. Knuth. Questions and Answers II, TUGboat 17 (1996), pp. 355–367. Reprinted as chapter 32 of Digital Typography, pp. 620–624.
  24. ^ Donald E. Knuth. Typesetting Concrete Mathematics, TUGboat 10 (1989), pp. 31–36, 342. Reprinted as chapter 18 of Digital Typography, pp. 367–378.
  25. ^ Ulrik Vieth (2001) Math typesetting in TEX: The good, the bad, the ugly
  26. ^ "High-Quality Editing and Display of Mathematical Text in Office 2007".
  27. ^ "LineServices".
  28. ^ "Map" (PDF). www.ntg.nl.
  29. ^ Barnett, Michael P (1965), Computer Typesetting: Experiments and Prospects, Cambridge, MA: MIT Press
  30. ^ Knuth & Plass 1981.
  31. ^ "Donald E. Knuth" (PDF), TUGboat (interview), Advogato, 21: 103–10, 2000
  32. ^ "4.1 fmt: Reformat paragraph text", Core GNU utilities (GNU coreutils) manual, GNU Project, 2016
  33. ^ Liang 1983, p. 3.
  34. ^ Liang 1983.
  35. ^ "Appendix H: Hyphenation", The TeXbook, pp. 449–55
  36. ^ Donald E. Knuth, List of updates to the TeX82 listing published in September 1982, available on CTAN.
  37. ^ Donald E. Knuth, Appendix to the Errors of TeX paper, available on CTAN, last modified in January 2003.
  38. ^ "Frequently Asked Questions". sunburn.stanford.edu/~knuth/. Archived from the original on 10 February 2012.
  39. ^ Kara Platoni, Love at First Byte Archived 25 September 2006 at the Wayback Machine. Stanford Magazine, May–June 2006
  40. ^ The History of TeX
  41. ^ "Knuth: Recent News". www-cs-faculty.stanford.edu.
  42. ^ Vim‐LaTex, SourceForge
  43. ^ Automatic TeX plugin, Launch pad
  44. ^ TeX-9, Vim.org
  45. ^ TexMaths Homepage, free.fr
  46. ^ iMath, SourceForge
  47. ^ "The future of TeX and METAFONT", Digital Typography, p. 572
  48. ^ Knuth, Donald E (1986), "Computers and Typesettings" (PDF), TUGboat, 7: 95–98
  49. ^ "Chapter 28", Digital Typography (PDF), p. 560
  50. ^ "Trip", CTAN (TeX) (source code)
  51. ^ Knuth 1986.
  52. ^ Open Source: Technology and Policy by Fadi P. Deek, James A. M. McHugh "Public domain", page 227 (2008)
  53. ^ O'Connell, Heath (2000). "Physicists Thriving with Paperless Publishing". arXiv:physics/0007040.
  54. ^ Donald E. Knuth, The TeXbook, Ch. 1: The Name of the Game, p. 1.
  55. ^ Donald E. Knuth. The TeX Logo in Various Fonts, TUGboat 7 (1986), 101. Reprinted as chapter 6 of Digital Typography.
  56. ^ "The Jargon File—TeX". Retrieved 23 July 2016.
  57. ^ "The Communications of the TeX Users Group". tug.org. TeX Users Group. Retrieved 15 March 2019.

Sources

  • This article is based on material taken from 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.
  • Beebe, Nelson HF (2004), "25 Years of TeX and METAFONT: Looking Back and Looking Forward" (PDF), TUGboat, 25: 7–30.
  • Knuth, Donald Ervin (1984), The TeXbook, Computers and Typesetting, A, Reading, MA: Addison-Wesley, ISBN 0-201-13448-9. The source code of the book in TeX (and a needed set of macros [1]) is available online on CTAN. It is provided only as an example and its use to prepare a book like The TeXbook is not allowed.
  • ——— (1986), TeX: The Program, Computers and Typesetting, B, Reading, MA: Addison-Wesley, ISBN 0-201-13437-3. The full source code of TeX; also available on CTAN. Being written using literate programming, it contains plenty of human-readable documentation.
  • ——— (1999), Digital Typography, Lecture notes (78), Center for the Study of Language and Information, ISBN 1-57586-010-4.
  • ———; Plass, Michael F (1981), "Breaking Paragraphs Into Lines", Software: Practice and Experience, 11: 1119–84, doi:10.1002/spe.4380111102. Reprinted as "Chapter 3", Digital Typography, pp. 67–155.
  • ———, TeX (source code), archived from the original (WEB) on 27 September 2011 contains extensive documentation about the algorithms used in TeX.
  • Lamport, Leslie (1994), LaTeX: A Document Preparation System (2nd ed.), Reading, MA: Addison-Wesley, ISBN 0-201-52983-1.
  • Liang, Franklin Mark (August 1983), Word Hy-phen-a-tion by Com-put-er (PhD thesis), Department of Computer Science, Stanford University.
  • Salomon, David (1995), The Advanced TeXbook, Springer, ISBN 0-387-94556-3.
  • Spivak, MD (1990), The Joy of TeX (reference) (2nd ed.), American Mathematical Society, ISBN 0-8218-2997-1 on AMS-TeX.
  • Vulis, Michael (1992), Modern TeX and Its Applications, CRC Press, ISBN 0-8493-4431-X.

External links

Ark-La-Tex

The Ark-La-Tex region (a portmanteau of Arkansas, Louisiana, and Texas; also stylized as Arklatex, ArkLaTex, or more inclusively Arklatexoma) is a U.S. socio-economic region where the 4 Southern states of Arkansas, Louisiana, Texas, and Oklahoma abut. The region contains portions of Northwest Louisiana, Northeast Texas, South Arkansas, and the Little Dixie area of Oklahoma. The largest city and center of the region is Shreveport, Louisiana. Other major cities in the Ark-La-Tex include Tyler, Texas, Longview, Texas, Marshall, Texas, and Texarkana.

Most of the Ark-La-Tex is located in the Piney Woods, an ecoregion of dense forests of mixed deciduous and conifer flora. The forests are periodically punctuated by sloughs and bayous that are linked to larger bodies of water such as Caddo Lake or the Red River. The Ark-La-Tex covers roughly 46,500 square miles (120,000 km2) with an estimated 2010 population of 1,043,570.

Carl Edwards

Carl Michael Edwards II (born August 15, 1979) is an American former professional stock car racing driver. He last competed in the NASCAR Sprint Cup Series, driving the No. 19 Toyota Camry for Joe Gibbs Racing. Prior to that, he drove the No. 99 Ford Fusion for Roush Fenway Racing. He won the 2007 NASCAR Busch Series championship and nearly won the 2011 NASCAR Sprint Cup Series title, but lost by a tiebreaker to Tony Stewart. Edwards is well known for doing a backflip off his car to celebrate a victory, which was a result of saving himself from a potential fall when he had his first win.

Franklin, Texas

Franklin is a city and county seat of Robertson County, Texas, United States. As of the 2010 census, the city population was 1,564.

Gore-Tex

Gore-Tex is a waterproof, breathable fabric membrane and registered trademark of W. L. Gore and Associates. Invented in 1969, Gore-Tex can repel liquid water while allowing water vapor to pass through and is designed to be a lightweight, waterproof fabric for all-weather use. It is composed of stretched polytetrafluoroethylene (PTFE), which is more commonly known by the generic trademark Teflon.

Hendrick Motorsports

Hendrick Motorsports (HMS), originally named All Star Racing, is an American professional stock car racing team that currently competes in the Monster Energy NASCAR Cup Series. The team, created in 1984 by Rick Hendrick, is one of stock car racing's premier organizations. As of 2018, Hendrick Motorsports has won twelve Monster Energy Cup Series owners and drivers championships, three Truck Series owners and drivers titles, and one Nationwide Series drivers crown, 252 Monster Energy NASCAR Cup Series victories, 26 Xfinity Series wins, and 26 Camping World Truck Series victories. As of the 2016 season, the team has won a Monster Energy NASCAR Cup Series race on every track on the current circuit – except for Kentucky Speedway, which has only been on the circuit since 2011.Hendrick Motorsports currently fields four full-time Monster Energy Cup Series teams with the Chevrolet Camaro ZL1, including the No. 9 NAPA/Hooters/Mountain Dew/Kelley Blue Book for Chase Elliott, the No. 24 Liberty University/Axalta/UniFirst/Hertz for William Byron, the No. 48 Ally Financial for Jimmie Johnson, and the No. 88 Nationwide Insurance/Axalta Coating Systems/LLumar/Valvoline for Alex Bowman. The team formerly fielded teams in the now-NASCAR Xfinity Series before merging its efforts with JR Motorsports. Hendrick Motorsports also fielded several trucks in the NASCAR Truck Series, most recently for development driver Chase Elliott in 2013. The team has fielded cars in the past for many NASCAR drivers, including Hall of Famers Jeff Gordon, Mark Martin, Terry Labonte, Darrell Waltrip and Benny Parsons and other notables such as Geoff Bodine, Tim Richmond, Ricky Rudd, Ken Schrader, Ricky Craven, Joe Nemechek, Kyle Busch, Casey Mears, Brian Vickers, Kasey Kahne, and Dale Earnhardt Jr.

All Hendrick race cars are constructed start-to-finish at the 100-plus acre Hendrick Motorsports complex in Concord, North Carolina. More than 550 engines are built or re-built on-site each year, with the team leasing some of those to Chip Ganassi Racing (CGR). They currently have a technical alliance with JTG Daugherty Racing. Hendrick Motorsports employs over 500 people that perform many day-to-day activities. Since 1995, Hendrick Motorsports have won 12 NASCAR Premier series championships; a record tying 7 for Jimmie Johnson, 4 for Jeff Gordon and 1 for Terry Labonte.

Jamie McMurray

James Christopher McMurray (born June 3, 1976) is an American former professional stock car racing driver and currently an analyst for Fox NASCAR. He is best known for winning the 2010 Daytona 500 for Chip Ganassi Racing, and is one of only three drivers to win both the Daytona 500 and Brickyard 400 in the same year. He last competed part-time in the Monster Energy NASCAR Cup Series, driving the No. 40 Chevrolet Camaro ZL1 in a one off race for Spire Motorsports.

Kevin Harvick

Kevin Michael Harvick (born December 8, 1975), nicknamed "The Closer”, “The Bridesmaid”, and “Happy Harvick,” is an American professional stock car racing driver. He currently competes full-time in the Monster Energy NASCAR Cup Series, driving the No. 4 Ford Mustang for Stewart-Haas Racing. Harvick is the former owner of Kevin Harvick Incorporated, a race team that fielded cars in the Xfinity and Camping World Truck Series between 2004 and 2011. He is the 2014 NASCAR Sprint Cup Series champion and a two-time Xfinity Series champion. Harvick holds the all-time record for Cup Series wins at Phoenix International Raceway with nine wins. Harvick is also the third winningest driver in Xfinity Series history with 47 wins.Harvick, who began his NASCAR career in 1995, is the third of only five drivers that have won a championship in both the Sprint Cup Series and the Xfinity Series, and the fifth of only thirty-one drivers to win a race in each of NASCAR's three national series with over 100 race wins across three national divisions. Harvick also won the 1998 Winston West Series title with five wins that season.

Kyle Busch

Kyle Thomas Busch (born May 2, 1985), nicknamed Rowdy, is an American professional stock car racing driver and team owner. He currently competes full-time in the Monster Energy NASCAR Cup Series, driving the No. 18 Toyota Camry for Joe Gibbs Racing, part-time in the NASCAR Xfinity Series, driving the No. 18 Toyota Supra for JGR, and part-time in the NASCAR Gander Outdoors Truck Series, driving the No. 51 Toyota Tundra for Kyle Busch Motorsports. KBM runs multiple trucks in the Truck Series and a Super Late Model team. Busch is the 2009 NASCAR Nationwide Series champion and the 2015 NASCAR Sprint Cup Series champion.

Busch is the younger brother of 2004 NASCAR Nextel Cup Series champion Kurt Busch. He also currently holds several records in NASCAR competition, including the most race wins in a season across the top three NASCAR series, with 24 wins, which he accomplished in 2010. He holds the record for most all-time wins in all three of NASCAR's national touring series with 204 (as of April 7, 2019). Furthermore, he holds the record for the most Xfinity Series wins in a season with 13 in 2010, and the most overall with 95. Busch also holds the record for most overall wins in the Gander Outdoor Truck Series with 55. As of 2019, he is the only driver in history to have 50+ wins in NASCAR's top 3 series.

At age 19 years and 317 days, Busch became NASCAR's youngest ever pole winner in a Cup Series race at California Speedway in 2005. He's the youngest driver to qualify for the Chase for the Sprint Cup, in 2006. Furthermore, Busch became the first driver to win a race and a championship in a Toyota in the Monster Energy NASCAR Cup Series, winning at Atlanta Motor Speedway during the 2008 season and the 2015 Cup Series championship. Additionally, he is the only driver to win four straight spring races at Richmond International Raceway (2009–2012), and was also the inaugural winner of the first Cup Series race at Kentucky Speedway, in 2011.

Busch, who began his NASCAR career in 2003, is one of only five drivers that have won a championship in both the Sprint Cup Series and the Xfinity Series, and in 2005 became the 14th of only 28 drivers to win a race in each of NASCAR's three national series. In 2009, Busch became the first driver to win two of NASCAR's top touring series races in the same day (at Auto Club Speedway), followed in 2010 as the first driver to win races in all three of NASCAR's top three touring series in the same weekend (at Bristol), which he would do again at the same track in 2017.

When Busch won the 2009 Crown Royal Presents the Russell Friedman 400 at Richmond International Raceway as he turned 24, he was the second of just three people to ever win on their birthday. His team, Kyle Busch Motorsports, became the first Camping World Truck Series team to win the owners' championship in its first year after recording 8 wins, 16 top 5, and 21 top 10 finishes in 2010.

LaTeX

LaTeX ( LAH-tekh or 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 ("what you see is what you get") 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. A TeX distribution such as TeX Live or MikTeX is used to produce an output file (such as PDF or DVI) suitable for printing or digital distribution. Within the typesetting system, its name is stylised as LaTeX.

LaTeX is widely used in academia for the communication and publication of scientific documents in many fields, including mathematics, statistics, computer science, engineering, chemistry, physics, economics, linguistics, quantitative psychology, philosophy, and political science. It also has a prominent role in the preparation and publication of books and articles that contain complex multilingual materials, such as Tamil, Sanskrit and Greek. LaTeX uses the TeX typesetting program for formatting its output, and is itself written in the TeX macro language.

LaTeX can be used as a standalone document preparation system or as an intermediate format. In the latter role, for example, it is sometimes used as part of a pipeline for translating DocBook and other XML-based formats to PDF. The typesetting system offers programmable desktop publishing features and extensive facilities for automating most aspects of typesetting and desktop publishing, including numbering and cross-referencing of tables and figures, chapter and section headings, the inclusion of graphics, page layout, indexing and bibliographies.

Like TeX, LaTeX started as a writing tool for mathematicians and computer scientists, but from early in its development it has also been taken up by scholars who needed to write documents that include complex math expressions or non-Latin scripts, such as Arabic, Sanskrit and Chinese.LaTeX is intended to provide a high-level language that accesses the power of TeX in an easier way for writers. In short, TeX handles the layout side, while LaTeX handles the content side for document processing. LaTeX comprises a collection of TeX macros and a program to process LaTeX documents. Because the plain TeX formatting commands are elementary, it provides authors with ready-made commands for formatting and layout requirements such as chapter headings, footnotes, cross-references and bibliographies.

LaTeX was originally written in the early 1980s by Leslie Lamport at SRI International. The current version is LaTeX2e (stylised as LaTeX2ε). LaTeX is free software and is distributed under the LaTeX Project Public License (LPPL).

Martin Truex Jr.

Martin Lee Truex Jr. (born June 29, 1980) is an American professional stock car racing driver. He currently competes full-time in the Monster Energy NASCAR Cup Series, driving the No. 19 Toyota Camry for Joe Gibbs Racing. He is the 2017 Monster Energy NASCAR Cup Series champion and a two-time NASCAR Xfinity Series champion; having won the title in 2004 and 2005. His younger brother, Ryan, is a champion in the NASCAR K&N Pro Series East division and currently races in the Xfinity Series, while his cousin Curtis raced for JR Motorsports.

Ryan Newman (racing driver)

Ryan Joseph Newman (born December 8, 1977), nicknamed "Rocket Man", is an American professional stock car racing driver. He currently competes full-time in the Monster Energy NASCAR Cup Series, driving the No. 6 Ford Mustang for Roush Fenway Racing.

Scott Lagasse Jr.

Scott Lagasse Jr. (; born January 31, 1981) is an American professional stock car racing driver. He currently competes part-time in the NASCAR Xfinity Series, driving the No. 4 Chevrolet Camaro for JD Motorsports. He is the son of former sports car and NASCAR driver Scott Lagasse Sr.

He is the owner of Scott Lagasse Racing (TeamSLR), which is located in St. Augustine, Florida. TeamSLR currently operates a Trans Am Road Race program, dirt late model race team, show car program and a NASCAR team. The team is currently building a new headquarters in St. Augustine.

Tejano music

Tejano music or Tex-Mex music (Texan-Mexican music) is various forms of folk and popular music originating among the Mexican-American populations of Central and Southern Texas. With roots in the late 19th century, it became a music genre with a wider audience in the late 20th century thanks to artists such as Selena (often referred to as "The Queen of Tejano"), Mazz, La Mafia, La Sombra, Elida Reyna, Elsa García, Laura Canales, Oscar Estrada, Jay Perez, Emilio Navaira, Esteban "Steve" Jordan, Gary Hobbs, Shelly Lares, Stefani Montiel, David Lee Garza, Jennifer Peña, and La Fiebre.

Tex-Mex

Tex-Mex cuisine (from Texan and Mexican), also known as Mexican American cuisine, is a fusion of Mexican and American cuisines, deriving from the culinary creations of the Tejano people living in Texas. It has spread from border states such as Texas and others in the Southwestern United States to the rest of the country as well as Canada. Tex-Mex is most popular in Texas and neighboring areas, especially nearby states in both the US and Mexico. The Mexican food market is a 41 billion dollar industry within the United States.Tex-Mex is a subtype of Southwestern cuisine found in Arizona, California, Colorado, New Mexico, Nevada, Texas, Oklahoma, and Utah.

Tex Avery

Frederick Bean "Tex" Avery (February 26, 1908 – August 26, 1980) was an American animator, director, cartoonist and voice actor, known for producing and directing animated cartoons during the golden age of American animation. His most significant work was for the Warner Bros. and Metro-Goldwyn-Mayer studios, where he was crucial in the creation and evolution of famous animated characters such as Bugs Bunny, Daffy Duck, Porky Pig, Elmer Fudd, Droopy, Screwy Squirrel, George and Junior, and Chilly Willy.

Gary Morris described Avery's innovative approach:Above all, [Avery] steered the Warner Bros. house style away from Disney-esque sentimentality and made cartoons that appealed equally to adults, who appreciated Avery's speed, sarcasm, and irony, and to kids, who liked the nonstop action. Disney's "cute and cuddly" creatures, under Avery's guidance, were transformed into unflappable wits like Bugs Bunny, endearing buffoons like Porky Pig, or dazzling crazies like Daffy Duck. Even the classic fairy tale, a market that Disney had cornered, was appropriated by Avery, who made innocent heroines like Red Riding Hood into sexy jazz babes, more than a match for any Wolf. Avery also endeared himself to intellectuals by constantly breaking through the artifice of the cartoon, having characters leap out of the end credits, loudly object to the plot of the cartoon they were starring in, or speak directly to the audience.

Avery's style of directing encouraged animators to stretch the boundaries of the medium to do things in a cartoon that could not be done in the world of live-action film. An often-quoted line about Avery's cartoons was, "In a cartoon you can do anything." He also performed a great deal of voice work in his cartoons, usually throwaway bits (e.g. the Santa Claus seen briefly in Who Killed Who?); Avery also voiced Junior from George and Junior, as well as occasionally filling in for Bill Thompson as Droopy.

Tex Ritter

Woodward Maurice "Tex" Ritter (January 12, 1905 – January 2, 1974) was an American country music singer and actor popular from the mid-1930s into the 1960s, and the patriarch of the Ritter acting family (son John and grandsons Jason and Tyler). He is a member of the Country Music Hall of Fame.

Tex Schramm

Texas Earnest Schramm Jr. (June 2, 1920 – July 15, 2003) was the original president and general manager of the National Football League's Dallas Cowboys franchise. Schramm, usually referred to as "Tex", became the head of the Cowboys when the former expansion team started operations in 1960.

Tex Watson

Charles Denton Watson Jr. (born December 2, 1945), better known as Tex Watson, is an American murderer who was a central member of the "Manson family" led by Charles Manson. On August 9, 1969, Watson and other Manson followers murdered pregnant actress Sharon Tate and four other people at 10050 Cielo Drive in Benedict Canyon, Los Angeles. The next night, Watson traveled to Los Feliz, Los Angeles, and participated in the murders of Leno and Rosemary LaBianca, as part of Manson's "Helter Skelter" vision. Watson was found guilty of murder and imprisoned in 1971.

Tex Winter

Morice Fredrick "Tex" Winter (February 25, 1922 – October 10, 2018) was an American basketball coach and innovator of the triangle offense. He was a head coach in college basketball for 30 years before becoming an assistant coach in the National Basketball Association (NBA). He was an assistant

to Phil Jackson on nine NBA championship teams with the Chicago Bulls and the Los Angeles Lakers. Winter was inducted to the Naismith Memorial Basketball Hall of Fame in 2011.

TeX
Macro packages
Alternative TeX engines
Distributions
Community
Related
TeX editors
Open source
Freeware
Retail
Software and libraries
Licenses
Operating system,
corporate and
professional
Other
typefaces
Groups and
people
Publications
Software
Fonts
Literate programming
Algorithms
Other

This page is based on a Wikipedia article written by authors (here).
Text is available under the CC BY-SA 3.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.