Taught Transition how to format overrides.

This is an intermediate step that helps to teach TextSpanner how to format
Transition objects.