Minimal LaTeX-ish replacement