tropical.lib
LIB "tropical.lib"; ring r=(0,t),x,dp; texNumber((3t2-1)/t3); ==> \tfrac{-1+3\cdot t^{2}}{t^{3}}