create styles when a character is defined