how to write partial derivatives in latex code example Example: latex partial derivative \frac{partial f}{partial x}