# 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.

As far as I know, the `text` command passes its arguments to matplotlib, so matplotlib handles any LaTeX code. Perhaps it doesn't understand the `align` environment?

That could well be the case. Would explain too why ':' (in latex code) is rendered as '.' in text(), but not in view().