See: http://angg.twu.net/genericfigures.html