how to write infinity in latex code example Example: negative infinity in latex \infty is infinity -\infty is negative infinity