typing the limit function in latex code example Example: how to do limits in latex $\lim_{x \to +\infty} f(x)$