Mlpost.PictureFunctions to manipulate commands as if they were pictures
Pictures are a powerful way to reuse and modify parts of a figure
type t = Command.tThe abstract type of pictures
val tex : string -> tTake a string in Latex format and transform it into a picture
val transform : Transform.t -> t -> tApply a transformation to a picture
Get the bounding box of a picture, according to its corners and supplied padding dx and dy.
val corner : Command.position -> t -> Point.tclip pic path limits pic to the cyclic path path; all elements outside of path are cut off.
Predefined Transformations
val escape_latex : escaped list -> string -> string