answered 8 years ago
The following may help:
P.<J,K>=LaurentPolynomialRing(QQ,2) u1=J/K latex(u1)
it gives what you need J K^{-1}.