ABSTRACT

Typesetting is the ability to place elements of a document on a page according to principles that make the pages as easy to read and understand as possible. It is surprisingly difficult to do that—a typesetter has to decide how best to break paragraphs into lines, how to hyphenate words, how much space to leave for footnotes, how to prepare indexes and the other detritus of scholarly publishing, and how to provide the optimum space between elements on the page (among many other things). The spacing issue is particularly critical for technical documents. Formulas make extensive use of arcane symbols that have different appearances and spacing depending on context. Consider, for example, how the position and size of the ordinary numeral “2” changes in 2 x x 2 e − x 2 https://s3-euw1-ap-pe-df-pch-content-public-p.s3.eu-west-1.amazonaws.com/9780203710012/aa3884bb-b565-45f4-9d9d-a4630d0422bf/content/eq7.tif"/> and how the spacing surrounding minus sign changes in − x a n d x − y . https://s3-euw1-ap-pe-df-pch-content-public-p.s3.eu-west-1.amazonaws.com/9780203710012/aa3884bb-b565-45f4-9d9d-a4630d0422bf/content/eq8.tif"/> Other symbols may change depending upon whether the expression appears in text ∫ 0 π 2 x d x https://s3-euw1-ap-pe-df-pch-content-public-p.s3.eu-west-1.amazonaws.com/9780203710012/aa3884bb-b565-45f4-9d9d-a4630d0422bf/content/eq9.tif"/> or display mode: ∫ 0 π 2 x d x . https://s3-euw1-ap-pe-df-pch-content-public-p.s3.eu-west-1.amazonaws.com/9780203710012/aa3884bb-b565-45f4-9d9d-a4630d0422bf/content/eq10.tif"/>