|   | 1 |  initial version  | 
The following may help:
P.<J,K>=LaurentPolynomialRing(QQ,2)
u1=J/K
latex(u1)
it gives what you need J K^{-1}.
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.