Macaulay2 » Documentation
Packages » CellularResolutions :: texMath(CellComplex)
next | previous | forward | backward | up | index | toc

texMath(CellComplex) -- Describes a cell complex or cell using TeX

Description

This method functions mostly as net(CellComplex) and net(Cell) does. The primary difference in the output is that the output is formatted for TeX.

i1 : R = QQ[x,y];
i2 : v1 = newSimplexCell({},x);
i3 : v2 = newSimplexCell({},y);
i4 : e1 = newSimplexCell({v1,v2},x);
i5 : e2 = newSimplexCell({v1,v2},y);
i6 : f = newCell({(e1,1),(e2,-1)},x*y);
i7 : texMath cellComplex(R,{f})

o7 = \textrm{Cell complex over }R\textrm{ of dimension }2\textrm{ with
     }5\textrm{ total cells }
i8 : texMath f

o8 = \textrm{Cell of dimension }2\textrm{ with label }x\,y
i9 : X = cellComplex(R,{f});
i10 : texMath X

o10 = X

See also

Ways to use this method:


The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/CellularResolutions/doc.m2:1667:0.