Add figure, rp, rt and ruby types.

Fix #48.