Also, take a look at this snippet:http://lilypond.org/doc/v2.15/Documentation/snippets/staff-notation