I would like to have the expression
$$\rho\!\begin{pmatrix}a&b\\ c & d\end{pmatrix}=1$$
as a legend of a plot. When I try (code is adapted from this answer)
Plot[x^2, {x, 0, 1}, PlotLegends -> Placed[{Text[Style[ToExpression["\\rho\\left({{1/(p-1),1/(p-1)},{2/(q-1),0}}\\right)=1",TeXForm, HoldForm], Bold]]}, {.4, .8}]]
I obtain the following:

which is not what I want...
I tried using MaTex but had trouble installing it (in the configuration step)...
Is there a simple way to fix my issue?




ToString@TeXForm[...]is not necessary. This is done automatically by MaTeX. Just writingplinstead is sufficient. – Szabolcs Jul 06 '17 at 04:12ToStringI think, since I needed to doStringReplacelater on. – Nasser Jul 06 '17 at 04:17