Format math.md