Hi,

Does anyone have a clever way of stopping STACK (well, Maxima) replacing 2*sqrt(2) with 2^(3/2)? [Similarly for 3*sqrt(3) etc ]

A search found the suggestion of

matchdeclare(n_, integerp,m_, integerp)$

tellsimp(n_*sqrt(m_), n_*sqrt(box(m_)))$

But,

1) STACK doesn't like that.

2) Even it if did, the tex output is "3\,\sqrt{\boxed{3}}" and in Maxima I'm failing to change the tex render of box(...)

Thanks,

Tim