Improve markup for piecewise defined functions

Refs #189.