Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

display square of derivative in LaTeX needs parenthesis

Using %display latex

diff(x,t)^2 is displayed in LaTeX as

\frac{\partial}{\partial t}x^2

This is confusing when looking at the LaTeX output. It should have an extra set of parenthesis

(\frac{\partial}{\partial t}x)^2

Is there a way to get this to display correctly, or to use \frac{\partial x}{\partial t}?