Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unrecognised TeX code (2)

Why is the following latex code correctly recognised by the view()-function (for outputting results) but not by the text()-function (for inclusion in a plot)?

Dy='$\\begin{align}\\Delta y&=y_2-y_1 \\\\ &=m\\cdot\\Delta x \\end{align}$'

view(Dy) gives a correctly formatted latex formula but text(Dy,...) returns an error message.