|
D.13.4.18 texNumber
Procedure from library tropical.lib (see tropical_lib).
- Usage:
- texNumber(f); f poly
- Return:
- string, tex command representing leading coefficient of f using \frac
Example:
| LIB "tropical.lib";
==> Welcome to polymake version
==> Copyright (c) 1997-2015
==> Ewgenij Gawrilow, Michael Joswig (TU Darmstadt)
==> http://www.polymake.org
ring r=(0,t),x,dp;
texNumber((3t2-1)/t3);
==> \tfrac{-1+3\cdot t^{2}}{t^{3}}
|
|