Add options to specify line height and margins