Added formula to linetypes.