An api to turn a tex expression into a graphic.