Key takeaways
- Mathematical typesetting follows conventions for italics, spacing, alignment and line breaks.
- LaTeX and InDesign with MathType are the main print workflows; MathML serves digital editions.
- Equations as images are inaccessible and hard to update; structured math is better for every output.
- Accuracy needs a separate check of equations against the manuscript, not just a general proofread.
Why STEM content needs specialist typesetting
Mathematics, physics, chemistry, engineering and medical titles carry meaning in details that general typesetting can miss. Italic and roman letters mean different things, spacing around operators signals structure, and the alignment of a multi-line derivation shows the reader how one step follows from another. A small error can make an equation wrong, not just untidy.
Conventions that matter
- Variables in italic, functions and units in roman: x is a variable, sin and log are functions, and units such as m or kg are upright.
- Spacing: relations and binary operators have defined spacing; thin spaces separate values from units.
- Alignment: multi-line equations usually align on the relation sign.
- Line breaks: long expressions break before or after relation or operator signs, never inside a fraction or bracket.
- Numbering: equation numbers align consistently and match every cross-reference.
These conventions should be written into the specification so every chapter and every compositor follows them.
Print workflows
LaTeX
LaTeX excels at mathematics. Research monographs and many higher education titles are written or typeset in LaTeX with a publisher's class file, which controls fonts, headings and equation styles. Typesetters clean author source, apply the class, resolve package conflicts and fix layout problems such as overfull lines. Many STEM journals combine these techniques with XML; see how the journal composition workflow works.
InDesign with MathType
Design-heavy textbooks are often composed in InDesign, with equations created in MathType and placed inline or as display objects. Consistent MathType preferences across the project keep sizes, fonts and spacing uniform.
Digital and accessible workflows
For EPUB 3 and HTML, MathML is the preferred format. It keeps equations sharp at any zoom level, makes them searchable and allows assistive technology to read them aloud or present them in braille. Equations can be generated as MathML from LaTeX or MathType sources, and alternative text can be provided where a reading system's MathML support is limited. When the same mathematics must work in EPUB or HTML, read MathML in digital textbooks.
| Output | Typical math format |
|---|---|
| Print PDF | LaTeX or MathType, set as vector text |
| Accessible PDF | Tagged formulas with alternative text |
| EPUB 3 | MathML, with fallback descriptions where needed |
| Web and platforms | MathML rendered in the browser or by a math library |
Checking mathematical accuracy
A general proofread is not enough for STEM. Equations should be checked symbol by symbol against the manuscript by someone who understands the subject. Useful checks include:
- Comparing every display equation with the source, including subscripts, superscripts and signs.
- Checking that variables are consistent between text, equations and figures.
- Verifying equation numbering and every cross-reference to it.
- Confirming units and significant figures in worked examples and answers.
Chemistry, physics and other STEM content
Mathematics is not the only specialist content in STEM titles.
- Chemistry: formulas, reaction equations and arrows follow their own conventions, such as upright element symbols, correct charge and state notation, and properly aligned reaction conditions. Structural diagrams need consistent bond lengths, fonts and labels.
- Physics and engineering: vectors, units and constants need consistent styles, for example bold or arrowed vectors, and upright units with correct spacing.
- Biology and medicine: italic genus and species names, gene and protein naming conventions, and accurate dosage notation.
- Computer science: code listings in a monospaced font, with line numbers where referenced and no automatic hyphenation.
Each of these should be covered in the style sheet, with examples, so compositors and proofreaders apply them the same way.
Preparing STEM manuscripts
Author source quality varies widely. Some authors write in LaTeX with custom macros, others use Word's equation editor or paste images of equations. Before composition:
- Collect all source files, including custom LaTeX macros and packages.
- Convert Word equations to a consistent format, such as MathType or LaTeX, rather than retyping.
- Flag any equations supplied only as images, so they can be recreated and checked.
- Agree notation decisions with the editor, such as vector style or decimal markers.
Common problems to avoid
- Equations converted to images during a format change.
- Mixed fonts or sizes because different tools or settings were used.
- Line breaks inside expressions to make a paragraph fit.
- Renumbered equations without updated cross-references.
How M.S. Corporations helps
Our STEM compositors set mathematics in LaTeX and InDesign with MathType, provide MathML for digital editions where required and check equations against the manuscript before proofs go out. Read more about our typesetting and composition and higher education work, or request a sample review with an equation-heavy chapter.
Related reading: what higher education typesetting involves.