%% Generated by lilypond-book.py %% Options: [alt=[image of music],printfilename,indent=0\mm,texidoc,line-width=160\mm] \include "lilypond-book-preamble.ly" % **************************************************************** % Start cut-&-pastable-section % **************************************************************** \paper { #(define dump-extents #t) indent = 0\mm line-width = 160\mm } \layout { } % **************************************************************** % ly snippet: % **************************************************************** \sourcefilename "instrument-name-grandstaff.ly" \header { texidoc = "@cindex Instrument Name Grandstaff You can have a name for the whole @code{GrandStaff} in addition to individual @code{Staff}s. " } \score { \new GrandStaff << \new Staff = "treble" { \set GrandStaff.instrument = "Violini " \set Staff.instrument = " vn I" { c''4 }} \new Staff = "bass" { \set Staff.instrument = " vn II" c''4 }>> \layout { ragged-right = ##t \context { \GrandStaff \consists "Instrument_name_engraver" } }} % **************************************************************** % end ly snippet % ****************************************************************