# drawParliament2Dtikz -- visualises the parliament of polytopes for a vector bundle on a toric surface using TikZ

## Synopsis

• Usage:
drawParliament2Dtikz(E,file)
• Inputs:
• file, , containing name of file, where picture will be written
• Consequences:
• The file with name file will contain a TikZ picture, ready to be included into a TeX file.

## Description

Given a toric vector bundle in Klyachko's description on a toric surface, drawParliament2Dtikz writes to a file a TikZ picture visualising the parliament. Additionally, the picture may contain also information about the cohomology of the vector bundle as computed by cohomology from the ToricVectorBundle package and the toric Chern character as computed by toricChernCharacter and graphToricChernCharacter.

Extending the example from parliament by the command

i5 : drawParliament2Dtikz(E,p,"picture.tikz")
produces the file picture.tikz. Embedded into a TeX file, this finally leads to a nice picture of the parliament.

By setting the options DrawChernCharacter and DrawCohomology to true or false, one can decide whether the picture also includes information about the cohomology or toric Chern character, respectively. By default, both are set to true.