Ask Your Question

# Revision history [back]

### Extra curly braces in latex() command?

Hi,

I am trying to copy latex code generated by Sage to Lyx. It seems Sage generates additional curly braces around (). For example, with:

sage: latex((alpha^2-alpha)*theta)


I get:

{\left(\alpha^{2} - \alpha\right)} \theta


If I paste this code to Lyx math, then there are unnecessary {} around the () showing. Maybe it's LyX's problem since if I paste it to an .tex source and compile it then it does not show. However I already have a long document in LyX so it would be great if there is any way to get rid of {}.

Thank you!