1 | initial version |
Well, instead of adding the {} by yourself why don't you let Sage do it instead ? You could write
... $A = \sage{Set(A)}$
instead of
... $A = \{ \sage{A} \}$
And
$\sage{Set(I.groebner_basis())}$
instead of
$\{ \sage{I.groebner_basis()} \}$