Beat hints for rhythm

This snippet shows how to print beat hints above a rhytmic staff.