Beautify layout of prescription