To distinguish between the two, the term TeX engine is used to differentiate between an executable TeX program and the typesetting language. “TeX” is, somewhat confusingly, both the name of an executable program and the name of a typesetting language. Consequently, it is worth, briefly, clarifying our use/meaning of “TeX” within the context of this series. A short note: Using “TeX” not LaTeXĪs discussed in the article What’s in a Name: A Guide to the Many Flavours of TeX a wide range of terms are used to reference/describe TeX, LaTeX and their derivatives. In Part 6 we use some detailed graphics to explain and explore the exact meaning of macro expansion and the consequences of TeX’s tokenization of macro arguments prior to feeding them into a macro’s. Using extensive diagrams generated with a specially modified version of TeX, we explore the specialized tokens that TeX uses to identify and process a user’s macro arguments. This article explores, in detail, how TeX uses token lists to store macro definitions. Part 5: Token lists and TeX’s internal macro storage We then explore a range of examples to demonstrate the role and purpose of a macro’s as a “token template” which can be constructed through the use of tokens acting as delimiters. We introduce and use the following “framework” for describing the structure of macros: Some of the article is quite low-level material which can be skipped on a first reading. We explore how TeX stores and retrieves information about commands: command codes, command modifiers and survey a few internal variables that TeX uses to store information about items read-in from the input. This article takes an in-depth look at how TeX recognizes and process commands detected in the input.
#Overleaf jummp code#
We explore examples of TeX’s use of category codes to create character tokens and how TeX recognizes and processes commands by using category code 0 (“escape character”).
#Overleaf jummp series#
Through a series of graphics we use the time-tested analogy of TeX having “eyes” with which to read (scan) its input. Part 2: Reading input through TeX’s “eyes” This article examines the reasoning behind TeX’s concept of category codes: what they are and how TeX uses them to filter its input into content for typesetting and commands to be executed. Part 1 Part 2 Part 3 Part 4 Part 5 Part 6 Navigation barĮach article has the following navigation bar before and after the text so that you can quickly jump to another article in the series:
#Overleaf jummp software#
However, because TeX engines are such complex software programs we cannot hope to cover everything but we have tried to address the most important, core, features of TeX’s macro-processing capabilities.
![overleaf jummp overleaf jummp](https://images.ctfassets.net/nrgyaltdicpt/7hPQNkcwAd27kOedrGlXm6/c70a084e480e9a4200a4d633026189b6/tabu.png)
I almost always use the first two methods for typesetting basic math. $$ is equivalent to \, however, the latter is now strongly preferred. There are equivalent ways of entering math mode for each of these methods, for example, $$. Goes to a newline and center equation with label The following table lists three methods and their usage of declaring math mode. You have already been using math mode unknowingly by using the \begin commands. $, where the text within the dollar signs is in the math mode environment. There are a few ways to enter math mode, however the most common is $. Paragraph mode is the default mode for the document environment and does not need to be called explicitly. There is also a third mode called LR mode, however, this is rarely used by beginners and furthermore, is usually implicitly entered with other commands. This is achieved by the use of two operating modes, paragraph and math mode. for the sake of simplicity, LaTeX separates the tasks of typesetting mathematics and typesetting normal text. For many people the most useful part of LaTeX is the ability to typeset complex mathematical formulas.