Initial port of measure styles

Created a git hub issue for this.