Skip to main content

Typesetting TeXniques

2024

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.
Created by potrace 1.16, written by Peter Selinger 2001-2019
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.
Created by potrace 1.16, written by Peter Selinger 2001-2019 (then hand-edited)
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.