how to use overleaf to insert equations limit code example Example 1: limit in latex $\lim_{x\to\infty} f(x)$ Example 2: integral latex $\int_0^{2a}{\cos(x)dx}$