lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How to center an instrument name between two clefs


From: Bertalan Fodor
Subject: RE: How to center an instrument name between two clefs
Date: Sat, 10 Jan 2004 23:21:14 +0100

I think the trick is to use the property PianoStaff.instrument.
See my template:

staffPiano = {  
        \new PianoStaff {
                \property PianoStaff.midiInstrument = #"acoustic grand"
                \property PianoStaff.instrument = #"Piano"
        <<
                \new Staff {
                        \clef treble
                        \notes { c }
                }
                \new Staff {
                        \clef bass
                        \notes { c }
                }
        >>
        }
}

\score {
        \staffPiano
}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]