Typesetting TeXniques
2025
Displaying within the margins
·409 words·2 mins
MSP Staff
math displays
math environments
alignments
line breaks
What to do when the width of an equation exceeds the width of a page.
2024
Fine-tuning a TikZ diagram
·314 words·2 mins
MSP Staff
fine points of typesetting
commutative diagrams
tikz
An MSP production editor puts the final polish on a pair of commutative diagrams.
Decluttering, efficiently
·349 words·2 mins
MSP Staff
math displays
math environments
regular expressions
vim
Small changes to cluttered, difficult-to-parse math displays leave them tidy and easy to digest.
Norm notation
·167 words·1 min
MSP Staff
fine points of typesetting
regular expressions
vim
math delimiter sizing
Get within epsilon of perfect typesetting with better code for norm notation.
Stay away from {eqnarray}
·352 words·2 mins
MSP Staff
math environments
math displays
TeX glue
Here are three examples of, and solutions for, bad behavior of the {eqnarray} environment: overwritten equation numbers, incorrect equation references, and bad or inconsistent spacing.