Generate ASCII-art representations of mathematical equations