Right, but captains wear them when commanding a ship. Even worf wears one when he pretends to be captain of the enterprise in the emissary. I'd hardly think that running the ship in day to day situations would be considered formal?
Some captain's did, some didn't making it seem an optional thing and definitely not a requirement for command being you see subordinates wear them on occasion. If you have a better idea, let's have it.